Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 772 Bytes

deploy.md

File metadata and controls

33 lines (22 loc) · 772 Bytes

Deploy

Similar to GitBook, you can deploy files to GitHub Pages or VPS.

GitHub Pages

There're three places to populate your docs for your Github repository:

  • docs/ folder
  • master branch
  • gh-pages branch

It is recommended that you save your files to the ./docs subfolder of the master branch of your repository. Then select master branch /docs folder as your Github Pages source in your repositories' settings page.

github pages

!> You can also save files in the root directory and select master branch.

VPS

Try following nginx config.

server {
  listen 80;
  server_name  your.domain.com;

  location / {
    alias /path/to/dir/of/docs;
    index index.html;
  }
}