[packages/libvirt] - don't use plain.css from docutils

baggins baggins at pld-linux.org
Sun Jun 12 10:46:11 CEST 2022


commit 9bff84959c34874661e0459b933b67a8c698df35
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Sun Jun 12 10:40:36 2022 +0200

    - don't use plain.css from docutils
    
    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 | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
---
diff --git a/fix-docs-css.patch b/fix-docs-css.patch
new file mode 100644
index 0000000..3b3610a
--- /dev/null
+++ b/fix-docs-css.patch
@@ -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)
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/libvirt.git/commitdiff/de60438873dee54ae699cb4c06350c7cc2a77b09



More information about the pld-cvs-commit mailing list