- You can either install mkdocs from pip or from a virtual environment.
- It's highly recommended to use a virtual environment and not pip, so that the dependencies of this project won't mess with your system-wide python packages / modules. You still need to use pip to install pipenv though ;).
- Personnally I am using pipenv, which you install on openSUSE distributions with:
pip3 install --user pipenv
. Then you'll need to add~/.local/bin
to your PATH. The best method for that depends on your shell. - Then
- clone this repo where you want in your home folder
cd
to it and runpipenv install
to install the dependencies, and thenpipenv shell
to run the environment.- finally
cd
toproject
and run youmkdocs
commands from there, i.e.mkdocs build
to generate the web content andmkdocs serve
to serve it (by default at http://127.0.0.1:8000/).
- Available commands & documentation on mkdocs: https://www.mkdocs.org/
- The default branch -- the working branch -- is not
main
ormaster
butdev
. That's the branch where day-to-day work should happen. master
enforces the some basic rules, bear them in mind if something is not working as expected:- Require pull request reviews before merging
- Require status checks to pass before merging
- Require branches to be up to date before merging