-
Notifications
You must be signed in to change notification settings - Fork 67
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
chore: Adds GH action to trigger generate_llmstxt.py, testing action #3047
base: llms-txt
Are you sure you want to change the base?
Conversation
Preview this PR with FeatureBee: https://beta.wandb.ai/?betaVersion=1d1a1c2fe19899c71a378e043857290820a94afd |
@scottire this is about 99% ready to go. Commit history is a little confusing, because I was fumbling around with testing for a bit. Anyways, confirmed that the llms.txt was autogenerated and pushed to this test branch in d39df34. So I think the remaining todo here is to update the action logic so that it pushes to main. LMk if you think we should add other logic here. Once that's done, I was thinking we could just squash and merge into your #3045. LMK if that works |
Description
Spawned off of #3045. The goal of this PR is to add a GH action to trigger docs/scripts/generate_llmstxt.py created in #3045 and serve as a testing branch for the new action.
What this PR does:
.github/workflows/generate-llms.yaml
to triggerdocs/scripts/generate_llmstxt.py
pyproject.toml
, add new entryllmspy = ["PyYAML>=6.0"]
in[project.optional-dependencies]
for use by hatch in creating env to run scriptdocs/scripts/generate_llmstxt.py
with logic to get right directory before calling script[on.push.branches]
Testing
python3 scripts/generate_llmstxt.py
-> runs script and generates expected folders instatic
dir