henry000 commited on
Commit
a588206
Β·
1 Parent(s): d477c67

πŸ“ [Update] docs by including autolabel and code

Browse files
docs/0_get_start/0_quick_start.rst CHANGED
@@ -5,6 +5,7 @@ Quick Start
5
  We expect all customizations to be done primarily by passing arguments or modifying the YAML config files.
6
  If more detailed modifications are needed, custom content should be modularized as much as possible to avoid extensive code modifications.
7
 
 
8
  Install YOLO
9
  ------------
10
 
 
5
  We expect all customizations to be done primarily by passing arguments or modifying the YAML config files.
6
  If more detailed modifications are needed, custom content should be modularized as much as possible to avoid extensive code modifications.
7
 
8
+ .. _QuickInstallYOLO:
9
  Install YOLO
10
  ------------
11
 
docs/1_tutorials/1_validation.rst CHANGED
@@ -1,5 +1,3 @@
1
- .. _Validation:
2
-
3
  Validation
4
  ==========
5
 
 
 
 
1
  Validation
2
  ==========
3
 
docs/1_tutorials/2_inference.rst CHANGED
@@ -1,5 +1,3 @@
1
- .. _Inference:
2
-
3
  Inference
4
  ==========
5
 
 
 
 
1
  Inference
2
  ==========
3
 
docs/2_model_zoo/1_segmentation.rst CHANGED
@@ -1,8 +1,11 @@
1
  Segmentations
2
  =============
 
3
 
4
  YOLOv7
5
  ------
6
 
 
 
7
  YOLOv9
8
  ------
 
1
  Segmentations
2
  =============
3
+ .. _YOLOv7-seg:
4
 
5
  YOLOv7
6
  ------
7
 
8
+ .. _YOLOv9-seg:
9
+
10
  YOLOv9
11
  ------
docs/3_custom/0_model.rst CHANGED
@@ -1,4 +1,2 @@
1
- .. _Model:
2
-
3
  Model
4
  =====
 
 
 
1
  Model
2
  =====
docs/3_custom/2_loss.rst CHANGED
@@ -1,4 +1,2 @@
1
- .. _Loss:
2
-
3
  Loss
4
  ====
 
 
 
1
  Loss
2
  ====
docs/3_custom/3_task.rst CHANGED
@@ -1,4 +1,2 @@
1
- .. _Task:
2
-
3
- Task
4
- ====
 
1
+ Custom Task
2
+ ===========
 
 
docs/5_features/0_small_object.rst CHANGED
@@ -1,4 +1,2 @@
1
- .. _Small Object:
2
-
3
  Small Object
4
  ============
 
 
 
1
  Small Object
2
  ============
docs/5_features/1_version_convert.rst CHANGED
@@ -1,4 +1,2 @@
1
- .. _Version Convert:
2
-
3
  Version Convert
4
  ===============
 
 
 
1
  Version Convert
2
  ===============
docs/5_features/2_IPython.rst CHANGED
@@ -1,4 +1,2 @@
1
- .. _IPython:
2
-
3
  IPython
4
  =======
 
 
 
1
  IPython
2
  =======
docs/conf.py CHANGED
@@ -19,8 +19,13 @@ import sys
19
  sys.path.insert(0, os.path.abspath(".."))
20
 
21
  extensions = [
22
- "sphinx.ext.autodoc",
23
  "sphinx_rtd_theme",
 
 
 
 
 
 
24
  "myst_parser",
25
  ]
26
 
 
19
  sys.path.insert(0, os.path.abspath(".."))
20
 
21
  extensions = [
 
22
  "sphinx_rtd_theme",
23
+ "sphinxcontrib.mermaid",
24
+ "sphinx.ext.autodoc",
25
+ "sphinx.ext.autosectionlabel",
26
+ "sphinx.ext.viewcode",
27
+ "sphinx.ext.napoleon",
28
+ "linuxdoc.rstFlatTable",
29
  "myst_parser",
30
  ]
31
 
docs/index.rst CHANGED
@@ -22,14 +22,14 @@ Explore our documentation:
22
 
23
 
24
  .. toctree::
25
- :maxdepth: 2
26
  :caption: Get Started
27
 
28
  0_get_start/0_quick_start
29
  0_get_start/1_installations
30
 
31
  .. toctree::
32
- :maxdepth: 2
33
  :caption: Tutorials
34
 
35
  1_tutorials/0_train
@@ -38,7 +38,7 @@ Explore our documentation:
38
 
39
 
40
  .. toctree::
41
- :maxdepth: 2
42
  :caption: Model Zoo
43
 
44
  2_model_zoo/0_object_detection
@@ -46,7 +46,7 @@ Explore our documentation:
46
  2_model_zoo/2_classification
47
 
48
  .. toctree::
49
- :maxdepth: 2
50
  :caption: Custom YOLO
51
 
52
  3_custom/0_model
@@ -56,7 +56,7 @@ Explore our documentation:
56
 
57
 
58
  .. toctree::
59
- :maxdepth: 2
60
  :caption: Deploy
61
 
62
  4_deploy/1_deploy
@@ -65,7 +65,7 @@ Explore our documentation:
65
 
66
 
67
  .. toctree::
68
- :maxdepth: 2
69
  :caption: Features
70
 
71
  5_features/0_small_object
@@ -73,7 +73,7 @@ Explore our documentation:
73
  5_features/2_IPython
74
 
75
  .. toctree::
76
- :maxdepth: 2
77
  :caption: Function Docs
78
 
79
  6_function_docs/0_solver
 
22
 
23
 
24
  .. toctree::
25
+ :maxdepth: 1
26
  :caption: Get Started
27
 
28
  0_get_start/0_quick_start
29
  0_get_start/1_installations
30
 
31
  .. toctree::
32
+ :maxdepth: 1
33
  :caption: Tutorials
34
 
35
  1_tutorials/0_train
 
38
 
39
 
40
  .. toctree::
41
+ :maxdepth: 1
42
  :caption: Model Zoo
43
 
44
  2_model_zoo/0_object_detection
 
46
  2_model_zoo/2_classification
47
 
48
  .. toctree::
49
+ :maxdepth: 1
50
  :caption: Custom YOLO
51
 
52
  3_custom/0_model
 
56
 
57
 
58
  .. toctree::
59
+ :maxdepth: 1
60
  :caption: Deploy
61
 
62
  4_deploy/1_deploy
 
65
 
66
 
67
  .. toctree::
68
+ :maxdepth: 1
69
  :caption: Features
70
 
71
  5_features/0_small_object
 
73
  5_features/2_IPython
74
 
75
  .. toctree::
76
+ :maxdepth: 1
77
  :caption: Function Docs
78
 
79
  6_function_docs/0_solver
docs/requirements.txt CHANGED
@@ -1,3 +1,5 @@
 
 
1
  sphinx
2
  sphinx_rtd_theme
3
- myst-parser
 
1
+ myst-parser
2
+ linuxdoc
3
  sphinx
4
  sphinx_rtd_theme
5
+ sphinxcontrib-mermaid