Skip to content

Docusaurus

Static site generator for documentation websites.

Mostly friendly. Welcome, with extra rules.

Homepage Repository

Docusaurus welcomes AI tools for authoring pull requests, but contributors must disclose significant AI-generated code, take responsibility for every line, and seek prior approval for significant changes. Low-effort, entirely AI-generated PRs are discouraged and may be closed.

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
Issues & bug reportsBug reports, security reports and issues found or written with AI tools.
No policy
AI-written textPull request descriptions, issue comments and summaries written by AI.
No policy

What is allowed and what is not

Code contributions

  • Autocomplete · Allowed with conditions

    AI tools for authoring PRs are welcome, including inline completion, but contributors must disclose significant AI-generated portions and remain accountable for every line.

    • Disclose AI use: Indicate in the PR description when a significant portion of the code is AI-generated
    • Take full responsibility: You are responsible for the code, can explain every line, ensure tests pass, and address reviews
    3 quotes

    We welcome the use of AI tools for authoring PRs, and we love to see people pushing the boundaries of AI capabilities.

    Contributing to Docusaurus

    - **Be transparent**: If a significant portion of your code is AI generated, please indicate that in your PR description.

    Contributing to Docusaurus

    - **Be accountable**: You are responsible for the code you submit, regardless of whether it was generated by AI or written by you. You should be able to explain every line of the code, ensure all tests pass, and address our reviews.

    Contributing to Docusaurus
  • Small fixes · Allowed with conditions

    Small AI-written changes are welcome under the same transparency and accountability etiquette.

    • Disclose AI use: Indicate in the PR description when a significant portion of the code is AI-generated
    • Take full responsibility: You are responsible for the code, can explain every line, ensure tests pass, and address reviews
    3 quotes

    We welcome the use of AI tools for authoring PRs, and we love to see people pushing the boundaries of AI capabilities.

    Contributing to Docusaurus

    - **Be transparent**: If a significant portion of your code is AI generated, please indicate that in your PR description.

    Contributing to Docusaurus

    - **Be accountable**: You are responsible for the code you submit, regardless of whether it was generated by AI or written by you. You should be able to explain every line of the code, ensure all tests pass, and address our reviews.

    Contributing to Docusaurus
  • Large or generated changes · Allowed with conditions

    Substantial AI-generated PRs are allowed only with prior communication and approval in an issue; unsolicited 1k LOC AI-generated PRs are criticized.

    • Disclose AI use: Indicate in the PR description when a significant portion of the code is AI-generated
    • Take full responsibility: You are responsible for the code, can explain every line, ensure tests pass, and address reviews
    • Ask maintainers first: Significant changes require prior communication and approval from the team in an issue
    4 quotes

    We welcome the use of AI tools for authoring PRs, and we love to see people pushing the boundaries of AI capabilities.

    Contributing to Docusaurus

    - **Be transparent**: If a significant portion of your code is AI generated, please indicate that in your PR description.

    Contributing to Docusaurus

    - **Be accountable**: You are responsible for the code you submit, regardless of whether it was generated by AI or written by you. You should be able to explain every line of the code, ensure all tests pass, and address our reviews.

    Contributing to Docusaurus

    - **Be reasonable**: Sometimes we receive 1k LOC PRs that are obviously AI-generated and implement unsolicited features. Please note that significant changes require prior communication and approval from the team in the form of an issue.

    Contributing to Docusaurus
  • Mechanical changes · Allowed with conditions

    AI-assisted repetitive edits are welcome, provided contributors disclose significant AI-generated portions and can explain every line.

    • Disclose AI use: Indicate in the PR description when a significant portion of the code is AI-generated
    • Take full responsibility: You are responsible for the code, can explain every line, ensure tests pass, and address reviews
    3 quotes

    We welcome the use of AI tools for authoring PRs, and we love to see people pushing the boundaries of AI capabilities.

    Contributing to Docusaurus

    - **Be transparent**: If a significant portion of your code is AI generated, please indicate that in your PR description.

    Contributing to Docusaurus

    - **Be accountable**: You are responsible for the code you submit, regardless of whether it was generated by AI or written by you. You should be able to explain every line of the code, ensure all tests pass, and address our reviews.

    Contributing to Docusaurus
  • Tests · Allowed with conditions

    AI-written tests and benchmarks are welcome under the disclosure and accountability etiquette.

    • Disclose AI use: Indicate in the PR description when a significant portion of the code is AI-generated
    • Take full responsibility: You are responsible for the code, can explain every line, ensure tests pass, and address reviews
    3 quotes

    We welcome the use of AI tools for authoring PRs, and we love to see people pushing the boundaries of AI capabilities.

    Contributing to Docusaurus

    - **Be transparent**: If a significant portion of your code is AI generated, please indicate that in your PR description.

    Contributing to Docusaurus

    - **Be accountable**: You are responsible for the code you submit, regardless of whether it was generated by AI or written by you. You should be able to explain every line of the code, ensure all tests pass, and address our reviews.

    Contributing to Docusaurus
  • Build and CI · Allowed with conditions

    AI-written build, CI or packaging code is welcome under the disclosure and accountability etiquette.

    • Disclose AI use: Indicate in the PR description when a significant portion of the code is AI-generated
    • Take full responsibility: You are responsible for the code, can explain every line, ensure tests pass, and address reviews
    3 quotes

    We welcome the use of AI tools for authoring PRs, and we love to see people pushing the boundaries of AI capabilities.

    Contributing to Docusaurus

    - **Be transparent**: If a significant portion of your code is AI generated, please indicate that in your PR description.

    Contributing to Docusaurus

    - **Be accountable**: You are responsible for the code you submit, regardless of whether it was generated by AI or written by you. You should be able to explain every line of the code, ensure all tests pass, and address our reviews.

    Contributing to Docusaurus
  • Other code contributions rule · Discouraged

    Entirely AI-generated PRs submitted as low-effort contribution farming are discouraged, and maintainers may close PRs they deem unproductive or low-effort.

    2 quotes

    However, we are aware that **many people are sending entirely AI-generated PRs as a low-effort way to farm OSS contributions**, so please be mindful of the following etiquette to show your respect for our time and our codebase:

    Contributing to Docusaurus

    We retain the right to close any PR that we deem as unproductive or low-effort, even when we agree with the spirit of the change.

    Contributing to Docusaurus
Not covered by the policy (7)

Documentation, Translating the software, Images and media, Research and learning, Checking own work, AI as author, Autonomous agents.

Issues & bug reports

The policy does not cover this area.

AI-written text

The policy does not cover this area.

Sources