Skip to content

build: Dumping Content to dist folders on build for LLM guidance.#3020

Draft
scotttjob wants to merge 1 commit intomasterfrom
scott_t/content-dump
Draft

build: Dumping Content to dist folders on build for LLM guidance.#3020
scotttjob wants to merge 1 commit intomasterfrom
scott_t/content-dump

Conversation

@scotttjob
Copy link
Copy Markdown
Contributor

Motivations

  1. We're seeing that LLMs are just reaching locally for context more and more, so why not provide it?
  2. This PR moves our generated props, and documentation into the dist folders of both web + mobile.
  3. There is an opportunity to augment both folders with Agent.md files to guide the LLMs further on how to browse the dist folder.

Changes

  1. Added a new script that copies content from the docs site to the components/dist and components-native/dist folders
  2. In theory, this should better guide LLMs using our code and guidance.

Added

  • A new script that runs on build to copy docs to dist folders. Will test with a pre-release build.

Changes can be
tested via Pre-release


In Atlantis we use Github's built in pull request reviews.

@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying atlantis with  Cloudflare Pages  Cloudflare Pages

Latest commit: 4f27a99
Status: ✅  Deploy successful!
Preview URL: https://d753fa69.atlantis.pages.dev
Branch Preview URL: https://scott-t-content-dump.atlantis.pages.dev

View logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant