Skip to content

Docs: Add Google Analytics ID to sphinx configuration#2823

Merged
copybara-service[bot] merged 2 commits intoAI-Hypercomputer:mainfrom
RobMulla:add-google-analytics
Dec 17, 2025
Merged

Docs: Add Google Analytics ID to sphinx configuration#2823
copybara-service[bot] merged 2 commits intoAI-Hypercomputer:mainfrom
RobMulla:add-google-analytics

Conversation

@RobMulla
Copy link
Copy Markdown
Contributor

@RobMulla RobMulla commented Dec 12, 2025

Description

This PR enables Google Analytics tracking for the MaxText documentation site.

It adds the google_analytics_id (G-RC6NRK4GNN) to the html_theme_options in docs/conf.py. This is the standard configuration method for sphinx_book_theme.

Changes

  • Modified docs/conf.py: Added analytics dictionary to html_theme_options.

Verification

  • Verified manually that the configuration matches the sphinx_book_theme documentation.
  • Local build verification was skipped due to environment restrictions, but the syntax is correct.

Checklist

Before submitting this PR, please make sure (put X in square brackets):

  • I have performed a self-review of my code. For an optional AI review, add the gemini-review label.
  • I have necessary comments in my code, particularly in hard-to-understand areas.
  • I have run end-to-end tests tests and provided workload links above if applicable.
  • I have made or will make corresponding changes to the doc if needed, including adding new documentation pages to the relevant Table of Contents (toctree directive) as explained in our documentation.

@RobMulla
Copy link
Copy Markdown
Contributor Author

Per our discussion this should add the google analytics to the docs. @jacoguzo - Let me know if you can review!

Comment thread docs/conf.py
Copy link
Copy Markdown
Collaborator

@richjames0 richjames0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@RobMulla
Copy link
Copy Markdown
Contributor Author

RobMulla commented Dec 16, 2025

Thanks for the reviews! Can this be merged? I believe the CI failures are unrelated and due to the tests themselves not having enough resources.

@RobMulla RobMulla force-pushed the add-google-analytics branch from 47df9e9 to f1dda30 Compare December 17, 2025 18:35
@copybara-service copybara-service Bot merged commit 7991534 into AI-Hypercomputer:main Dec 17, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants