mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-10 23:57:22 +02:00
fix(v2): swizzle minor improvements (#3225)
* improve swizzle messages * docs should allow to swizzle in --typescript * minor swizzle cli improvements
This commit is contained in:
parent
ef9314e5a4
commit
0079f0e8d1
2 changed files with 38 additions and 42 deletions
|
@ -110,6 +110,10 @@ export default function pluginContentDocs(
|
|||
return path.resolve(__dirname, './theme');
|
||||
},
|
||||
|
||||
getTypeScriptThemePath() {
|
||||
return path.resolve(__dirname, '..', 'src', 'theme');
|
||||
},
|
||||
|
||||
extendCli(cli) {
|
||||
const command = isDefaultPluginId
|
||||
? 'docs:version'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue