We welcome contributions to the qamomile documentation! This guide will help you get started with contributing to our docs using Jupyter Book.
Before you begin, ensure you have the following installed:
- Python 3.x
- Git
- Jupyter Book (
pip install jupyter-book
)
- Fork the qamomile repository on GitHub.
- Clone your fork locally:
gh repo clone username/Qamomile cd Qamomile
- Create a virtual environment and activate it:
poetry install poetry shell
- Navigate to the
docs/
directory in your local repository. - Find the appropriate Markdown (
.md
) or Jupyter Notebook (.ipynb
) file you want to edit, or create a new one. - Make your changes using your preferred text editor.
- If you're adding new pages, update the
_toc.yml
file to include your new page in the table of contents.
To preview your changes:
- From the
docs/
directory, run:jupyter-book build .
- Open
_build/html/index.html
in your web browser to view the built documentation.
- Commit your changes:
git add . git commit -m "Brief description of your changes"
- Push to your fork:
git push origin main
- Create a pull request from your fork to the main qamomile repository on GitHub.
- Use clear, concise language.
- Follow the existing documentation structure and formatting.
- Include code examples where appropriate, especially when explaining qamomile's features or API.
- Use proper Markdown syntax for headings, lists, code blocks, etc.
- When documenting code, follow the docstring style used in the qamomile project.
Our documentation is organized as follows:
index.md
: The main landing pagequickstart.md
: Guide for new usersapi/
: API reference documentation for qamomile.tutorial/
: Usage examples and tutorialscontribute.md
: This guide
Feel free to suggest improvements to this structure if you think it can be made more intuitive.
If you have any questions or need assistance while contributing, please don't hesitate to:
- Open an issue on GitHub
- Reach out to the maintainers via [contact method]
Thank you for your interest in improving qamomile's documentation!