This is the source for the Tildagon Badge Documentation. Contributions are welcome!
Run these commands to set up a Python virtual environment and install the required packages for the project in the project folder:
pip install pipenv
pipenv installYou only need to run this command once. To activate the virtual environment, run:
pipenv shellIf you open a new terminal window, navigate back to the project folder and activate the virtual environment again.
To serve the docs locally on your machine, run the following command:
mkdocs serveTo generate the full HTML version of the docs run:
make build-prodYou can serve the resulting docs with:
python3 -m http.server 9000 --directory publicTo run linters locally:
Install markdownlint-cli and ensure you have run pipenv install and pipenv activate.
Then run the following commands to lint the markdown files and the python code snippets:
make lint-markdown
make lint-pyWant to improve our documentation? Please do! You can open a PR and we'll take a look.
Resources: