summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2016-08-03 16:29:33 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2016-08-03 16:29:33 +0200
commit6bc15ce6994778fa520f0ba56503d4b0bd16a359 (patch)
tree751ac984f1170af2144447904693a989c6a310a3 /docs
parent4d9459678fbda04affd163936dae70de2aae9d19 (diff)
downloadlibgd-6bc15ce6994778fa520f0ba56503d4b0bd16a359.tar.gz
Use more common web-style paragraphs for the docs
See <http://www.naturaldocs.org/styles.html#WebStyleParagraphs>.
Diffstat (limited to 'docs')
-rw-r--r--docs/naturaldocs/project/libgd.css9
-rwxr-xr-xdocs/naturaldocs/run_docs.sh3
2 files changed, 11 insertions, 1 deletions
diff --git a/docs/naturaldocs/project/libgd.css b/docs/naturaldocs/project/libgd.css
new file mode 100644
index 0000000..ff83144
--- /dev/null
+++ b/docs/naturaldocs/project/libgd.css
@@ -0,0 +1,9 @@
+/*
+Custom styles for the generated HTML, which are supposed to override the default
+styles
+*/
+
+p {
+ text-indent: 0;
+ margin-bottom: 1em;
+}
diff --git a/docs/naturaldocs/run_docs.sh b/docs/naturaldocs/run_docs.sh
index 40fec77..07baac6 100755
--- a/docs/naturaldocs/run_docs.sh
+++ b/docs/naturaldocs/run_docs.sh
@@ -68,7 +68,8 @@ sed -e "s/@VERSION@/$VERSION/g" preamble.txt > tmp/preamble.txt
$(nd) --rebuild --rebuild-output --documented-only \
-i tmp/ \
-o html html \
- --project project/
+ --project project/ \
+ -s Default libgd
# And cleanup the temp files.
rm -rf Data tmp