- Verify python 3 and python-pip are installed.
python3 --version pip3 --version
-
If you intend to contribute changes and you do not have commit privileges for the openboxes/openboxes project, create a fork of the repository and use that. For details, see Contributing.
-
Clone the repository.
git clone git@github.com:openboxes/openboxes.git cd openboxes -
Create a Python environment in this cloned repo.
pip3 install virtualenv mkdir python virtualenv python # create a python env in the python subdir with bin, lib subdirs source python/bin/activate # configure shell session for this python env which pip # confirm that we are now running in the virtual env
-
Install required mkdocs dependencies in this env.
pip install -r docs/requirements.txt
- Run the mkdocs server
mkdocs serve --livereload
- Open docs in browser
- Create a new branch for your documentation changes
git checkout -b docs/1234-fix-typoTip
Branching naming should follow convention above. If possible, use the GitHub issue number and summary in your branch name.
- Make documentation changes in an editor of your choice
Tip
If adding a new page, remember to add a link to it somewhere in the mkdocs.yml file. Otherwise, you'll encounter
the following warning and won't be able to navigate to the page:
INFO - The following pages exist in the docs directory, but are not included in the "nav" configuration:
- xyz.md
- ...
- Commit changes to branch with meaningful commit message
git commit -m "#1234: fixed typo in docs"
- Push changes to GitHub
- Create a pull request
- Assign
jmirandaas a reviewer

