Skip to content

Commit

Permalink
Update Sphinx support for Google Analytics
Browse files Browse the repository at this point in the history
Signed-off-by: Luciano Resende <[email protected]>
  • Loading branch information
lresende committed Nov 8, 2024
1 parent 7b15127 commit 758841e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
sphinx>=1.8
sphinx_rtd_theme
recommonmark>=0.6.0
sphinxcontrib-googleanalytics>=0.4
sphinx-markdown-tables>=0.0.16
sphinx-version-warning
markdown>=3.4.1
5 changes: 2 additions & 3 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
extensions = [
"sphinx_rtd_theme",
"recommonmark",
"sphinxcontrib.googleanalytics",
"sphinx_markdown_tables",
"versionwarning.extension",
]
Expand All @@ -81,9 +82,7 @@
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
# documentation.
html_theme_options = {
"analytics_id": "UA-169426804-1",
}
googleanalytics_id = "UA-169426804-1"

# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
Expand Down

0 comments on commit 758841e

Please sign in to comment.