Skip to content

Commit

Permalink
[DOCS] Sphinx -- Introduce alias detection. (apache#4954)
Browse files Browse the repository at this point in the history
* [DOCS] Sphinx -- Introduce alias detection.

Background: some of our namespaces import function from another
namespace. For example tvm.te imports most of the operators from tvm.tir.

Previously we manually exclude these aliases from the doc.
However that means we can not link them by the alias name.

This PR adds a sphinx callback plugin to detect such aliases, and create a rubric block
on the button of its current docstring `Alias of the original class`.
It is done in a way so that we can refer to the generated docs.

We also fixed a few docs errors.

* Fix most of the issues
  • Loading branch information
tqchen authored Feb 27, 2020
1 parent 23657d2 commit 28958c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tutorials/frontend/deploy_detection.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# under the License.
"""
Deploy Pretrained Vision Detection Model from Darknet on VTA
================================================
============================================================
**Author**: `Hua Jiang <https://github.com/huajsj>`_
This tutorial provides an end-to-end demo, on how to run Darknet YoloV3-tiny
Expand Down

0 comments on commit 28958c6

Please sign in to comment.