mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-18 18:52:23 +02:00
feat(v2): officially release @docusaurus/plugin-debug (#3392)
* Add json styling to config debug
* Style debug content page
* Add style and collapse depth to json viewer
* Add style to debug layout
* Add style to metadata debug
* Add style support to registry debugger
* Remove default content if other instances are present
* Change colors for more contrast
* Add debug routes styles
* Add active link style
* Fix container css issues
* Style registry debug page
* Remove unused style modules
* Add white space to style files
* Add font scaling
* Fix prettier errors
* Add child routes to route debug
* Readd default content plugin json
* Add empty home page to debug
* Prettier
* Revert "Add empty home page to debug"
This should be included in a separate PR
This reverts commit 9c43c9f7fb
.
* Set colors to dark theme
* Add plugin debug doc + minor fixes + expose global data
* more debug plugin doc
Co-authored-by: Drewbi <drewalexander986@gmail.com>
This commit is contained in:
parent
8f24a0a149
commit
9857f7b2b5
19 changed files with 301 additions and 104 deletions
|
@ -50,7 +50,7 @@ export default function pluginContentPages({
|
|||
|
||||
addRoute({
|
||||
path: normalizeUrl([baseUrl, '__docusaurus/debug/metadata']),
|
||||
component: '@theme/DebugMetadata',
|
||||
component: '@theme/DebugSiteMetadata',
|
||||
exact: true,
|
||||
});
|
||||
|
||||
|
@ -74,6 +74,12 @@ export default function pluginContentPages({
|
|||
allContent: aliasedSource(allContentPath),
|
||||
},
|
||||
});
|
||||
|
||||
addRoute({
|
||||
path: normalizeUrl([baseUrl, '__docusaurus/debug/globalData']),
|
||||
component: '@theme/DebugGlobalData',
|
||||
exact: true,
|
||||
});
|
||||
},
|
||||
|
||||
configureWebpack() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue