Modify ↓
Opened 10 years ago
Closed 10 years ago
#11774 closed defect (worksforme)
href.chrome(...) is not documented
Reported by: | Owned by: | Ryan J Ollos | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | rendering | Version: | |
Severity: | normal | Keywords: | |
Cc: | leho@… | Branch: | |
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
On TracInterfaceCustomization#SiteAppearance it is said that:
${href.chrome('site/style.css')}
attribute references a CSS file placed into environment'shtdocs/
directory
But it is not clear if style.css
should be in htdocs/style.css
or in htdocs/site/style.css
? In addition I can't find documentation or source for href.chrome
function.
Attachments (0)
Change History (3)
comment:1 by , 10 years ago
Cc: | added |
---|
comment:2 by , 10 years ago
Milestone: | → 1.0.3 |
---|---|
Owner: | set to |
Status: | new → assigned |
comment:3 by , 10 years ago
Milestone: | 1.0.3 |
---|---|
Resolution: | → worksforme |
Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.
Documentation clarified in TracInterfaceCustomization@81.
The
Href
class is a callable that constructs URLs with the given base, see tags/trac-1.0.2/trac/web/href.py@:27#L26. The request to/chrome/site
is handled by the Chrome class.Additional specific suggestions for improving documentation are welcome. This might be better discussed on the MailingList though, since there would be a wider audience and potentially more suggestions for improvement.