[geany/geany-plugins] de8940: geanygendoc: Work around an rst2html 0.8.1 bug

Colomban Wendling git-noreply at xxxxx
Sun Mar 13 04:37:12 UTC 2016


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Sun, 13 Mar 2016 04:37:12 UTC
Commit:      de89404b0edec7cc6a9808e94dd2559ebabdbe10
             https://github.com/geany/geany-plugins/commit/de89404b0edec7cc6a9808e94dd2559ebabdbe10

Log Message:
-----------
geanygendoc: Work around an rst2html 0.8.1 bug

Apparently rst2html 0.8.1 from Ubuntu 12.04 incorrectly resolves
relative paths to the stylesheets listed in `--stylesheet-path` but the
first one.

Work around this by providing absolute paths to the stylesheets.


Modified Paths:
--------------
    geanygendoc/docs/Makefile.am

Modified: geanygendoc/docs/Makefile.am
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -15,6 +15,6 @@ dist_pluginhtmldoc_DATA = \
 if BUILD_RST
 manual.html: manual.rst manual.css html4css1.css
 	$(AM_V_GEN) $(RST2HTML) -d --strict \
-		--stylesheet-path $(srcdir)/html4css1.css,$(srcdir)/manual.css \
+		--stylesheet-path $(abs_srcdir)/html4css1.css,$(abs_srcdir)/manual.css \
 		$(srcdir)/manual.rst $@
 endif BUILD_RST



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Plugins-Commits mailing list