Documentation: Drop analytics_id unless VERILATOR_ANALYTICS_ID set (#4333)

Co-authored-by: Ahmed El-Mahmoudy <aelmahmoudy@users.sourceforge.net>
This commit is contained in:
Wilson Snyder 2023-07-07 10:44:33 -04:00
parent d5d1cc47e0
commit 5749662194
2 changed files with 5 additions and 2 deletions

View File

@ -18,12 +18,16 @@
RST2HTML = rst2html
PYTHON3 = python3
DOXYGEN = doxygen
SPHINXOPTS ?= -c guide
SPHINXBUILD ?= sphinx-build
SOURCEDIR = guide
BUILDDIR = _build
SPHINXOPTS ?= -c guide
ifneq ($(VERILATOR_ANALYTICS_ID),)
SPHINXOPTS += -D html_theme_options.analytics_id=$(VERILATOR_ANALYTICS_ID)
endif
######################################################################
.SUFFIXES:

View File

@ -115,7 +115,6 @@ html_theme = 'sphinx_rtd_theme'
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
html_theme_options = {
'analytics_id': 'G-D27B0C9QEB',
'logo_only': True,
'style_nav_header_background': "#45acf8", # Default is #2980B9
# 'canonical_url':