Overview
Building you environment¶
Documentation for this project is built using mkdocs-material. To contribute to the documentation you will need to create a separate python environment. I suggest that you call this .env_mkdocs
to avoid confusion with the dbt environment. Create your environment and install the required packages as shown below:
Important
The commands below assume that you have already performed the step 2
steps in the Developer Guide. If you have not done this yet, please do so before proceeding.
Create and activate the Python environment
Updating the documentation¶
The docucementation source is held in the docs
directory. To update the documentation you will need to edit the markdown files in this directory. In order to understand the syntax used for the markdown be sure to review the reference section for mkdocs-material. Once you have made your changes you can build the documentation using the command below:
To view the documentation locally you can use the command below:
Tip
The mkdocs serve
command will start a local web server that will allow you to view the documentation in your browser. The server will also automatically rebuild the documentation when you make changes to the source files.
Before publishing the documentation you should ensure that the documentation is up to date and that the changes are correct. You should also pull the latest from the repository to ensure that you are not overwriting someone else's changes. Do this by running the command below:
You can now publish the documentation to the repository by running the command below: