Skip to content

deps(renovate): update dependency @rspress/core to v2.0.19 - #68

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

deps(renovate): update dependency @rspress/core to v2.0.19#68
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/rspress-core-2.x

Conversation

@renovate

@renovate renovate Bot commented Jul 20, 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 '@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
🌙 Choose a default theme or disable switching

themeConfig.darkMode can now define both the initial theme and whether visitors may switch it. Use 'dark', 'light', or 'auto' to choose the default while keeping the theme switcher, or use a force-* value to enforce that behavior and hide the switcher.

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

export default defineConfig({
  themeConfig: {
    darkMode: 'force-dark',
  },
});

Documentation: themeConfig.darkMode

Related PR: #​3473

🔗 Catch broken heading links during builds

Enable markdown.link.checkAnchors to fail the build when a same-page, relative, or absolute Markdown/MDX link points to a heading that does not exist. Known exceptions can be ignored with excludes.

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

export default defineConfig({
  markdown: {
    link: {
      checkAnchors: true,
    },
  },
});

Documentation: markdown.link.checkAnchors

Related PR: #​3443

🔍 Exclude individual pages from built-in search

Add search: false to a page's frontmatter to keep utility, hidden, or duplicate pages out of the built-in search index without removing the page itself. This setting only affects Rspress's built-in search.

---
search: false
---

Documentation: Frontmatter search

Related PR: #​3456

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: (in timezone America/Chicago)

  • Branch creation
    • "before 6am on monday"
  • 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.

@github-actions

github-actions Bot commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Rsdoctor Bundle Diff Analysis

📊 Quick Summary
Project Total Size Change
dist 33.3 KB 0

Generated by Rsdoctor GitHub Action

@renovate renovate Bot changed the title deps(renovate): update dependency @rspress/core to v2.0.17 deps(renovate): update dependency @rspress/core to v2.0.18 Jul 24, 2026
@renovate
renovate Bot force-pushed the renovate/rspress-core-2.x branch 2 times, most recently from 9f98e0b to de53380 Compare July 30, 2026 19:00
@renovate
renovate Bot force-pushed the renovate/rspress-core-2.x branch from de53380 to 06a1ca4 Compare August 6, 2026 10:58
@renovate renovate Bot changed the title deps(renovate): update dependency @rspress/core to v2.0.18 deps(renovate): update dependency @rspress/core to v2.0.19 Aug 6, 2026
@renovate
renovate Bot force-pushed the renovate/rspress-core-2.x branch 4 times, most recently from 3c90479 to e66a096 Compare August 13, 2026 16:11
@renovate
renovate Bot force-pushed the renovate/rspress-core-2.x branch from e66a096 to 8360f4d Compare August 13, 2026 17:39
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.

1 participant