Thank you for your interest in contributing to sphinx-mcp. Pull requests are welcome. However, for major changes, please open an issue first to discuss what you would like to change.
Install uv and just, then install all dependency groups:
just install-allEnable pre-commit hooks by running the following in the directory where you cloned this project:
just install-pre-commit-hooksRun just --list to see all available recipes. The most common ones:
just format # format the code
just lint # run all pre-commit hooks against all files
just test # run the test suite
just docs-html # build the HTML documentation
just docs-pdf # build the PDF documentation and copy it to the project root
just upgrade-dependencies # upgrade locked dependencies to their latest compatible versions
just vulnerability-scan # scan dependencies for known vulnerabilities with osv-scannerTo build the PDF documentation with just docs-pdf, you will also need a LaTeX distribution
providing xelatex and latexmk (e.g. texlive-xetex and texlive-latex-base on Debian/Ubuntu),
plus the Noto Sans JP font installed on your
system, since docs/conf.py configures xelatex as the LaTeX engine with Noto Sans JP as the main
font.
To run just vulnerability-scan, you will also need osv-scanner
installed on your system.
By contributing to this project, you agree to the following:
- License: Your contributions will be licensed under the project's BSD 3-Clause License.
- Developer Certificate of Origin (DCO): To ensure a clear chain of ownership, all commits must be "signed-off." This is enforced on pull requests by the
dco.ymlworkflow.
By adding Signed-off-by: Your Name <email@example.com> to your commit message (git commit -s), you certify that you have the right to submit the work under the terms of the Developer Certificate of Origin 1.1.
To protect your privacy, you may use your GitHub-provided no-reply email address or any other alias for your sign-off.
If you use the GitHub-provided no-reply email, every signed-off commit will look similar to Signed-off-by: Real Name <username@users.noreply.github.com>.
Contributors are added to CONTRIBUTORS.md.