summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorJohn Finlay <finlay@src.gnome.org>2006-08-13 00:31:49 +0000
committerJohn Finlay <finlay@src.gnome.org>2006-08-13 00:31:49 +0000
commitea05442d71b9830398ebdca8d8c8a4c7d82133b1 (patch)
treeb03073da092c808b186b50b0516e21ede4461d44 /docs
parent4246765f4c9ea58a70b1e34d787bd55223407546 (diff)
downloadpygobject-ea05442d71b9830398ebdca8d8c8a4c7d82133b1.tar.gz
pygobject-ea05442d71b9830398ebdca8d8c8a4c7d82133b1.tar.xz
pygobject-ea05442d71b9830398ebdca8d8c8a4c7d82133b1.zip
Add reference to installed pygobject docs Add install of style.css Define
* pygobject-2.0.pc.in: Add reference to installed pygobject docs * docs/Makefile.am: Add install of style.css * docs/xsl/html.xsl: Define stylesheet as style.css * docs/style.css: Add.
Diffstat (limited to 'docs')
-rw-r--r--docs/Makefile.am7
-rw-r--r--docs/style.css10
-rw-r--r--docs/xsl/html.xsl1
3 files changed, 17 insertions, 1 deletions
diff --git a/docs/Makefile.am b/docs/Makefile.am
index 085c7db..e08028e 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -45,6 +45,10 @@ HTML_DATA = \
html/index.sgml \
html/pygobject.devhelp
+CSS_FILES = style.css
+CSSdir = $(HTMLdir)
+CSS_DATA = $(CSS_FILES)
+
BUILT_SOURCES = \
build_stamp \
reference/builddate.xml \
@@ -58,7 +62,8 @@ CLEANFILES = \
EXTRA_DIST = \
$(XMLFILES) \
- $(XSLFILES)
+ $(XSLFILES) \
+ $(CSS_FILES)
REFERENCE_DEPS = \
reference \
diff --git a/docs/style.css b/docs/style.css
new file mode 100644
index 0000000..59abc74
--- /dev/null
+++ b/docs/style.css
@@ -0,0 +1,10 @@
+.programlisting {
+font: monospace;
+background-color: #E0E0E0;
+padding: 5;
+}
+
+pre.synopsis {
+background-color: #E0E0E0;
+padding: 5;
+}
diff --git a/docs/xsl/html.xsl b/docs/xsl/html.xsl
index 98b165c..d8fea78 100644
--- a/docs/xsl/html.xsl
+++ b/docs/xsl/html.xsl
@@ -7,6 +7,7 @@
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version='1.0'>
+<xsl:param name="html.stylesheet">style.css</xsl:param>
<xsl:param name="use.id.as.filename" select="1"/>
<xsl:param name="chunk.fast" select="1"/>
<xsl:param name="chunker.output.encoding" select="'utf-8'"/>