Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
Upgrade sphinx and extensions.
Change how ga tag is inserted. Readthedocs has removed the option to
inject the tag via their configuration, so now we have to do it via the
sphinx-googleanalytics contrib extension.
  • Loading branch information
raphaeltimbo committed Nov 18, 2024
1 parent 3ff58df commit 29cb09b
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
5 changes: 4 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,10 @@

# General information about the project.
project = "ccp"
copyright = "2023"
copyright = "2024"
author = "ccp devs"
googleanalytics_id = "G-GY4B3R42HW"


# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
Expand Down Expand Up @@ -54,6 +56,7 @@
"sphinx.ext.mathjax",
"sphinx_design",
"numpydoc",
"sphinxcontrib.googleanalytics",
]

bibtex_bibfiles = ["references.bib"]
Expand Down
17 changes: 9 additions & 8 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
sphinx==4.5.0
myst_nb==0.17.1
sphinxcontrib-bibtex==2.5.0
sphinx-copybutton==0.5.1
numpydoc==1.5.0
sphinx-book-theme==0.3.3
linkify-it-py==2.0.0
sphinx-design==0.4.1
sphinx==7.2.6
myst-nb==1.1.0
sphinxcontrib-bibtex==2.6.2
sphinx-copybutton==0.5.2
numpydoc==1.7.0
sphinx-book-theme==1.1.2
linkify-it-py==2.0.3
sphinx_design==0.5.0
sphinxcontrib-googleanalytics==0.4

0 comments on commit 29cb09b

Please sign in to comment.