mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-07 21:32:38 +02:00
chore: eslint fix
This commit is contained in:
parent
33105ba3cc
commit
77ec02a278
2 changed files with 5 additions and 10 deletions
|
@ -1,7 +1,7 @@
|
|||
const path = require('path');
|
||||
const {fileToComponentName} = require('./utils');
|
||||
|
||||
async function genRoutesConfig({docsData, docsDir, pagesDir, pagesData}) {
|
||||
async function genRoutesConfig({docsData, docsDir, pagesData}) {
|
||||
function genDocsRoute({path: docsPath, source}) {
|
||||
const componentName = fileToComponentName(source);
|
||||
return `
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue