Skip to content

Commit 4b0b09d

Browse files
committed
docs: Add gtags ID
1 parent c37a868 commit 4b0b09d

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

docs/conf.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,16 @@
2020

2121
# -- General configuration ---------------------------------------------------
2222

23-
# If extensions (or modules to document with autodoc) are in another directory,
24-
# add these directories to sys.path here. If the directory is relative to the
25-
# documentation root, use os.path.abspath to make it absolute, like shown here.
26-
sys.path.insert(0, os.path.abspath('../src/sphinxnotes'))
27-
2823
# Add any Sphinx extension module names here, as strings. They can be
2924
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
3025
# ones.
3126
extensions = [
3227
'sphinx.ext.githubpages',
28+
'sphinxcontrib.gtagjs',
3329
]
3430

31+
gtagjs_ids = ['G-E4SNX0WZYV']
32+
3533
# Add any paths that contain templates here, relative to this directory.
3634
templates_path = ['_templates']
3735

docs/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
furo
2+
sphinxcontrib-gtagjs

0 commit comments

Comments
 (0)