-
-
Notifications
You must be signed in to change notification settings - Fork 506
FR: complete documentation in a single page for LLMs #754
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
Comments
Hi there. If you want to write it, and it is high quality documentation, I will merge it. |
Great! The thing is, there's not much to write. It's just a matter of adding a page to the docs that contain other pages. See this for example. It's kinda awkward to write that without seeing the readthedocs website update imho but if you want me to i'll try. |
I don't think I understand. If it's just a page linking to other pages, why can't the LLM system use the existing docs, which are links to other pages? Also you can clone the repo and build the docs locally for interactive feedback. |
I'll try to be clearer:
I can give two examples:
So to reiterate: yes it is possible to put sh's doc into an LLM's context but it's friction heavy and having a single page API would be a patero improvement in my opinion. |
I see, thanks for explaining. It looks like sphinx has a |
Okay so I took a look and modifying the sphinx builders to use html + singlehtml is not super clear and it runs on the readthedocs server side so I prefer to go the other way. Additionally it does not allow to filter only some pages, nor to specify the page order. After doing super over complicated things I finally found a way to do this without seriously refactoring the doc. The only issue I'm seeing in my local build is that some headers seem to be missing. The online version: My local version is missing the "Passing argument" header: But this looks like a bug and might not happen in the online rendering. Also they should not pose much problem to LLMs. I'll make the PR right away. It'll remain in draft until I'm sure I can put the full api in there too. |
Hi,
I've been interested in sh for a while and it seems really awesome.
Notably I'm interested in using it to make very concise wrapper for cli tools, for example to wrap edgevpn into a python lib
The limiting factor for such side projects is how profficient LLMs are with it and so far it seems that it's not quite popular enough to be reliably used by LLMs (my goto being aider-chat).
Hence, to use
sh
, the documentation has to be provided manually to the LLM, so would you be interested in making, in the docs, a single page compilation of everything an LLM might want?To give an example, I am the dev behind wdoc and because it contains many different use cases I made a Single Page Documentation page in the website.
I'm thinking it could be done with a simple commit to add a page in the website.
Thanks and have a nice day!
The text was updated successfully, but these errors were encountered: