Repository navigation
Conversation
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
tocsify 3.0.0 now writes two extra files for AI tools,
llms.txtandllms-full.txt, next totoc.md. It also drops every runtime dependency, which clears the old npm audit findings from markdown-toc and meow.What 3.0.0 does
docs/llms.txt(an index of the site) anddocs/llms-full.txt(the full text of every page) by default.--no-llmwrites onlytoc.md.llms-full.txtare full URLs that point to the same files Docsify 5 loads. The toc include uses the toc from the same run, so one run is enough.>=22.13.0.toc.mdmatch Docsify 5 ids._are skipped,README.mdandindex.mdmust match exactly, and comment-style ignore markers such as<!-- {docsify-ignore} -->now work.--base-url,--title,--summary,--group=h2|sidebar,--keep-comments,--no-llm, and--version. The site URL is detected fromCNAME,GITHUB_REPOSITORY, the git remote, orhomepagewhen--base-urlis not set.node:testwith 100% line, branch, and function coverage. Linting uses ESLint 10.docs/toc.md,docs/llms.txt, anddocs/llms-full.txtfor this repo's own docs.Breaking changes
>=22.13.0is required.llms.txtandllms-full.txtare written by default. A base URL is needed unless tocsify can detect one. Use--no-llmto skip them.toc.mdnow use Docsify 5 ids. Links change for headings with leading digits, accents, emoji,:id=, links, or#.-hnow means--helpinstead of--header.binandmainmoved tosrc/cli.js.lib/is gone, andexportsblocks deep imports.dirdefaults todocs.