This repository was archived by the owner on Sep 17, 2026. It is now read-only.
Conversation
commit 76269d5191da3e12050d8bc60e485a5f470d50d8
Author: Can Burak Sofyalioglu <canburak@msn.com>
Date: Tue Apr 29 04:53:57 2025 +0300
trigger path was updated
commit 528522de7ab4d2fdcaee34e6e4cc77a891b3b86e
Author: Can Burak Sofyalioglu <canburak@msn.com>
Date: Tue Apr 29 04:52:28 2025 +0300
Squashed commit of the following:
commit dc4fa10360137823a39d89d90edc8a0f1a57eba6
Author: Can Burak Sofyalioglu <canburak@msn.com>
Date: Tue Apr 29 04:51:43 2025 +0300
feat/llms-txt
commit a322742
Author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Date: Tue Apr 29 01:11:21 2025 +0000
chore: Auto-generate llms.txt and llms-full.txt
commit d26a7c7
Author: Can Burak Sofyalioglu <canburak@msn.com>
Date: Tue Apr 29 04:11:05 2025 +0300
Markdown link text shows the SDK module name
commit 67894d7
Author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Date: Tue Apr 29 01:03:16 2025 +0000
chore: Auto-generate llms.txt and llms-full.txt
commit c7d7b60
Merge: 2d1cc27 1821db3
Author: Can Burak Sofyalioglu <canburak@msn.com>
Date: Tue Apr 29 04:02:59 2025 +0300
Merge branch 'llms-txt' of https://github.com/canburaks/polar-python into llms-txt
commit 2d1cc27
Author: Can Burak Sofyalioglu <canburak@msn.com>
Date: Tue Apr 29 04:02:45 2025 +0300
correct repo name variable was set
commit 1821db3
Author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Date: Tue Apr 29 00:51:29 2025 +0000
chore: Auto-generate llms.txt and llms-full.txt
commit d39e877
Author: Can Burak Sofyalioglu <canburak@msn.com>
Date: Tue Apr 29 03:51:12 2025 +0300
broken links was fixed
commit 9f14d27
Author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Date: Mon Apr 28 10:12:42 2025 +0000
chore: Auto-generate llms.txt and llms-full.txt
commit 9ec074f
Author: Can Burak Sofyalioglu <canburak@msn.com>
Date: Mon Apr 28 13:11:27 2025 +0300
raw file url link was fixed
commit 473b1f5
Author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Date: Mon Apr 28 09:52:34 2025 +0000
chore: Auto-generate llms.txt and llms-full.txt
commit 287f492
Author: Can Burak Sofyalioglu <canburak@msn.com>
Date: Mon Apr 28 12:51:20 2025 +0300
raw url usage for llms-full.txt
The llms-full.txt file will use raw GitHub URLs rather than relative URLs.
commit 5fb33ee
Author: Can Burak Sofyalioglu <canburak@msn.com>
Date: Mon Apr 28 12:21:14 2025 +0300
Create llms.txt
llms.txt and llms-full.txt files have been generated.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR introduces an automated process using GitHub Actions to generate and maintain
llms.txtandllms-full.txtbased on the SDK's Markdown documentation.This follows prior discussion on email regarding this feature. Evaluating the suggestion to utilize the existing Speakeasy generation process revealed that implementing it directly could introduce unnecessary complexity and maintenance overhead compared to a dedicated solution.
Description
This PR introduces an automated process for generating and updating
llms.txtandllms-full.txtfiles based on the project's documentation. This ensures these files remain accurate and up-to-date with minimal manual intervention, improving the project's discoverability and usability for AI agents and language models.Changes Introduced
Python Generation Script (.github/scripts/generate_llms_files.py):
pyproject.toml.docs/sdks) for Markdown (.md) files.llms.txt:## Sdks Files) based on the source directory..mdfiles.llms-full.txt.--base-urlor relative links otherwise.llms-full.txt:llms.txt..mdfile under a## Content: <filepath>heading.GitHub Actions Workflow (.github/workflows/generate-llms-txt.yml):
docs/sdks/**,pyproject.toml, the script, or the workflow itself. Also supports manual triggers (workflow_dispatch).tomldependency.github.refto includerefs/heads/...).docs/sdks) and the constructed base URL.stefanzweifel/git-auto-commit-actionto automatically commit changes only tollms.txtandllms-full.txtdirectly to the branch, using thegithub-actions[bot]user.Benefits
llms.txtfiles when documentation changes.llms.txtspecification and correct link/heading formatting.How to Verify
docs/sdks/on the main branch should trigger the action and result in an automatic commit updatingllms.txtandllms-full.txtif necessary.branch nameto.github/workflows/generate-llms-txt.ymlfile underon -> push -> paths.Happy to make any necessary changes based on feedback!