Skip to content

Conversation

@GregHolmes
Copy link
Contributor

Description

Restructured llms.txt generation with product categorisation This update reorganises the generated llms.txt file from a flat list into a structured hierarchy with categories (Platform, Pub/Sub, Chat, Spaces, LiveObjects, LiveSync, Asset Tracking) and subcategories based on URL patterns. Added a more informative preamble describing Ably's core features, support for Kotlin and React languages, and logic to skip redundant language-specific URLs when the language already matches the page slug (e.g., prevents /getting-started/go?lang=go). The structured format improves LLM navigation and discovery of relevant documentation.

Attached an example of the llms.txt generated:

llms.txt

Build output:

info onPostBuild: Found 205 pages to place into llms.txt (26 textile, 179 MDX)
info onPostBuild: Successfully wrote llms.txt with 591 pages

@GregHolmes GregHolmes requested review from a team, kennethkalmer and m-hulbert October 16, 2025 09:13
@GregHolmes GregHolmes self-assigned this Oct 16, 2025
@coderabbitai
Copy link

coderabbitai bot commented Oct 16, 2025

Important

Review skipped

Auto reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch EDU-2101-Update-llms.txt-to-be-better-structured

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Member

@kennethkalmer kennethkalmer left a comment

Choose a reason for hiding this comment

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

@GregHolmes should we even have asset tracking in here since it is being deprecated?

@m-hulbert m-hulbert added the review-app Create a Heroku review app label Oct 17, 2025
@ably-ci ably-ci temporarily deployed to ably-docs-edu-2101-upda-addorf October 17, 2025 14:21 Inactive
Copy link
Contributor

@m-hulbert m-hulbert left a comment

Choose a reason for hiding this comment

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

This is a really great idea, Greg.

There's a few tweaks I think we need to make to Platform and Pub/Sub and I also wonder if we should look at breaking down other products too (at least maybe Chat and LiveObjects) into further categories. WDYT?

@GregHolmes GregHolmes force-pushed the EDU-2101-Update-llms.txt-to-be-better-structured branch from 95613e3 to 69fad7b Compare October 24, 2025 13:58
@GregHolmes
Copy link
Contributor Author

@GregHolmes should we even have asset tracking in here since it is being deprecated?

Yes and no, I think, until we actually deprecate it we should keep it. Then remove when the big changes are made.

@GregHolmes GregHolmes requested a review from m-hulbert October 27, 2025 10:20
@m-hulbert m-hulbert added review-app Create a Heroku review app and removed review-app Create a Heroku review app labels Nov 4, 2025
Copy link
Contributor

@m-hulbert m-hulbert left a comment

Choose a reason for hiding this comment

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

This looks a lot better, just a few things:

  • All the Pub/Sub API refs (+ REST API) are mixed in together (and REST and realtime have pages named the same thing, so it's quite confusing).
  • Control API reference is missing.
  • Some pages aren't generating in multiple langs (e.g. basic auth)

@GregHolmes GregHolmes force-pushed the EDU-2101-Update-llms.txt-to-be-better-structured branch from 563c3da to d8e9d91 Compare November 5, 2025 12:46
@GregHolmes GregHolmes temporarily deployed to ably-docs-edu-2101-upda-1gufec November 5, 2025 12:47 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

review-app Create a Heroku review app

Development

Successfully merging this pull request may close these issues.

5 participants