Add Google Analytics to python apidocs (#13901)

This commit is contained in:
Nat Kershaw (MSFT) 2022-12-09 15:44:12 -08:00 committed by GitHub
parent db9c677b63
commit 21dd341e52
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 2 deletions

View file

@ -2,7 +2,8 @@ name: Update Python API Docs
on:
push:
branches:
- master
- main
workflow_dispatch:
jobs:
publish:

View file

@ -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.

View file

@ -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