mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 05:43:55 -07:00
enhance: update Docusaurus configuration for improved documentation features (#2030)
* refactor: update Docusaurus configuration and enhance documentation structure - Refactored docusaurus.config.ts to streamline configuration, including the addition of an API sidebar and improved edit URLs for documentation. - Updated sidebars.ts to include a new autogenerated sidebar for the API documentation. - Adjusted styles in styles.module.css for better feature display on the homepage. - Modified logo.svg to use a viewBox for improved scalability. These changes aim to enhance the organization and accessibility of the documentation, ensuring a better user experience. * 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:
parent
6f1f6bf6a6
commit
ae46c4d69f
1 changed files with 7 additions and 1 deletions
|
@ -63,7 +63,13 @@ const config: Config = {
|
||||||
routeBasePath: 'api',
|
routeBasePath: 'api',
|
||||||
sidebarPath: './sidebars.ts',
|
sidebarPath: './sidebars.ts',
|
||||||
editUrl: 'https://github.com/torrentpier/torrentpier/tree/dexter/docs/',
|
editUrl: 'https://github.com/torrentpier/torrentpier/tree/dexter/docs/',
|
||||||
},
|
beforeDefaultRemarkPlugins: [],
|
||||||
|
beforeDefaultRehypePlugins: [],
|
||||||
|
remarkPlugins: [],
|
||||||
|
rehypePlugins: [],
|
||||||
|
showLastUpdateTime: true,
|
||||||
|
showLastUpdateAuthor: true,
|
||||||
|
} satisfies import('@docusaurus/plugin-content-docs').Options,
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue