forked from Telodendria/Telodendria
Make mandoc link to man pages
Now web users can just click on the references and be taken to that page. Unfortunately this generates a lot of broken links as well, for example all the times I like to a system manual page that I don't copy to the web server.
This commit is contained in:
parent
8d203f6cb8
commit
d61770c772
1 changed files with 1 additions and 1 deletions
|
@ -165,7 +165,7 @@ recipe_site() {
|
|||
html=$(basename "$man")
|
||||
|
||||
mkdir -p "$TELODENDRIA_PUB/$dir/"
|
||||
mandoc -Thtml -O style=/style.css "$man" > "$TELODENDRIA_PUB/$dir/$html.html"
|
||||
mandoc -Thtml -O style=/style.css,man=/man/man%S/%N.%S.html "$man" > "$TELODENDRIA_PUB/$dir/$html.html"
|
||||
echo "$man -> $TELODENDRIA_PUB/$dir/$html.html"
|
||||
done
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue