summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2007-09-24 22:39:24 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2007-09-24 22:39:24 +0000
commit7255bdbb6ad04a5e79cef0e4f68a5e339683fd21 (patch)
tree2794064599b7dcc17310fb4fadd67e8c56d51d32
parent62c1a87df40b0f21ddc9094d279ecf3869c578c1 (diff)
downloadrockbox-7255bdbb6ad04a5e79cef0e4f68a5e339683fd21.zip
rockbox-7255bdbb6ad04a5e79cef0e4f68a5e339683fd21.tar.gz
rockbox-7255bdbb6ad04a5e79cef0e4f68a5e339683fd21.tar.bz2
rockbox-7255bdbb6ad04a5e79cef0e4f68a5e339683fd21.tar.xz
Remove the full url path from links to the wiki and display the wiki name only instead. Add a note on how to manually access wiki pages. The links itself are still pointing to the wiki.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14847 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--manual/getting_started/main.tex8
-rw-r--r--manual/preamble.tex6
2 files changed, 12 insertions, 2 deletions
diff --git a/manual/getting_started/main.tex b/manual/getting_started/main.tex
index d85f4c4..254f869 100644
--- a/manual/getting_started/main.tex
+++ b/manual/getting_started/main.tex
@@ -88,5 +88,11 @@ are used:
}
}{}% end ifpdfoutput
+Links to the wiki are abbreviated by the name of the wiki page. Those names
+are still linked so you can simply follow them like any other link in this
+manual. If you want to acces a wiki page manually go to \url{\wikibaseurl}
+and type the page name in the ``Go'' box at the top of the page.
+\ifpdfoutput{Links to wiki pages are also indicated by the symbol \wikiicon
+in front of the page name.}{}
-\input{getting_started/installation.tex} \ No newline at end of file
+\input{getting_started/installation.tex}
diff --git a/manual/preamble.tex b/manual/preamble.tex
index 6db6e53..5b6e110 100644
--- a/manual/preamble.tex
+++ b/manual/preamble.tex
@@ -254,7 +254,11 @@
% set link to the wiki.
% Usage: \wikilink{WebHome}
% with "WebHome" being the wiki page name
-\newcommand{\wikilink}[1]{\url{http://www.rockbox.org/twiki/bin/view/Main/#1}}
+\newcommand{\wikibaseurl}{http://www.rockbox.org/wiki/}
+\ifpdfoutput{\newcommand{\wikiicon}{\Pointinghand}}
+ {\newcommand{\wikiicon}{}}
+\newcommand{\wikilink}[1]{\wikiicon{}\href{\wikibaseurl#1}{#1}}
+%\newcommand{\wikilink}[1]{\url{http://www.rockbox.org/wiki/#1}}
% define environment "code" based on fancyvrb.
% use it to set code the user should type / see on his screen.