On Tue, 9 Feb 2010, Julian Foad wrote:
> On Tue, 2010-02-09, Martin Furter wrote:
>> I've created a copy and applied that patch-template:
>> http://svn-test.borg.ch/
>>
>> Mmm, nice :)
>>
>> Here's an attempt at a patch...
>
> Thanks! Please tell me you did that with a script, not by hand. You
> might want to enhance your script to catch sections like this one ...
>
>> <div class="h4" id="pre-lock-hook-output" title="pre-lock-hook-output">
>> <h4>Changed handling of output of <code>pre-lock</code> hook</h4>
>
> ... which it missed. (I'm guessing it's because of mark-up within the
> heading.)
There were a lot more cases it missed. Sorry that I didn't find them
before.
The new version seems to find almost all cases now. There are 9 remaining
which can be done by hand. I'd say we fix them after committing this patch
since they are lost after running the script. If anyone approves that I'm
gonna commit and fix them afterwards.
I search for the missed ones using the following commandline:
find . -name \*.html -exec grep -H 'title="' {} \; |
egrep -v '(javahl|docs/api/|Link to this section)'
New patch and the script are attached, and http://svn-test.borg.ch/ has
the updated version too.
[[[
Replace title attributes by section links which show up when hovering
over the enclosing header.
* style/site.css
(.sectionlink): New class.
* contributing.html,
* docs/community-guide/building.part.html,
* docs/community-guide/conventions.part.html,
* docs/community-guide/debugging.part.html,
* docs/community-guide/general.part.html,
* docs/community-guide/index.html,
* docs/community-guide/issues.part.html,
* docs/community-guide/l10n.part.html,
* docs/community-guide/mailing-lists.part.html,
* docs/community-guide/releasing.part.html,
* docs/community-guide/roles.part.html,
* docs/index.html,
* docs/release-notes/1.2.html,
* docs/release-notes/1.3.html,
* docs/release-notes/1.4.html,
* docs/release-notes/1.5.html,
* docs/release-notes/1.6.html,
* docs/release-notes/1.6.zh.html,
* faq.html,
* faq.ja.html,
* faq.zh.html,
* index.html,
* issue-tracker.html,
* mailing-lists.html,
* news.html,
* packages.html,
* roadmap.html,
* source-code.html
Remove title attributes and add section links to headers.
]]]
Martin
Received on 2010-02-10 19:08:32 CET