Skip to content

Commit

Permalink
feat: update docs with analytics and sitemap
Browse files Browse the repository at this point in the history
  • Loading branch information
hartym committed Feb 1, 2024
1 parent 8b33e81 commit 8f79fdb
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/_templates/sidebar/analytics.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<script async src="https://www.googletagmanager.com/gtag/js?id=G-N70DVZ38R7"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());

gtag('config', 'G-N70DVZ38R7');
</script>
12 changes: 12 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,18 @@
html_theme = "furo"
html_static_path = ["_static"]
html_js_files = ["js/links-target-blank.js"]
html_baseurl = "https://msqd.github.io/harp/"

html_sidebars = {
"**": [
"sidebar/analytics.html",
"sidebar/scroll-start.html",
"sidebar/brand.html",
"sidebar/search.html",
"sidebar/navigation.html",
"sidebar/scroll-end.html",
]
}

todo_include_todos = True
html_show_sphinx = False
Expand Down

0 comments on commit 8f79fdb

Please sign in to comment.