enhance: update Docusaurus configuration for improved documentation features

- Added new configuration options in docusaurus.config.ts to support additional plugins and features, including beforeDefaultRemarkPlugins and beforeDefaultRehypePlugins.
- Enabled options to show the last update time and author for better documentation tracking.

These changes aim to enhance the functionality and user experience of the documentation site.
This commit is contained in:
Yury Pikhtarev 2025-07-02 23:43:43 +04:00
commit 72c35efc1a
No known key found for this signature in database

View file

@ -63,7 +63,13 @@ const config: Config = {
routeBasePath: 'api',
sidebarPath: './sidebars.ts',
editUrl: 'https://github.com/torrentpier/torrentpier/tree/dexter/docs/',
},
beforeDefaultRemarkPlugins: [],
beforeDefaultRehypePlugins: [],
remarkPlugins: [],
rehypePlugins: [],
showLastUpdateTime: true,
showLastUpdateAuthor: true,
} satisfies import('@docusaurus/plugin-content-docs').Options,
],
],