yanpas / mandocset Goto Github PK
View Code? Open in Web Editor NEWDocset for Dash / Zeal generator
Docset for Dash / Zeal generator
Hi Yan
Thanks a lot for your work.
I'm not a Pyhton guy, so I can't code this myself. Would be great though if you could render the -p /man/page/dir [/additional/man/page/dir]
optional and instead use the output of man -w
as source scanning man page directories.
Yours,
M. Zimmer
Awesome tool, thank you!
I made myself docset with the man pages found in an Amazon Linux 2 system.
Roughly, by doing this on an Amazon Linux 2 EC2 instance:
git clone https://github.com/Yanpas/mandocset.git
sudo yum install -y python3
sudo yum install โy https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
sudo yum-config-manager --enable epel
sudo yum install -y man2html
python3 mandocset.py -o Amzn2 -p /usr/share/man/ -i etc/tux.png -I etc/[email protected]
Then I copied that back to laptop, like so:
cd ~/.docsets
ssh $ec2_instance tar -C w/mandocset -c Amzn2.docset | tar -x
This docset works great, but for one flaw.
The individual pages are to found at url's like so:
file:////Users/bhyde/.docsets/Amzn2.docset/Contents/Resources/Documents/man1/systemctl.1.gz.html
But the embedded links look like so:
file:////Users/bhyde/.docsets/Amzn2.docset/Contents/Resources/Documents/man1/systemctl.1.html
this script works well with downloaded manpages, I tried to run it against /usr/share/man but the generate docset can not be displayed in zeal, it will be nice to generate docset directly from /usr/share/man
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.