File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff line change 11sphinx >= 7.0.0 ,< 9.0.0
22furo
33myst-parser
4+ sphinxcontrib-googleanalytics
Original file line number Diff line number Diff line change 3838 "sphinx.ext.napoleon" ,
3939 "sphinx.ext.todo" ,
4040 "myst_parser" ,
41+ "sphinxcontrib.googleanalytics" ,
4142 # Rez custom extension
4243 'rez_sphinxext'
4344]
117118
118119todo_emit_warnings = False
119120
121+ # -- Options for googleanalytics extension ----------------------------------
122+ # https://github.com/sphinx-contrib/googleanalytics
123+
124+ # ReadTheDocs used to support Google Analytics natively. But they no more do
125+ # since July 2024. See https://github.com/readthedocs/readthedocs.org/issues/9530#issuecomment-2233541583
126+
127+ if not os .environ .get ("READTHEDOCS" ):
128+ # Don't activate if run locally
129+ googleanalytics_enabled = False
130+
131+ # https://jira.linuxfoundation.org/plugins/servlet/desk/portal/2/IT-26436
132+ googleanalytics_id = "G-G11PX36QZS"
133+
120134
121135# -- Custom -----------------------------------------------------------------
122136
You can’t perform that action at this time.
0 commit comments