aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-04-18 05:18:23 +0000
committerDavid Robillard <d@drobilla.net>2012-04-18 05:18:23 +0000
commitb05e48f333d27e434b82587d248824b98f47bcd5 (patch)
tree8872959725e5dfc8050fe7ccef6a6c2db01a5d8c
parent8ca845b7ddf0b28fa20ab4ed67e696f825fa60bc (diff)
downloadserd-b05e48f333d27e434b82587d248824b98f47bcd5.tar.gz
serd-b05e48f333d27e434b82587d248824b98f47bcd5.tar.bz2
serd-b05e48f333d27e434b82587d248824b98f47bcd5.zip
Fix absolute path in documentation.
git-svn-id: http://svn.drobilla.net/serd/trunk@348 490d8e77-9747-427b-9fa3-0b8f29cee8a0
-rw-r--r--doc/reference.doxygen.in2
-rw-r--r--wscript4
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/reference.doxygen.in b/doc/reference.doxygen.in
index c1c0b3f4..1f260f01 100644
--- a/doc/reference.doxygen.in
+++ b/doc/reference.doxygen.in
@@ -794,7 +794,7 @@ HTML_FOOTER =
# the style sheet file to the HTML output directory, so don't put your own
# stylesheet in the HTML output directory as well, or it will be erased!
-HTML_STYLESHEET = @SERD_SRCDIR@/doc/style.css
+HTML_STYLESHEET = doc/style.css
# If the HTML_ALIGN_MEMBERS tag is set to YES, the members of classes,
# files or namespaces will be aligned in HTML using tables. If set to
diff --git a/wscript b/wscript
index 1630b4bd..d09612f7 100644
--- a/wscript
+++ b/wscript
@@ -264,9 +264,9 @@ def fix_docs(ctx):
os.chdir(build_dir(ctx, 'doc/html'))
os.system("sed -i 's/SERD_API //' group__serd.html")
os.system("sed -i 's/SERD_DEPRECATED //' group__serd.html")
+ os.system("sed -i 's/href=\"doc\/style.css\"/href=\"style.css\"/' group__serd.html")
os.remove('index.html')
- os.symlink('group__serd.html',
- 'index.html')
+ os.symlink('group__serd.html', 'index.html')
os.chdir(top)
os.chdir(build_dir(ctx, 'doc/man/man3'))
os.system("sed -i 's/SERD_API //' serd.3")