Skip to content

look at local files first#8

Merged
jph00 merged 1 commit into
mainfrom
local-first
Sep 13, 2024
Merged

look at local files first#8
jph00 merged 1 commit into
mainfrom
local-first

Conversation

@hamelsmu

@hamelsmu hamelsmu commented Sep 13, 2024

Copy link
Copy Markdown
Contributor

Problem: When you build the context right now, it pulls from the URL. However, what if the URL correpsonds to the current nbdev repo? We should be smart enough to pull from the local generated docs rather than the URL so we don't have to run things twice!

If we want to automate the llms-ctx*.txt creation when we build the docs, I think we need a way to do this?

How to test:

  1. Install this branch
  2. Go to a nbdev repo, make a local change to a notebook.
  3. Run nbdev_docs
  4. Run llms_txt2ctx tool, you will see your local changes being reflected appropriately

@hamelsmu hamelsmu requested a review from jph00 September 13, 2024 05:28
@jph00 jph00 merged commit 5a26fba into main Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants