Skip to content

Conversation

@josh-wong
Copy link
Member

Description

This PR removes the robots.txt file, which previously restricted search engines from indexing older documentation versions while allowing the latest version. This change means there are no longer any explicit instructions for web crawlers regarding which documentation pages to index or exclude.

Note

We've decided to allow search engines to crawl all versions of the site again so that we can experiment with using Google Search on the docs site. Allowing for multiple versions by using Google Search on the docs site would be more user-friendly since not all users will be on the latest version.

So that unsupported versions of docs aren't included, we should try to start working on moving those unsupported versions of docs to a dedicated archive site.

Related issues and/or PRs

Changes made

  • Deleted the robots.txt file.

Checklist

The following is a best-effort checklist. If any items in this checklist are not applicable to this PR or are dependent on other, unmerged PRs, please still mark the checkboxes after you have read and understood each item.

  • I have updated the side navigation as necessary.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have updated the documentation to reflect the changes.
  • Any remaining open issues linked to this PR are documented and up-to-date (Jira, GitHub, etc.).
  • My changes generate no new warnings.
  • Any dependent changes in other PRs have been merged and published.

Additional notes (optional)

N/A

We've decided to allow search engines to crawl all versions of the site again so that we can experiment with using Google Search on the docs site.
@josh-wong josh-wong requested review from feeblefakie and jnmt October 24, 2025 00:10
@josh-wong josh-wong self-assigned this Oct 24, 2025
@josh-wong josh-wong added the improvement Improvements made to an existing feature label Oct 24, 2025
@gemini-code-assist
Copy link

Summary of Changes

Hello @josh-wong, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request reverses a previous decision to restrict search engine indexing of older documentation versions by deleting the robots.txt file. The primary purpose of this change is to enable comprehensive search capabilities across all documentation versions, facilitating an experiment with Google Search on the docs site. This aims to improve the user experience for individuals who may not always be on the latest documentation version, with a future plan to archive unsupported versions.

Highlights

  • robots.txt Removal: The robots.txt file has been deleted, removing all previous restrictions on search engine crawling.
  • Enhanced Searchability: This change allows search engines to index all versions of the documentation, not just the latest, to support experimentation with Google Search on the docs site.
  • Improved User Experience: The goal is to provide a more user-friendly experience by enabling users to find relevant documentation regardless of the version they are currently using.
  • Future Archiving Plan: A future initiative is planned to move unsupported documentation versions to a dedicated archive site to manage content effectively.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request removes the robots.txt file to allow search engines to index all versions of the documentation. While this achieves the immediate goal, it introduces a significant risk of negative SEO impact due to duplicate content and can lead to user confusion when they land on outdated documentation via search engines. My review includes a critical recommendation to implement canonical URLs to mitigate these issues, which is a standard best practice for versioned documentation.

Copy link
Collaborator

@feeblefakie feeblefakie left a comment

Choose a reason for hiding this comment

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

LGTM! Thank you!

Copy link
Contributor

@jnmt jnmt left a comment

Choose a reason for hiding this comment

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

LGTM, thank you!

@josh-wong josh-wong merged commit 20c72ab into main Oct 30, 2025
1 check passed
@josh-wong josh-wong deleted the remove-robots.txt branch October 30, 2025 01:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

improvement Improvements made to an existing feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants