Skip to main content
Table of contents

Preview your documentation

You can start a local web server to preview your documentation site.

  1. Run the following from inside your project folder:

    bundle exec middleman server

    This command is not the same as bundle exec middleman build, which creates a static HTML file for each file in your documentation project source folder.

  2. Go to the local web server at http://localhost:4567/ to preview your documentation.

  3. Run Ctrl-C to stop the preview web server.

This page was last reviewed on 1 July 2020. It needs to be reviewed again on 1 July 2021 by the page owner #tech-writers .
This page was set to be reviewed before 1 July 2021 by the page owner #tech-writers. This might mean the content is out of date.