Peter Krempa
9fd2e78b96
docs: xsl: Unify stylability of main container element
...
page.xsl was adding '<div id="content">' wrapper for the content picked
up from the <body> element from the original input file. Optionally
class="$DOCNAME" was added for some documents taken from <body>.
Since docs generated from RST by docutils have a '<div class='document'
id='$DOCNAME>' we actually don't need an extra wrapper for them.
Additionally if we standardize on one of them we can use the same styles
for both. I've picked the latter because it makes more sense to use the
document name as 'id'.
This patch:
1) Modifies the XSL trasformation to add the wrapper only if it's not
present.
2) Modifies the XSL transformation to use 'id' for document name and
class='document' for the wrapper element.
3) Changes docs.html/index.html/hvsupport.html to use 'id' instead of
'class' for document name.
4) Modifies the main stylesheet to keep styling the elements properly
Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2020-11-16 14:04:04 +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-11-16 14:04:03 +01:00
2020-10-05 10:28:37 +01:00
2020-11-09 16:32:55 +00:00
2020-11-11 16:56:33 +01: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-11-13 16:22:43 +00: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-11-16 14:04:04 +01: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-11-09 15:26:02 +00:00
2020-09-01 21:58:46 +02:00
2020-11-11 16:56:33 +01: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-11-04 17:21:45 +01: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-11-04 18:25:57 +01: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-11-11 16:56:33 +01:00
2020-11-04 17:21:45 +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-11-16 14:04:04 +01:00
2020-09-01 21:58:46 +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-11-16 14:04:04 +01:00
2020-09-01 21:58:46 +02:00
2020-11-16 14:04:03 +01: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-11-13 15:58:52 +01: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-16 14:04:04 +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-11-12 15:01:42 +01: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