Peter Krempa
b9759291c5
docs: page.xsl: Improve generation of paragraph anchor links
...
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 generated from RST documents which don't
have a table of contents (and thus lack the 'toc-backref' anchors) and
thus fixes pages such as hacking.html and news.html to have reasonable
links which can be shared.
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2020-11-02 14:14:07 +01:00
..
2020-08-03 09:27:06 +02:00
2020-09-25 16:00:06 +02:00
2020-08-03 09:27:06 +02:00
2020-10-19 12:40:51 +02:00
2020-08-03 09:27:06 +02:00
2020-10-19 12:40:51 +02:00
2020-10-05 10:28:37 +01:00
2020-10-19 12:40:51 +02:00
2020-10-26 02:39:29 -04:00
2020-09-01 21:58:46 +02:00
2020-09-01 21:58:46 +02:00
2020-09-23 11:30:05 +02:00
2020-10-19 10:18:27 +02:00
2020-09-01 21:58:46 +02:00
2020-09-01 21:58:46 +02:00
2020-07-10 16:07:02 +02:00
2020-01-17 16:44:31 +01:00
2020-10-05 10:28:37 +01:00
2020-09-01 21:58:46 +02:00
2020-09-01 21:58:46 +02:00
2020-09-01 21:58:46 +02:00
2019-11-15 15:45:20 +01:00
2020-07-03 11:00:51 +02:00
2020-10-19 10:18:27 +02:00
2020-08-03 09:27:09 +02:00
2020-09-10 09:13:52 +02:00
2020-09-01 21:58:46 +02:00
2020-09-10 09:13:52 +02:00
2020-09-01 21:58:46 +02:00
2020-10-05 10:28:37 +01:00
2020-06-03 13:38:33 +02:00
2020-04-08 09:32:35 +02:00
2020-09-01 21:58:46 +02:00
2020-10-14 17:33:27 +02:00
2020-01-27 11:04:29 +00:00
2020-10-12 15:26:00 +04:00
2020-10-05 10:28:37 +01:00
2020-10-09 09:27:20 +02:00
2020-09-01 21:58:46 +02:00
2020-09-17 18:19:26 +02:00
2020-09-01 21:58:46 +02:00
2020-06-26 15:38:34 +01:00
2020-01-27 17:36:05 +01:00
2020-09-01 21:58:46 +02:00
2020-09-01 21:58:46 +02:00
2020-10-05 10:28:37 +01:00
2020-09-01 21:58:46 +02:00
2020-10-05 10:28:37 +01:00
2020-07-08 08:40:30 +02:00
2020-01-16 15:11:42 +00:00
2020-07-07 12:58:19 +02:00
2020-10-20 14:46:52 -04:00
2020-10-05 10:28:37 +01:00
2020-10-05 10:28:37 +01:00
2020-02-26 11:48:23 -05:00
2020-10-26 02:39:29 -04:00
2018-12-17 17:52:46 +01:00
2020-01-28 18:10:36 +01:00
2019-07-29 08:22:29 -05:00
2020-10-05 10:28:37 +01:00
2020-10-05 10:28:37 +01:00
2018-06-26 14:02:43 -04:00
2020-08-03 18:41:11 +02:00
2020-10-02 14:10:44 +02:00
2019-01-25 14:04:20 +01:00
2020-10-02 14:10:40 +02:00
2020-10-05 10:28:37 +01:00
2020-09-01 21:58:46 +02:00
2020-09-01 21:58:46 +02:00
2020-08-27 16:28:02 +02:00
2020-07-10 16:07:02 +02:00
2020-07-10 16:07:02 +02:00
2020-07-07 14:07:33 +02:00
2020-07-07 14:07:33 +02:00
2020-07-10 16:07:02 +02:00
2020-07-10 16:07:02 +02:00
2020-08-03 18:41:11 +02:00
2020-09-01 21:58:46 +02:00
2020-10-19 12:40:50 +02:00
2020-07-10 16:07:02 +02:00
2020-07-10 16:07:02 +02:00
2020-07-10 16:07:02 +02:00
2020-07-10 16:07:02 +02:00
2020-07-10 16:07:02 +02:00
2020-10-19 12:40:50 +02:00
2019-04-11 15:20:17 +01:00
2020-08-04 17:06:33 +01:00
2020-06-11 12:03:41 +02:00
2020-07-10 16:07:02 +02:00
2020-09-01 21:58:46 +02:00
2020-11-02 14:14:07 +01:00
2020-04-24 09:55:29 +02:00
2020-09-01 21:58:46 +02:00
2020-09-01 21:58:46 +02:00
2020-07-14 18:04:13 +02:00
2020-04-08 09:32:32 +02:00
2020-04-20 14:06:25 +01:00
2020-09-01 21:58:46 +02:00
2020-10-05 10:28:37 +01:00
2020-08-04 17:06:33 +01:00
2020-09-01 21:58:46 +02:00
2020-10-05 10:28:37 +01:00
2020-07-10 16:07:02 +02:00
2020-05-11 13:55:27 +02:00
2020-10-09 09:12:39 +02:00
2020-08-04 17:06:33 +01:00
2020-06-03 13:38:33 +02:00
2020-09-01 21:58:46 +02:00
2020-09-01 21:58:46 +02:00
2020-09-01 21:58:46 +02:00
2020-10-05 10:28:37 +01:00
2020-09-01 21:58:46 +02:00
2020-09-01 21:58:46 +02:00