mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-23 19:32:23 +00:00
Add Google Analytics to python apidocs (#13901)
This commit is contained in:
parent
db9c677b63
commit
21dd341e52
3 changed files with 9 additions and 2 deletions
3
.github/workflows/publish-python-apidocs.yml
vendored
3
.github/workflows/publish-python-apidocs.yml
vendored
|
|
@ -2,7 +2,8 @@ name: Update Python API Docs
|
|||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
publish:
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@ extensions = [
|
|||
"sphinx_gallery.gen_gallery",
|
||||
"sphinx.ext.graphviz",
|
||||
"pyquickhelper.sphinxext.sphinx_runpython_extension",
|
||||
"sphinxcontrib.googleanalytics",
|
||||
]
|
||||
|
||||
templates_path = ["_templates"]
|
||||
|
|
@ -57,6 +58,10 @@ html_logo = "ONNX_Runtime_icon.png"
|
|||
html_static_path = ["_static"]
|
||||
graphviz_output_format = "svg"
|
||||
|
||||
# -- Options for Google Analytics -------------------------------------------------
|
||||
|
||||
googleanalytics_id = "UA-156955408-1"
|
||||
|
||||
# -- Options for intersphinx extension ---------------------------------------
|
||||
|
||||
# Example configuration for intersphinx: refer to the Python standard library.
|
||||
|
|
|
|||
|
|
@ -5,6 +5,7 @@ skl2onnx
|
|||
sphinx
|
||||
sphinx-gallery
|
||||
sphinxcontrib.imagesvg
|
||||
sphinxcontrib.googleanalytics
|
||||
sphinx_rtd_theme
|
||||
pyquickhelper
|
||||
pandas
|
||||
|
|
@ -15,4 +16,4 @@ numpy
|
|||
packaging
|
||||
protobuf
|
||||
sympy
|
||||
onnx
|
||||
onnx
|
||||
|
|
|
|||
Loading…
Reference in a new issue