Skip to content

Sphinx

The Python documentation generator.

Mostly friendly. Welcome, with extra rules.

Homepage Repository

AI-assisted pull requests are accepted if AI use is disclosed in detail and the author understands and can explain the code. Autonomous agents are not allowed, and AI may not write descriptions, comments or issues except for translation or grammar fixes.

Policy by area

Code contributionsPatches, pull requests and other changes written with AI tools.
Mostly friendly
  • AI use must be disclosed
  • Contributor takes full responsibility
  • Output must be license-compatible
  • No autonomous agents
Issues & bug reportsBug reports, security reports and issues found or written with AI tools.
Unfriendly
  • Only minor help (autocomplete, grammar)
AI-written textPull request descriptions, issue comments and summaries written by AI.
Unfriendly
  • Only minor help (autocomplete, grammar)

In their own words

Code contributions

You must disclose whether AI has been used to assist in the development of your pull request.

Sphinx AI Policy

It is not acceptable to submit a patch that you cannot understand and explain yourself.

Sphinx AI Policy

Code generated by AI may infringe on copyright and it is the submitter's responsibility to not infringe.

Sphinx AI Policy

The use of an AI agent that writes code and then submits a pull request autonomously is not permitted.

Sphinx AI Policy

Issues & bug reports

In explaining your contribution, do not use AI to automatically generate comments, pull request descriptions, or issue descriptions.

Sphinx AI Policy

AI-written text

When interacting with developers (forums, discussions, issues, pull requests, etc.) do not use AI to speak for you, except for translation or grammar editing.

Sphinx AI Policy

Sources

  • Sphinx AI Policygithub.com/sphinx-doc/sphinx/blob/master/doc/internals/ai-policy.rstSnapshot 9 Oct 2026