Skip to content

Commit 82c55b5

Browse files
memsizekeith-packard
authored andcommitted
docbook.am: embed css styles inside the HTML HEAD element
Rather than referring to the external xorg.css stylesheet, embed the content of the file in the html output produced. This is accomplished by using version 1.10 of xorg-xhtml.xsl. This makes the whole html docs tree much more relocatable. In addition, it eliminates xorg.css as a runtime file which makes xorg-sgml-doctools a build time only package. Reviewed-by: Jeremy Huddleston <[email protected]> Signed-off-by: Gaetan Nadon <[email protected]> Signed-off-by: Keith Packard <[email protected]>
1 parent 1602444 commit 82c55b5

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

docbook.am

-2
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,9 @@ XMLTO_HTML_OLINK_FLAGS = \
3030
--stringparam target.database.document=$(XORG_SGML_PATH)/X11/dbs/masterdb.html.xml \
3131
--stringparam current.docid="$(<:.xml=)"
3232
XMLTO_HTML_STYLESHEET_FLAGS = -x $(STYLESHEET_SRCDIR)/xorg-xhtml.xsl
33-
XMLTO_HTML_CSS_STYLESHEET_FLAGS = --stringparam html.stylesheet=$(STYLESHEET_SRCDIR)/xorg.css
3433
XMLTO_HTML_FLAGS = \
3534
$(XMLTO_SEARCHPATH_FLAGS) \
3635
$(XMLTO_HTML_STYLESHEET_FLAGS) \
37-
$(XMLTO_HTML_CSS_STYLESHEET_FLAGS) \
3836
$(XMLTO_HTML_OLINK_FLAGS)
3937

4038
shelf_DATA += $(docbook:.xml=.html)

0 commit comments

Comments
 (0)