mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-08 04:02:27 +00:00
docs: add google analytics tracking
This commit is contained in:
@@ -59,6 +59,7 @@ extensions = ['breathe',
|
||||
'extensions.html_redirects',
|
||||
'extensions.toctree_filter',
|
||||
'extensions.list_filter',
|
||||
'extensions.google_analytics',
|
||||
|
||||
# Note: order is important here, events must
|
||||
# be registered by one extension before they can be
|
||||
@@ -358,6 +359,8 @@ html_static_path = ['../_static']
|
||||
# Output file base name for HTML help builder.
|
||||
htmlhelp_basename = 'ReadtheDocsTemplatedoc'
|
||||
|
||||
google_analytics_id = os.environ['CI_GOOGLE_ANALYTICS_ID']
|
||||
|
||||
# -- Options for LaTeX output ---------------------------------------------
|
||||
|
||||
latex_template_dir = os.path.join(config_dir, 'latex_templates')
|
||||
|
Reference in New Issue
Block a user