#11824 closed enhancement (fixed)
Remove //Since// version information from TracIni documentation — at Version 7
Reported by: | Ryan J Ollos | Owned by: | Ryan J Ollos |
---|---|---|---|
Priority: | normal | Milestone: | 1.1.3 |
Component: | general | Version: | |
Severity: | normal | Keywords: | trac.ini documentation |
Cc: | Branch: | ||
Release Notes: |
Removed from documentation the version in which a configuration option was added for versions of Trac < 0.12. |
||
API Changes: |
Leading and trailing whitespace is stripped from translatable string (plugin developers should use |
||
Internal Changes: |
Description
Discussed on the mailing list in gmessage:trac-dev:c136Ptgl_WU/FeZNjNkR06YJ, the Since x.y version information will be removed for Trac < 0.12.
Change History (7)
comment:1 by , 9 years ago
Release Notes: | modified (diff) |
---|
follow-up: 3 comment:2 by , 9 years ago
Did you miss the ("enabled" added in 0.11)
, or was it intentional to keep just that one in trac/config.py
? Other changes look right. Thanks for taking care to clean this up.
comment:3 by , 9 years ago
Replying to shoffmann:
Did you miss the
("enabled" added in 0.11)
, or was it intentional to keep just that one intrac/config.py
? Other changes look right. Thanks for taking care to clean this up.
Yeah, I wasn't consistent in changing the API documentation. I was wondering whether the same approach should be taken, removing mentions of Trac < 0.12, or if the Trac 0.11 documentation might still be useful for plugin developers.
We should probably just remove mention of Trac < 0.12 from the API documentation too, but I'll just save all changes to the API documentation for another ticket and take a consistent approach when making the changes.
follow-up: 5 comment:4 by , 9 years ago
Committed to trunk in [13304].
I was using the PEP-0008 docstring conventions, putting the trailing """
on a separate line for multiline strings.
However, cleandoc
doesn't strip the trailing whitespace for cases like this: trunk/trac/search/web_ui.py@:50#L39
#: trac/search/web_ui.py:48 msgid "" "Minimum length of query string allowed when performing a search.\n" " " msgstr ""
I propose a fix for this in log:rjollos.git:t11824.1.
follow-up: 6 comment:5 by , 9 years ago
Replying to rjollos:
I propose a fix for this in log:rjollos.git:t11824.1.
Be careful, cleandoc_
is a keyword for message extraction (see setup.cfg), so using it for things like cleandoc_(m)
is wrong (not sure if it triggers an error, but it doesn't feel right).
comment:6 by , 9 years ago
Replying to cboos:
Be careful,
cleandoc_
is a keyword for message extraction (see setup.cfg), so using it for things likecleandoc_(m)
is wrong (not sure if it triggers an error, but it doesn't feel right).
Thanks, I guess I was unlucky enough that it didn't blow up! I've reworked the changes in log:rjollos.git:t11824.2.
comment:7 by , 9 years ago
API Changes: | modified (diff) |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Proposed changes in log:rjollos.git:t11824.