Skip to content

Commit

Permalink
website: add Google Analytics to envoymobile.io (#2681)
Browse files Browse the repository at this point in the history
Signed-off-by: JP Simard <[email protected]>
  • Loading branch information
jpsim authored Nov 16, 2022
1 parent 91b1dfe commit c262ec2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def setup(app):
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = ['sphinxcontrib.httpdomain', 'sphinx.ext.extlinks', 'sphinx.ext.ifconfig']
extensions = ['sphinxcontrib.httpdomain', 'sphinx.ext.extlinks', 'sphinx.ext.ifconfig', 'sphinxcontrib.googleanalytics']
extlinks = {
'issue': ('https://github.com/envoyproxy/envoy-mobile/issues/%s', ''),
'repo': ('https://github.com/envoyproxy/envoy-mobile/blob/{}/%s'.format(blob_sha), ''),
Expand Down Expand Up @@ -254,3 +254,6 @@ def setup(app):

# Output file base name for HTML help builder.
htmlhelp_basename = 'envoydoc'

# Google Analytics tag ID
googleanalytics_id = 'G-DXJEH1ZRXX'
2 changes: 2 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ sphinxcontrib-htmlhelp==2.0.0 \
sphinxcontrib-httpdomain==1.8.0 \
--hash=sha256:a3396d6350728d574f52458b400f0ac848f8b6913bd41fed95d391d3ffbbade3 \
--hash=sha256:2059cfabd0cca8fcc3455cc8ffad92f0915a7d3bb03bfddba078a6a0f35beec5
sphinxcontrib-googleanalytics==0.2.dev20220708 \
--hash=sha256:2ed8454faf1795393e91ff5a8e21a4c9ebf700a16502b50b15456ad0b672b831
sphinxcontrib-jsmath==1.0.1 \
--hash=sha256:2ec2eaebfb78f3f2078e73666b1415417a116cc848b72e5172e596c871103178 \
--hash=sha256:a9925e4a4587247ed2191a22df5f6970656cb8ca2bd6284309578f2153e0c4b8
Expand Down

0 comments on commit c262ec2

Please sign in to comment.