mandocset
mandocset copied to clipboard
Docset for Dash / Zeal generator
mandocset
This is python script (mandocset.py) that generates Dash docset from man pages. It takes folders with man pages as it's arguments. Then in each folder it finds all folders, containing digit in their name, runs man2html -r for each file inside them.
You can even generate docset of all manpages on your system (script supports mans compressed with gzip or bzip2), usually they are located at /usr/share/man.
By default script uses man2html utility. If you prefer pandoc just use -e "pandoc -f man -t html".
Some links to man pages
- manpages-posix
- linux man pages' git
How to run: python3 mandocset.py -o Linux_Man_Pages -p resourse/man-pages-4.09/ resourse/man-pages-posix-2013-a/ -i etc/tux.png -I etc/[email protected]. You may also view help: python3 mandocset.py -h.
Looking for linux manpages docset?
- Download
etc/Linux.docset.zipfrom this repo - Extract it to Linux.docset folder
- Move this folder to Zeal docsets (
C:\Users\%username%\AppData\Local\Zeal\Zeal\docsetsor~/.local/share/Zeal/Zeal/docsets/)