dash-docset-tensorflow
dash-docset-tensorflow copied to clipboard
dash/zeal docset for TensorFlow 1 & 2
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 tqdm python-magic cchardet beautifulsoup4 lxml pygmentize
-
cd THIS_REPO
-
wget -nc -np --compression=gzip --domains=www.tensorflow.org -e robots=off --adjust-extension -r 'https://www.tensorflow.org/versions/r1.15/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!