Contributions to HostYourDocs are highly appreciated.
When participating in this project, please treat other people respectfully. Generally the guidelines pointed out in the Python Community Code of Conduct are a good standard we aim to uphold.
We'd like to hear from you if you are using HostYourDocs
.
For suggestions and feature requests feel free to submit them to our issue tracker.
Found a bug? Please report back to our issue tracker.
If possible include:
- Operating system name and version
- python and
HostYourDocs
version - Steps needed to reproduce the bug
WARNING - Instructions Incomplete
Clone the HostYourDocs
repository with git
and enter the directory:
git clone [email protected]:DigonIO/hostyourdocs.git
cd hostyourdocs
Create and activate a virtual environment:
python -m venv venv
source ./venv/bin/activate
Install the project with the development requirements and install pre-commit for the repository:
pip install -e .[dev]
python -m pre_commit install
To test changes made locally on your cloned repository, you can use the build_docker.sh
helper script to build updated docker images for your docker compose project:
./script/build_docker.sh
If you use the script for local development, use hostyourdocs
instead of the
registry.gitlab.com/digonio/hostyourdocs
url and local
for the <TAG>
in the docker-compose.yaml
file.
We are using Sphinx with numpydoc formatting.
To build the documentation locally, run:
python -m sphinx -b html doc/ doc/_build/html