Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace Universal Analytics tag with GA4 tag in the docs #183

Merged
merged 8 commits into from
Jul 25, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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