Dash DocSet for TensorFlow 2.x and 1.x
View TensorFlow docs in the dash/zeal offline docset browser.
To use, you can add this feed in Dash/Zeal:
https://raw.githubusercontent.com/m3hrdadfi/dash-tf-docset/master/TensorFlow.xml
Or download the latest release here.
pip install -r requirements.txt
| Python |
|---|
| 3.6 |
| 3.7 |
| 3.8 |
The code handles both manual and auto-generating techniques. Before going any further install Dashing Generator by Technosophos
In the manual section, you can generate the Dash DocSet for your TensorFlow version which created by Contribute to the TensorFlow documentation in markdown format by the following templates:
python gen.py -i {DIR_PATH} -o {DIR_PATH} -v {TENSORFLOW_VERSION}The sample command for generating DocSet for TensorFlow v1.13.0 in ./v1.13.0/html in which already made in markdown format in ./v1.13.0/markdown:
python gen.py -i ./v1.13.0/markdown ./v1.13.0/html -v 1.13.0In the automatic plan, you can generate your specific version of TensorFlow for your Dash DocSet using this command
python gen2.py -d {DIR_PATH} -v {TENSORFLOW_VERSION}The sample command for generating DocSet for TensorFlow v2.0.0:
python gen2.py -d ./output -v v2.0.0And finally for both manual and automatic parts after generating HTML output use this command to generate your custom Dash DocSet:
cd to_your_generated_html_directory
dashing buildThis code uses some of the functionalities of gen_tf_docset by Reuben Morais. I thank the author for his efforts.
Copyright (C) 2019, Mehrdad Farahani Licensed under the MIT license, see LICENSE file for details.
Copyright (C) 2019, Reuben Morais Licensed under the Mozilla Public License, version 2.0, see LICENSE file for details.
