Contributing to docs
Installation Setup
-
Fork and Clone the repo -
-
Change directory to r-dev-env
-
Create virtual environment using python venv
-
Now activate the virtual environment
-
Now install libraries and dependencies for mkdocs
-
After setting up the virtual environment and installing necessary libraries, navigate to the root directory of the project where the
mkdocs.yml
file is located. -
To start the local development server and preview changes, run the following command:
This will compile the documentation and serve it locally. You can access the documentation by opening a web browser and navigating to http://localhost:8000. -
Edit Documentation: Make changes to the documentation content files located in the
docs
directory. You can use Markdown syntax for formatting. -
Preview Changes: As you make changes, the local development server will automatically detect them and update the preview in real-time. Refresh your browser to see the changes.
N.B. There is a known issue with mkdocs not alwayds finding Cairo. The issue and suggested fixes are on the MkDocs Image Processing page.