mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-29 14:38:50 +02:00
feat(v2): style up sidebar
This commit is contained in:
parent
0e78eff1a7
commit
e0d96a4b38
6 changed files with 69 additions and 45 deletions
|
@ -7,7 +7,7 @@ module.exports = function loadConfig(siteDir) {
|
|||
? customThemePath
|
||||
: path.resolve(__dirname, '../theme');
|
||||
|
||||
const themeComponents = ['Docs', 'Pages', 'Loading', 'NotFound', 'Markdown'];
|
||||
const themeComponents = ['Doc', 'Pages', 'Loading', 'NotFound', 'Markdown'];
|
||||
themeComponents.forEach(component => {
|
||||
if (!require.resolve(path.join(themePath, component))) {
|
||||
throw new Error(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue