summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/p11-kit-docs.sgml2
-rw-r--r--doc/style.css70
-rw-r--r--gtk-doc.make4
3 files changed, 74 insertions, 2 deletions
diff --git a/doc/p11-kit-docs.sgml b/doc/p11-kit-docs.sgml
index 03fd582..d00cc36 100644
--- a/doc/p11-kit-docs.sgml
+++ b/doc/p11-kit-docs.sgml
@@ -7,7 +7,7 @@
]>
<book id="index">
<bookinfo>
- <title>P11-Kit Manual</title>
+ <title>p11-kit</title>
<releaseinfo>for p11-kit &version;</releaseinfo>
</bookinfo>
diff --git a/doc/style.css b/doc/style.css
new file mode 100644
index 0000000..859273f
--- /dev/null
+++ b/doc/style.css
@@ -0,0 +1,70 @@
+@import url("gtk-doc.css");
+
+TABLE.navigation {
+ background-color: #f9b631 !important;
+ border-width: 0 !important;
+ color: white;
+ font-family: Georgia, "Times New Roman", Times, serif;
+ height: 4em !important;
+}
+
+TABLE.navigation TH {
+ font-size: 30pt !important;
+ font-weight: normal;
+ text-align: left !important;
+ padding-left: 10pt;
+}
+
+TABLE.navigation TH:first-child {
+ padding-left: 40pt;
+}
+
+.shortcuts {
+ color: white !important;
+}
+
+.shortcuts a {
+ color: white !important;
+ font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif;
+}
+
+P.title {
+ font-size: 30pt !important;
+}
+
+BODY {
+ padding-top: 5.5em !important;
+}
+
+DIV.book,
+DIV.refentry,
+DIV.chapter {
+ font-family: Verdana, Arial, 'Bitstream Vera Sans', Helvetica, sans-serif;
+ font-size: 9.5pt;
+ line-height: 150%;
+}
+
+DIV.variablelist TABLE {
+ font-size: 9.5pt;
+ line-height: 150%;
+}
+
+DIV.refentry,
+DIV.chapter {
+ margin-left: 3em;
+ margin-right: 1em;
+}
+
+DIV.refsect2 {
+ margin-bottom: 3em !important;
+}
+
+H2 {
+ position: relative;
+ left: -1em;
+ font-weight: normal !important;
+}
+
+H3 {
+ font-weight: normal !important;
+}
diff --git a/gtk-doc.make b/gtk-doc.make
index a97578b..00b080f 100644
--- a/gtk-doc.make
+++ b/gtk-doc.make
@@ -124,7 +124,7 @@ sgml.stamp: sgml-build.stamp
#### html ####
-html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
+html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files) style.css
@echo 'gtk-doc: Building HTML'
@-chmod -R u+w $(srcdir)
@rm -rf $(srcdir)/html
@@ -138,6 +138,8 @@ html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
@test "x$(HTML_IMAGES)" = "x" || ( cd $(srcdir) && cp $(HTML_IMAGES) html )
@echo 'gtk-doc: Fixing cross-references'
@cd $(srcdir) && gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS) | grep -v "no link for.*CK-.*CAPS" || true
+ @mv html/style.css html/gtk-doc.css
+ @cp $(srcdir)/style.css html
@touch html-build.stamp
#### pdf ####