[Django] #37099: Add :dep: directive to Sphinx documentation

12 views
Skip to first unread message

Django

unread,
May 15, 2026, 8:01:39 AMMay 15
to django-...@googlegroups.com
#37099: Add :dep: directive to Sphinx documentation
-------------------------------------+-------------------------------------
Reporter: Johannes Maron | Type:
| Cleanup/optimization
Status: new | Component: Core
| (Other)
Version: dev | Severity: Normal
Keywords: sphinx, | Triage Stage:
documentation, DEP | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
For release notes in particular, but also other notifications, it would be
wonderful to be able to link to DEPs.

Sphinx has a native `:rfc:` directive, which links to an RFC document. We
have added other directives like `:settings:` in
`docs/_ext/djangodocs.py`.

[Since deps are currently moving around a
lot](https://forum.djangoproject.com/t/moving-files-in-dsf-repos/45034/),
I would suggest limiting this to finalized DEPs only for now.
--
Ticket URL: <https://code.djangoproject.com/ticket/37099>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
May 15, 2026, 8:02:32 AMMay 15
to django-...@googlegroups.com
#37099: Add :dep: directive to Sphinx documentation
-------------------------------------+-------------------------------------
Reporter: Johannes Maron | Owner: (none)
Type: | Status: new
Cleanup/optimization |
Component: Core (Other) | Version: dev
Severity: Normal | Resolution:
Keywords: sphinx, | Triage Stage:
documentation, DEP | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Description changed by Johannes Maron:

Old description:

> For release notes in particular, but also other notifications, it would
> be wonderful to be able to link to DEPs.
>
> Sphinx has a native `:rfc:` directive, which links to an RFC document. We
> have added other directives like `:settings:` in
> `docs/_ext/djangodocs.py`.
>
> [Since deps are currently moving around a
> lot](https://forum.djangoproject.com/t/moving-files-in-dsf-repos/45034/),
> I would suggest limiting this to finalized DEPs only for now.

New description:

For release notes in particular, but also other notifications, it would be
wonderful to be able to link to DEPs.

Sphinx has a native `:rfc:` directive, which links to an RFC document. We
have added other directives like `:settings:` in
`docs/_ext/djangodocs.py`.

[Since DEPs are currently moving around a
lot](https://forum.djangoproject.com/t/moving-files-in-dsf-repos/45034/),
I would suggest limiting this to finalized DEPs only for now.

I would suggest the name: `:dep:`

--
--
Ticket URL: <https://code.djangoproject.com/ticket/37099#comment:1>

Django

unread,
May 15, 2026, 8:03:54 AMMay 15
to django-...@googlegroups.com
#37099: Add :dep: directive to Sphinx documentation
-------------------------------------+-------------------------------------
Reporter: Johannes Maron | Owner: (none)
Type: | Status: new
Cleanup/optimization |
Component: Core (Other) | Version: dev
Severity: Normal | Resolution:
Keywords: sphinx, | Triage Stage:
documentation, DEP | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Description changed by Johannes Maron:

Old description:

> For release notes in particular, but also other notifications, it would
> be wonderful to be able to link to DEPs.
>
> Sphinx has a native `:rfc:` directive, which links to an RFC document. We
> have added other directives like `:settings:` in
> `docs/_ext/djangodocs.py`.
>
> [Since DEPs are currently moving around a
> lot](https://forum.djangoproject.com/t/moving-files-in-dsf-repos/45034/),
> I would suggest limiting this to finalized DEPs only for now.
>
> I would suggest the name: `:dep:`

New description:

For release notes in particular, but also other notifications, it would be
wonderful to be able to link to DEPs.

Sphinx has a native `:rfc:` directive, which links to an RFC document. We
have added other directives like `:settings:` in
`docs/_ext/djangodocs.py`.

[https://forum.djangoproject.com/t/moving-files-in-dsf-repos/45034/ Since
DEPs are currently moving around a lot] I would suggest limiting this to
finalized DEPs only for now.

I would suggest the name: `:dep:`

--
--
Ticket URL: <https://code.djangoproject.com/ticket/37099#comment:2>

Django

unread,
May 15, 2026, 9:04:09 AMMay 15
to django-...@googlegroups.com
#37099: Add :dep: directive to Sphinx documentation
-------------------------------------+-------------------------------------
Reporter: Johannes Maron | Owner: Vaibhav
Type: | Pant
Cleanup/optimization | Status: assigned
Component: Core (Other) | Version: dev
Severity: Normal | Resolution:
Keywords: sphinx, | Triage Stage:
documentation, DEP | Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Vaibhav Pant):

* owner: (none) => Vaibhav Pant
* status: new => assigned

--
Ticket URL: <https://code.djangoproject.com/ticket/37099#comment:3>

Django

unread,
May 15, 2026, 12:21:03 PMMay 15
to django-...@googlegroups.com
#37099: Add :dep: directive to Sphinx documentation
-------------------------------------+-------------------------------------
Reporter: Johannes Maron | Owner: Vaibhav
Type: | Pant
Cleanup/optimization | Status: assigned
Component: Core (Other) | Version: dev
Severity: Normal | Resolution:
Keywords: sphinx, | Triage Stage:
documentation, DEP | Someday/Maybe
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Sarah Boyce):

* stage: Unreviewed => Someday/Maybe

Comment:

Note that #26408 shows a similar problem as stated.
I think having a more permanent DEP link solution first would be really
useful.
--
Ticket URL: <https://code.djangoproject.com/ticket/37099#comment:4>

Django

unread,
May 28, 2026, 4:49:33 PM (2 days ago) May 28
to django-...@googlegroups.com
#37099: Add :dep: directive to Sphinx documentation
-------------------------------------+-------------------------------------
Reporter: Johannes Maron | Owner: (none)
Type: | Status: new
Cleanup/optimization |
Component: Core (Other) | Version: dev
Severity: Normal | Resolution:
Keywords: sphinx, | Triage Stage:
documentation, DEP | Someday/Maybe
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Vaibhav Pant):

* owner: Vaibhav Pant => (none)
* status: assigned => new

--
Ticket URL: <https://code.djangoproject.com/ticket/37099#comment:5>
Reply all
Reply to author
Forward
0 new messages