put title attributes on section/div elements in API documentation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Undecided
|
Karl Fogel |
Bug Description
The documentation at https:/
If there were title attributes then -- in some browsers, at least -- one could see a section's anchor name just by hovering over that section. This would be very useful for referring someone to a specific place in the documentation.
I have a branch for this, but am still gathering enough xslt-fu to actually test it. Review welcome.
Note: bug #325367 ("the API docs should have a table of contents") is likely to involve similar knowledge.
Related branches
- Barry Warsaw: Needs Fixing (code)
-
Diff: 84 lines1 file modifiedsrc/launchpadlib/wadl-to-refhtml.xsl (+9/-9)
description: | updated |
tags: | added: api |
Changed in launchpad: | |
status: | In Progress → Fix Committed |
affects: | launchpad → launchpad-foundations |
Changed in launchpad-foundations: | |
status: | Fix Committed → Fix Released |
When I was chatting with geser in IRC about bug #325367, he gave me some testing hints that apply here too:
kfogel: I branched lp:launchpadlib (to get the source), used thekorn's script to fetch the wadl file (modified it to store in a file) and use xmlstarlet to go the transformation (using xsltproc works too)
kfogel: http:// paste.ubuntu. com/267586/ here is the modified script I used to download the wadl file and also how I did the XSL transformation.