This repository is the document center for the documents releasing to customers.
This repository is moved to Github: https://github.com/kneron/document_center.
- Create a
.md
markdown file underdocs/
or its subfolder. Edit the content. - Add it under
nav
inmkdocs.yml
so that users can access it from the left-side menu. - Run a testing server to check if it looks good. (Ypu can check the following sections on how to setup test environment.)
- Commit your change and submit a pull request. Remember to assign it to a maintainer.
First, you need to set up your Github account. Then, you just need to run the following command to reset the remote:
git remote set-url origin [email protected]:kneron/document_center.git
After that, we recommend you switch to master branch and use git pull
to update the local master branch before your start your work.
- Install Python3 and corresponding pip.
- Install dependencies with
pip install -r requirements.txt
. The file is under the project root folder. - Run
mkdocs serve
to host a debug website locally. If the commandmkdocs
is not found, you may want to runpython3 -m mkdocs serve
. - Use the browser to visit your local website. And you can check how your modification looks like on the website yourself.
- Install Python3 and corresponding pip.
- Install dependencies with
pip install -r requirements.txt
. The file is under the project root folder. - Run
mkdocs build
to build the static web pages. If the commandmkdocs
is not found, you may want to runpython3 -m mkdocs build
. - The generated website is under
site
folder. Just deploy it as a static website.