You can specify the pageType in the frontmatter
metadata to use different layouts in the page. By default, the pageType of the document is doc
, so the sidebar
on the left and the outline
on the right will appear by default. If you don't need these, you can set pageType to custom
:
In rspress.config.ts
, you can configure the content of the sidebar, for details, please refer to Sidebar Config.
With the outlineTitle
config, you can set the title of the outline bar.
With the prevPageText
and nextPageText
config, you can set the previous/next page text.