Skip to content

Commit 7b10c69

Browse files
authored
GA code, toctree links (neuralmagic#32)
- added tracking for docs output - added help links for docs output
1 parent 77f10ec commit 7b10c69

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

docs/source/conf.py

+5
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,11 @@
8686
html_theme = "sphinx_rtd_theme"
8787
html_logo = "icon-sparsezoo.png"
8888

89+
html_theme_options = {
90+
'analytics_id': 'UA-128364174-1', # Provided by Google in your dashboard
91+
'analytics_anonymize_ip': False,
92+
}
93+
8994
# Add any paths that contain custom static files (such as style sheets) here,
9095
# relative to this directory. They are copied after the builtin static files,
9196
# so a file named "default.css" will overwrite the builtin "default.css".

docs/source/index.rst

+2-3
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,5 @@ Additionally, more information can be found via
113113
:maxdepth: 2
114114
:caption: Help and Support
115115

116-
`Bugs, Feature Requests <https://github.com/neuralmagic/sparsezoo/discussions>`_
117-
`Support, General Q&A <https://github.com/neuralmagic/sparsezoo/issues>`_
118-
116+
Bugs, Feature Requests <https://github.com/neuralmagic/sparsezoo/issues>
117+
Support, General Q&A <https://github.com/neuralmagic/sparsezoo/discussions>

0 commit comments

Comments
 (0)