Skip to content

Commit 89da447

Browse files
committed
Back to Markdown for the AI_POLICY` file, link it from Contributing guide
1 parent 66bee72 commit 89da447

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

‎.github/PULL_REQUEST_TEMPLATE.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ If no AI tools were used, please write "No AI tools used" in this section.
2020
All interactions with reviewers must be performed by humans, including the submission of PRs.
2121
2222
Read the Python Packaging User Guide's policy on AI-assisted contributions at
23-
https://packaging.python.org/en/latest/contribute/#ai-policy
23+
https://github.com/pypa/packaging.python.org/blob/main/AI_POLICY.md
2424
2525
-->

AI_POLICY.rst renamed to AI_POLICY.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
AI Policy
2-
=========
1+
# AI Policy
32

43
AI-assisted contributions are accepted only if:
54

@@ -23,6 +22,6 @@ Only humans can be named as co-authors, and AI can *never* sign off on a
2322
commit. The Linux kernel trailer should be used to credit AI assistance, like
2423
this:
2524

26-
.. code-block:: text
27-
28-
Assisted-by: <harness>:<model>
25+
```text
26+
Assisted-by: <harness>:<model>
27+
```

‎source/contribute.rst‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,10 @@ By contributing to the |PyPUG|, you're expected to follow the PSF's
2828
.. __: https://github.com/pypa/.github/blob/main/CODE_OF_CONDUCT.md
2929

3030

31-
.. _ai-policy:
32-
33-
.. include:: ../AI_POLICY.rst
31+
You are responsible for all code and documentation you submit, including
32+
AI-generated content. Review it yourself and respond to review comments in your
33+
own words. If you use AI coding tools, please read our
34+
`AI policy <https://github.com/pypa/packaging.python.org/blob/main/AI_POLICY.md>`_.
3435

3536

3637
Documentation types

0 commit comments

Comments
 (0)