wjimenez5271 / docs-1

Home Page:https://docs.harvesterhci.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docs.harvesterhci.io

This website is built using Material for MkDocs, a modern static website generator.

Installation

Please refer to this doc to set up your local development environment.

Local Development

Edit mkdocs.yml to disable strict mode:

# Set to false for local docs development
strict: false

And run the builtin development server:

mkdocs serve

# or run the server on certain IP and port:
mkdocs serve -a <IP>:<PORT>

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

Build

mkdocs build

This command generates static content into the build directory and can be served using any static contents hosting service.

Deployment

https://squidfunk.github.io/mkdocs-material/publishing-your-site/

mkdocs gh-deploy --force

If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.