Re: [PATCH] docs: page.xsl: Improve generation of paragraph anchor links

2020-10-26 Thread Michal Privoznik
On 10/26/20 1:51 PM, Peter Krempa wrote: Use the 'parent' axis to check whether the parent is a div with class='section' rather than looking for 'toc-backref' anchor to see whether to generate one of the headerlink alternatives. Both hare docutils-specific thus apply to docs generated from RST

[PATCH] docs: page.xsl: Improve generation of paragraph anchor links

2020-10-26 Thread Peter Krempa
Use the 'parent' axis to check whether the parent is a div with class='section' rather than looking for 'toc-backref' anchor to see whether to generate one of the headerlink alternatives. Both hare docutils-specific thus apply to docs generated from RST documents. This adds the links for pages