Code

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#15942 closed Bug (fixed)

duplicate id "module-django.contrib.auth.views" in the topics/auth.txt doc

Reported by: magopian Owned by: nobody
Component: Documentation Version: 1.3
Severity: Normal Keywords:
Cc: mathieu.agopian@… Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX:

Description

The documentation patch applied to fix #6581 ([16130] on trunk and [16131] on 1.3.X, git commit f3163a64b3940e3145090f6493849222ec052d0e) introduced a sphinx warning about a duplicate id module-django.contrib.auth.views.

Indeed, the .. module:: django.contrib.auth.views id is present twice in the same file (line 879 and 1026 in docs/topics/auth.txt).

I believe the second occurrence of the id should be replaced by .. currentmodule:: django.contrib.auth.views, and i added a patch that does just that.

Attachments (1)

15942-remove_doc_duplicate_id.diff (417 bytes) - added by magopian 3 years ago.

Download all attachments as: .zip

Change History (5)

Changed 3 years ago by magopian

comment:1 Changed 3 years ago by magopian

  • Cc mathieu.agopian@… added
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

comment:2 Changed 3 years ago by jezdez

  • Triage Stage changed from Unreviewed to Ready for checkin

comment:3 Changed 3 years ago by timo

  • Resolution set to fixed
  • Status changed from new to closed

In [16142]:

Fixed #15942 - removed duplicate module id in docs; thanks magopian.

comment:4 Changed 3 years ago by timo

In [16143]:

[1.3.X] Fixed #15942 - removed duplicate module id in docs; thanks magopian.

Backport of r16142 from trunk.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.