Skip to content

Update dependency @rspress/core to v2.0.19 - #13

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/rspress-core-2.x-lockfile
Open

Update dependency @rspress/core to v2.0.19#13
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/rspress-core-2.x-lockfile

Conversation

@renovate

@renovate renovate Bot commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
@rspress/core (source) 2.0.142.0.19 age confidence

Release Notes

web-infra-dev/rspress (@​rspress/core)

v2.0.19

Compare Source

Highlights
🤖 Guide AI agents from generated Markdown

When SSG-MD is enabled, every generated Markdown page now starts with an agent-readable directive pointing to llms.txt, llms-full.txt, and the Markdown version of the current page:

> For AI agents: the complete documentation index is available at https://example.com/llms.txt, the full documentation bundle is available at https://example.com/llms-full.txt, and this page is available as Markdown at https://example.com/guide/index.md.
image

This extends the existing HTML hint to Markdown output. Its URLs automatically respect siteOrigin, base, locale, and version prefixes, helping agents discover the right machine-readable content from either format.

Documentation: SSG-MD · injectLlmsHint

Related PR: #​3544

🎨 Add icons to generated sidebars and navigation

Use icon to display an image, inline SVG, emoji, external URL, or data URL before sidebar and navbar labels. Auto-generated sidebars support icons on groups, items, and section headers through _meta.json or page frontmatter, while navigation icons can be configured through _nav.json or themeConfig.nav.

For a local image, place it in public and reference it with an absolute path:

[
  {
    "type": "file",
    "name": "introduction",
    "label": "Introduction",
    "icon": "/icon.png",
    "tag": "new"
  }
]

Icons render before the label, while an existing tag remains on the right.

image

Documentation: Sidebar icons and tags · nav · sidebar

Related PR: #​3554

⚡ Speed up lastUpdated on large sites

Rspress now resolves Git history for all documentation pages in one batched pass instead of spawning one git log process per page. Existing lastUpdated configuration remains unchanged:

import { defineConfig } from '@​rspress/core';

export default defineConfig({
  themeConfig: {
    lastUpdated: true,
  },
});

In the PR benchmark, Rspress resolved metadata for its 208-page documentation site with two Git processes in about 300 ms. This avoids the process storms that could make large sites spend minutes resolving page metadata.

Documentation: lastUpdated

Related PR: #​3545

What's Changed
New Features 🎉
Performance 🚀
Bug Fixes 🐞
Refactor 🔨
Document 📖
Other Changes

Full Changelog: web-infra-dev/rspress@v2.0.18...v2.0.19

v2.0.18

Compare Source

Highlights

🤖 Customize llms.txt and Guide LLMs to Markdown

Enable llms to generate llms.txt, llms-full.txt, and a Markdown copy of every page. You can now use llms.llmsTxt to control the complete llms.txt output with site metadata and navigation-ordered pages. Rspress also injects the following hidden hint into generated HTML pages so LLMs can discover these files:

<div style="display:none" hidden="" aria-hidden="true">Are you an LLM? View https://example.com/llms.txt for optimized Markdown documentation, or https://example.com/llms-full.txt for full documentation bundle. This page is also available as Markdown at https://example.com/guide/index.md</div>

The hint is enabled by default. Use injectLlmsHint: false to disable it independently; the configuration below also shows how to customize llms.txt:

import { defineConfig } from '@&#8203;rspress/core';

export default defineConfig({
  llms: {
    llmsTxt: ({ title = 'Documentation', sections }) => {
      const pages = sections
        .flatMap(section => section.pages)
        .map(page => `- [${page.title}](${page.link})`)
        .join('\n');

      return `# ${title}\n\n${pages}`;
    },
  },
  themeConfig: {
    llmsUI: {
      injectLlmsHint: false,
    },
  },
});

Documentation: SSG-MD · injectLlmsHint

Related PRs: #​3527 · #​3526

🌍 Add Language Alternatives Automatically

For pages with existing translations, Rspress now adds reciprocal language links to <head>, helping search engines send readers to the right language:

<link rel="alternate" hreflang="en" href="https://example.com/docs/guide.html">
<link rel="alternate" hreflang="zh" href="https://example.com/docs/zh/guide.html">

Only translations that actually exist are included. Generated URLs automatically respect base, siteOrigin, and route.cleanUrls.

Documentation: Customizing head tags

Related PR: #​3524

⚡ Start Loading Page Code Before Hydration

Each generated page now preloads its own async route chunk:

<link rel="preload" href="/static/js/async/route-<hash>.js" as="script">

This lets the browser fetch the page code before the client runtime starts hydration, removing an extra network waterfall. Preload URLs support base, CDN asset prefixes, and assetPrefix: 'auto'.

Documentation: Customizing head tags

Related PR: #​3518

What's Changed

New Features 🎉
Performance 🚀
Bug Fixes 🐞
Refactor 🔨
Other Changes

New Contributors

Full Changelog: web-infra-dev/rspress@v2.0.17...v2.0.18

v2.0.17

Compare Source

What's Changed

New Features 🎉
Bug Fixes 🐞
Other Changes

New Contributors

Full Changelog: web-infra-dev/rspress@v2.0.16...v2.0.17

v2.0.16

Compare Source

What's Changed
New Features 🎉
  • feat(mdx/container): Support [!IMPORTANT] callout for feature parity with GitHub-flavored markdown by @​mnebes in #​3493
Bug Fixes 🐞
Refactor 🔨
Document 📖
Other Changes
New Contributors

Full Changelog: web-infra-dev/rspress@v2.0.15...v2.0.16

v2.0.15

Compare Source

Highlights
🌙 themeConfig.darkMode supports default and forced values

You can now set the default or forced theme behavior directly via themeConfig.darkMode, instead of relying on window.RSPRESS_THEME. It accepts values like 'dark', 'light', 'auto', 'force-dark', and 'force-light'.

import { defineConfig } from '@&#8203;rspress/core';

export default defineConfig({
  themeConfig: {
    darkMode: 'force-dark',
  },
});
🔗 Markdown anchor link validation

Rspress now validates internal heading hash links during builds. Enable markdown.link.checkAnchors to catch broken anchors in same-page, relative, and absolute Markdown/MDX links.

import { defineConfig } from '@&#8203;rspress/core';

export default defineConfig({
  markdown: {
    link: {
      checkAnchors: true,
    },
  },
});
What's Changed
New Features 🎉
Performance 🚀
Bug Fixes 🐞
Refactor 🔨
Document 📖
Other Changes
New Contributors

Full Changelog: web-infra-dev/rspress@v2.0.14...v2.0.15


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@vercel

vercel Bot commented Jun 25, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
website Ready Ready Preview Jul 30, 2026 9:31pm

@renovate
renovate Bot force-pushed the renovate/rspress-core-2.x-lockfile branch from 6841cfb to 6acea64 Compare July 3, 2026 10:14
@renovate renovate Bot changed the title Update dependency @rspress/core to v2.0.15 Update dependency @rspress/core to v2.0.16 Jul 3, 2026
@renovate
renovate Bot force-pushed the renovate/rspress-core-2.x-lockfile branch from 6acea64 to fbab83b Compare July 8, 2026 12:38
@renovate renovate Bot changed the title Update dependency @rspress/core to v2.0.16 Update dependency @rspress/core to v2.0.17 Jul 8, 2026
@renovate
renovate Bot force-pushed the renovate/rspress-core-2.x-lockfile branch from fbab83b to 1b933eb Compare July 12, 2026 09:39
@renovate
renovate Bot force-pushed the renovate/rspress-core-2.x-lockfile branch from 1b933eb to 21e1b26 Compare July 16, 2026 18:58
@renovate
renovate Bot force-pushed the renovate/rspress-core-2.x-lockfile branch from 21e1b26 to 1f48f35 Compare July 17, 2026 11:07
@renovate renovate Bot changed the title Update dependency @rspress/core to v2.0.17 Update dependency @rspress/core to v2.0.18 Jul 17, 2026
@renovate
renovate Bot force-pushed the renovate/rspress-core-2.x-lockfile branch from 1f48f35 to e014cb8 Compare July 20, 2026 20:08
@renovate
renovate Bot force-pushed the renovate/rspress-core-2.x-lockfile branch from e014cb8 to d60d0a4 Compare July 24, 2026 15:51
@renovate
renovate Bot force-pushed the renovate/rspress-core-2.x-lockfile branch from d60d0a4 to 37825db Compare July 30, 2026 06:33
@renovate renovate Bot changed the title Update dependency @rspress/core to v2.0.18 Update dependency @rspress/core to v2.0.19 Jul 30, 2026
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.

0 participants