ppwwyyxx / dash-docset-tensorflow

dash/zeal docset for TensorFlow 1 & 2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dash-docset-tensorflow

screenshot

View TensorFlow docs in the dash/zeal offline docset browser.

To use, you can add the following feeds in Dash/Zeal:

https://raw.githubusercontent.com/ppwwyyxx/dash-docset-tensorflow/master/TensorFlow2.xml

Or download the latest release here.

Steps to generate the docset (TF 2.10)

# Install dashing
go get -u github.com/technosophos/dashing
pip install --user tqdm beautifulsoup4 lxml pygments misaka
pip install --user -U git+https://github.com/tensorflow/docs
cd to [tensorflow repo]/tensorflow/tools/docs
python generate2.py --code_url_prefix "https://github.com/tensorflow/tensorflow/blob/v2.10.0/tensorflow/" --output_dir=/tmp/tf_generated_docs
cd to this repo
# Manually update version in `meta.json`
./generate-docset.sh /tmp/tf_generated_docs/
# "TensorFlow 2.docset" will now be generated under ./html

For TensorFlow 1 docs, see ./TF1.

Developer notes:

  • Check class & method names at tf.queue.QueueBase
  • Check Latex rendering at tf.math.in_top_k
  • Check href at tf.gather

About

dash/zeal docset for TensorFlow 1 & 2

License:Apache License 2.0


Languages

Language:CSS 96.1%Language:Python 2.8%Language:HTML 0.7%Language:Shell 0.3%