Edgewall Software
Modify

Opened 10 years ago

Closed 10 years ago

#11774 closed defect (worksforme)

href.chrome(...) is not documented

Reported by: anatoly techtonik <techtonik@…> 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's htdocs/ 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 lkraav <leho@…>, 10 years ago

Cc: leho@… added

comment:2 by Ryan J Ollos, 10 years ago

Milestone: 1.0.3
Owner: set to Ryan J Ollos
Status: newassigned

comment:3 by Ryan J Ollos, 10 years ago

Milestone: 1.0.3
Resolution: worksforme
Status: assignedclosed

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.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Ryan J Ollos to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.