Skip to content

Commit

Permalink
fix: Replace Universal Analytics tag with GA4 tag in the docs (#183)
Browse files Browse the repository at this point in the history
* Switch to GA4

* Use proper tracking ID
  • Loading branch information
doctorperceptron authored Jul 25, 2023
1 parent a9d5a9b commit 781caf7
Showing 1 changed file with 29 additions and 3 deletions.
32 changes: 29 additions & 3 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,35 @@

# xanadu theme options (see theme.conf for more information)
html_theme_options = {
"navbar_name": "PennyLane-Braket",
"toc_overview": True,
"navbar_active_link": 3,
# Set the path to a special layout to include for the homepage
# "index_template": "special_index.html",
# Set the name of the project to appear in the left sidebar.
"project_nav_name": "PennyLane-Braket",
# Set your Disqus short name to enable comments
# "disqus_comments_shortname": "pennylane-1",
# Set you GA account ID to enable tracking
"google_analytics_account": "G-C480Z9JL0D",
# Path to a touch icon
"touch_icon": "logo_new.png",
# Specify a base_url used to generate sitemap.xml links. If not
# specified, then no sitemap will be built.
# "base_url": ""
# Allow a separate homepage from the master_doc
# "homepage": "index",
# Allow the project link to be overriden to a custom URL.
# "projectlink": "http://myproject.url",
"large_toc": True,
# colors
"navigation_button": "#19b37b",
"navigation_button_hover": "#0e714d",
"toc_caption": "#19b37b",
"toc_hover": "#19b37b",
"table_header_bg": "#edf7f4",
"table_header_border": "#19b37b",
"download_button": "#19b37b",
# gallery options
# "github_repo": "XanaduAI/PennyLane",
# "gallery_dirs": "tutorials",
}

edit_on_github_project = "aws/amazon-braket-pennylane-plugin-python"
Expand Down

0 comments on commit 781caf7

Please sign in to comment.