mirror of
https://github.com/verilator/verilator.git
synced 2025-04-05 12:12:39 +00:00
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:
parent
d5d1cc47e0
commit
5749662194
@ -18,12 +18,16 @@
|
|||||||
RST2HTML = rst2html
|
RST2HTML = rst2html
|
||||||
PYTHON3 = python3
|
PYTHON3 = python3
|
||||||
DOXYGEN = doxygen
|
DOXYGEN = doxygen
|
||||||
SPHINXOPTS ?= -c guide
|
|
||||||
SPHINXBUILD ?= sphinx-build
|
SPHINXBUILD ?= sphinx-build
|
||||||
|
|
||||||
SOURCEDIR = guide
|
SOURCEDIR = guide
|
||||||
BUILDDIR = _build
|
BUILDDIR = _build
|
||||||
|
|
||||||
|
SPHINXOPTS ?= -c guide
|
||||||
|
ifneq ($(VERILATOR_ANALYTICS_ID),)
|
||||||
|
SPHINXOPTS += -D html_theme_options.analytics_id=$(VERILATOR_ANALYTICS_ID)
|
||||||
|
endif
|
||||||
|
|
||||||
######################################################################
|
######################################################################
|
||||||
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
|
@ -115,7 +115,6 @@ html_theme = 'sphinx_rtd_theme'
|
|||||||
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
|
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
|
||||||
|
|
||||||
html_theme_options = {
|
html_theme_options = {
|
||||||
'analytics_id': 'G-D27B0C9QEB',
|
|
||||||
'logo_only': True,
|
'logo_only': True,
|
||||||
'style_nav_header_background': "#45acf8", # Default is #2980B9
|
'style_nav_header_background': "#45acf8", # Default is #2980B9
|
||||||
# 'canonical_url':
|
# 'canonical_url':
|
||||||
|
Loading…
Reference in New Issue
Block a user