]> git.pld-linux.org Git - packages/libvirt.git/commitdiff
- don't use plain.css from docutils
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 12 Jun 2022 08:40:36 +0000 (10:40 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Sun, 12 Jun 2022 08:40:36 +0000 (10:40 +0200)
Whatever is trying to parse the result of rst -> html5 conversion
here trips over a comment in that CSS.

coding-style.html.in:320: namespace error : Failed to parse QName 'http:'
  /* optimum is 45…75 characters/line <http://webtypography.net/2.1.2> */

fix-docs-css.patch [new file with mode: 0644]

diff --git a/fix-docs-css.patch b/fix-docs-css.patch
new file mode 100644 (file)
index 0000000..3b3610a
--- /dev/null
@@ -0,0 +1,23 @@
+--- libvirt-6.6.0/docs/Makefile.am~    2020-07-21 15:34:44.000000000 +0200
++++ libvirt-6.6.0/docs/Makefile.am     2022-06-12 10:36:19.495506442 +0200
+@@ -411,17 +411,17 @@
+        grep -v '^:Manual ' < $< | \
+         sed -e 's|SYSCONFDIR|$(sysconfdir)|g' \
+            -e 's|RUNSTATEDIR|$(runstatedir)|g' | \
+-        $(RST2HTML) --strict > $@ || { rm $@ && exit 1; }
++        $(RST2HTML) --stylesheet-path=minimal.css,responsive.css --strict > $@ || { rm $@ && exit 1; }
+ news.html.in: $(top_srcdir)/NEWS.rst
+       $(AM_V_GEN)$(MKDIR_P) `dirname $@` && \
+-        $(RST2HTML) --strict $< > $@ || { rm $@ && exit 1; }
++        $(RST2HTML) --stylesheet-path=minimal.css,responsive.css --strict $< > $@ || { rm $@ && exit 1; }
+ CLEANFILES += news.html.in
+ %.html.in: %.rst
+       $(AM_V_GEN)$(MKDIR_P) `dirname $@` && \
+-        $(RST2HTML) --strict $< > $@ || { rm $@ && exit 1; }
++        $(RST2HTML) --stylesheet-path=minimal.css,responsive.css --strict $< > $@ || { rm $@ && exit 1; }
+ %.html.tmp: %.html.in site.xsl subsite.xsl page.xsl \
+               $(acl_generated)
This page took 0.119254 seconds and 4 git commands to generate.