1
0
Fork 0
forked from len0rd/rockbox

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
This commit is contained in:
Dominik Riebeling 2007-09-24 22:39:24 +00:00
parent 62c1a87df4
commit 7255bdbb6a
2 changed files with 12 additions and 2 deletions

View file

@ -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}
\input{getting_started/installation.tex}

View file

@ -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.