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 3 October 2019. It needs to be reviewed again on 4 October 2019 by the page owner #docs-repos .
This page was set to be reviewed before 4 October 2019 by the page owner #docs-repos. This might mean the content is out of date.