How to install Mkdocs
Install Python
Install Python (and many libraries) via Anaconda
Install Mkdocs
- Download
requirements.txt. - Launch
Anaconda Prompt. -
Execute:
pip install virtualenv virtualenv venv source venv/bin/activate pip install -r requirements.txt -
It should install a few packages, e.g.:
- mkdocs
- mkdocs-awesome-pages-plugin
- mkdocs-localsearch
- mkdocs-material
- mkdocs-material-extensions
- mkdocs-print-site-plugin
- pymdown-extensions
More info on https://www.mkdocs.org
Create a test project with MkDocs
In a terminal:
cd Desktopmkdocs new TestProjectcd TestProjectmkdocs serve
Open http://localhost:8000/ in your browser.
- Edit
mkdocs.ymlfile. - Add Markdown files in
docs/folder - Add sub-folder in
docs/folder - They should appear automatically in http://localhost:8000/
Work on SimStadt documentation
- Install Markdown editor
- Install MkDocs + Plugins
- Get simstadt_doc
- Create SSH key if needed
- Send it to Eric
git clone git@simstadt_server:simstadt_doc