Update dependency docusaurus-plugin-llms to ^0.6.0 - #299
Merged
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.
This PR contains the following updates:
^0.5.1→^0.6.0Release Notes
rachfop/docusaurus-plugin-llms (docusaurus-plugin-llms)
v0.6.0Compare Source
Fixed
<TabItem label="A > B">leaked tag fragments: the TabItem labelemitter cut its tag match at the first
>, so a quoted label containing>dumped the rest of the tag into the output as prose. The matcher is now
attribute-aware, like the PascalCase stripper.
description spanning lines quoted only its first line, leaving the rest as
prose under the heading. Every line is now blockquoted.
$sequences corrupted partial content: partial files were splicedwith a string replacement, so shell/perl patterns like
echo $1,kill $$,or
$&in a partial's code samples were silently rewritten (attr valuessubstituted, tags re-inserted, document fragments duplicated). The splice
now ignores replacement patterns.
Windows line endings had their fenced code blocks unmasked (imports and HTML
inside code samples were stripped) and their descriptions mis-extracted (a
heading-only file got the heading as description; a heading-less file got
the entire document).
readFilenow normalizes CRLF/CR to LF.slug: "/") crossed version subtrees: in multi-versionmode, a section-root page linked to the current version's route (e.g.
/docs) instead of its own version's (/stable/docs). Root-slug resolutionnow honors version and section scoping.
siteConfig.urlwith a trailing slash produced//baseUrlin everygenerated URL, mismatching sitemap.xml.
routeBasePathwith a leading/trailing slash (e.g.'/docs') silentlydisabled route scoping for that section, falling every doc back to
heuristic URLs. Slashes are now normalized.
merely started with the blog dir (e.g. a
blog-apidocs section next toblog) was treated as the blog for fallback URL construction.importstatements were rewritten: afenced sample of an import line was resolved as a real partial import and
spliced the partial's content into the code sample (or dropped the line when
the target did not exist). Partial-import resolution now runs on fence-masked
content.
llms-full.txtflattened heading hierarchy: each document's inner## Foostayed at##, colliding with the## {title}document header, andthe document's own title H1 appeared again under its header. Inner headings
are now demoted one level under the document header, and the duplicate title
heading is removed.
.mdfiles duplicated their title and intro: the file headeremitted
# {title}plus the description blockquote, then the body repeatedthe identical H1 and (for pages whose description was auto-extracted from
the first paragraph) the identical paragraph. Both duplicates are now
stripped from the body.
llms-full.txt: stripping a body's duplicatetitle heading left its surrounding blank lines behind. Gaps now collapse to
a single blank line.
descriptiondropped: an unquoted YAML number(
description: 2024) was silently discarded instead of used as text; it isnow coerced like
title/slug/id.applyMdExtensionmangled bare origins: a bare site URL would becomehttps://site.com.md; the trailing slash is now preserved.Added
preserveComponentsoption: an array of MDX/JSX component names whosetags pass through untouched instead of being stripped, for components that
render meaningful content themselves (e.g. a swizzled
<PackageManagerTabs command="add my-package" />). Matching is exact onthe component name, and tags inside code fences are still left alone.
(#64)
Node 18/20/22 for every pull request and push to
main.Fixed
(0.5.0) dropped non-
childrenprop values wholesale, deleting content likethe command inside
<PackageManagerTabs command="..." />. Attribute valuesare now parsed and their text is preserved. (#68,
#64)
<TabItem>collapsed its label:<TabItem>tags now degrade to areadable outline instead of a bare body: the
label(orvalue) is emittedas a bold line before the tab body. (#64)
contained
_or/partials/were inlined; a normally-named.mdxpage bodyimported as a component was stripped without its content. Every
.mdx/.mdimport is now inlined, and imports using webpack-style aliases other than
@site(e.g.@global/components/x.mdx) resolve against the site directory.Failed resolutions warn with the specifier and importing file. (#65)
importlines inside its fenced code samples were removed. Code fences aremasked before partial splicing, so samples survive verbatim. (#69)
slugstarting with/was prefixed with the route base path again, producing URLs like
.../docs/team-b/docs/faq.md. Absolute slugs are now used as-is. (#63)docsDirentries collapsed to the first: withdocsDir: ['docs', 'blog'], every page resolved to the first matchingsection, mis-routing pages and leaking
blogURLs intodocsoutput.Sections now resolve per-file, routes are scoped per-section, and the new
blogDir/blogRouteBasePathoptions configure a blog alongside docs. (#67)Documentation
docs/site: installation, configuration,output files, content cleaning, best practices, and per-feature guides. (#61)
generateMarkdownFiles. (#62)Thanks
This release exists because of its contributors. Thanks to everyone who
opened pull requests: adeelehsan,
AlexAdiaconitei,
anupamme, canuto,
deka0106, F-OBrien,
ilanazholobovsky,
kingsword09, Konkrad,
nicolasiscoding,
portdeveloper,
puehringer, scottamain,
smol-ninja, statico,
and svrnm.
Thanks to everyone who filed issues that shaped this release:
allxsmith, anvme,
benfoster, canuto,
critesjosh, ctauchen,
cyrusmith, dineshpinto,
emertechie, fflaten,
ilanazholobovsky,
johngrimes, manuelmeurer,
nicolasiscoding, PaulRBerg,
prdai, quangdusk,
Rajesh11082005, ratansen,
Rob-Purbrick, scottamain,
smol-ninja,
sujanmoi-kasm, thomhurst,
wparad, and yada.
If you reported a problem, tested a pre-release, or shared feedback along
the way, that work made 0.6.0 better. Thank you.
Configuration
📅 Schedule: (in timezone America/New_York)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.