dash-docset-tensorflow
View TensorFlow docs in the dash/zeal offline docset browser.
To use, you can add this feed in Dash/Zeal:
https://raw.githubusercontent.com/ppwwyyxx/dash-docset-tensorflow/master/TensorFlow.xml
Or download the latest release here.
Steps to generate the docset
- Install dashing:
go get -u github.com/technosophos/dashing
pip install --user python-magic beautifulsoup4 lxml
cd THIS_REPO
wget -nc -np --compression=gzip --domains=www.tensorflow.org -e robots=off --adjust-extension -r 'https://www.tensorflow.org/api_docs/'
cp dashing.json icon*.png main.css www.tensorflow.org
./preprocess.sh www.tensorflow.org
cd www.tensorflow.org/
dashing build
will give you aTensorFlow.docset
folder.
Right now this dashing.json
only roughly parses function names (which is enough for most use cases).
Feel free to add more features and contribute!