Opened 16 years ago

Closed 15 years ago

#9436 closed (fixed)

version[added|changed] directives should understand released versions and unreleased ones.

Reported by: Marc Fargas Owned by: Jacob
Component: Documentation Version: dev
Severity: Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

There are some ".. versionadded:: development" strings in trunk's documentation.

According to contributing.txt (1) and somehow to a relevant thread(2) those should read: .. versionadded:: 1.1

1: contributing.txt
2: a revelant thread

Attachments (3)

9436.diff (1.4 KB ) - added by Marc Fargas 16 years ago.
Fixes
9436.2.diff (3.9 KB ) - added by Marc Fargas 15 years ago.
Patch to support the version[added|changed] directive as talked on IRC.
9436.3.diff (3.9 KB ) - added by Marc Fargas 15 years ago.
Good day to update patches ;)

Download all attachments as: .zip

Change History (6)

by Marc Fargas, 16 years ago

Attachment: 9436.diff added

Fixes

comment:1 by Marc Fargas, 16 years ago

Has patch: set
Owner: changed from nobody to Marc Fargas
Status: newassigned
Triage Stage: UnreviewedReady for checkin
Version: 1.0SVN

by Marc Fargas, 15 years ago

Attachment: 9436.2.diff added

Patch to support the version[added|changed] directive as talked on IRC.

comment:2 by Marc Fargas, 15 years ago

Owner: changed from Marc Fargas to Jacob
Status: assignednew
Summary: New documentations patches are inconsistent with contributing.txtversion[added|changed] directives should understand released versions and unreleased ones.

Attached a patch modifiyng Sphinx behaviour as talked on IRC with Jacob, in brief:

A new config value is added to conf.py called "django_next_version" to tell Sphinx which is the next version we will release.

With this in place, when a version[added|changed] directive has the number of django_next_version it will be replaced by a "Development Version" note, otherwise, two things can happen:

  • If the directive has an explanation paragraph it is left *as-is*.
  • If there's no additional paragraph a Link to the corresponding release notes is placed on the "Changed/NEw in ...." note.

That allows to remove the informational paragraphs after release removing the clutter on the docs after release.

by Marc Fargas, 15 years ago

Attachment: 9436.3.diff added

Good day to update patches ;)

comment:3 by Malcolm Tredinnick, 15 years ago

Resolution: fixed
Status: newclosed

(In [10006]) Fixed #9436 -- Updated docs build code to create "new in development version".
Patch from Marc Fargas.

Note: See TracTickets for help on using tickets.
Back to Top