summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--docs/Makefile.am7
-rw-r--r--docs/style.css10
-rw-r--r--docs/xsl/html.xsl1
-rw-r--r--pygobject-2.0.pc.in1
5 files changed, 25 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index dac6dfe..8d98be0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2006-08-12 John Finlay <finlay@moeraki.com>
+
+ * 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.
+
2006-08-10 John Finlay <finlay@moeraki.com>
* docs/reference/entities.docbook.in:
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'"/>
diff --git a/pygobject-2.0.pc.in b/pygobject-2.0.pc.in
index 4600d46..a4d3fbc 100644
--- a/pygobject-2.0.pc.in
+++ b/pygobject-2.0.pc.in
@@ -9,6 +9,7 @@ datadir=@datadir@
# install additional headers.
pygtkincludedir=${includedir}/pygtk-2.0
fixxref=${datadir}/pygobject/xsl/fixxref.py
+pygdocs=${datadir}/gtk-doc/html/pygobject
Name: PyGObject
Description: Python bindings for GObject