mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-30 06:50:36 +02:00
wip
This commit is contained in:
parent
c3f32ab781
commit
8ab6ddac54
5 changed files with 38 additions and 19 deletions
|
@ -48,6 +48,8 @@ async function getTagsList(filePath: string | TagOption[]): Promise<string[]> {
|
|||
}
|
||||
|
||||
const rawYaml = await fs.readFile(
|
||||
// todo should we use aliasedPath ?
|
||||
// because it breaks tests showcase/index.test.ts#L27-L28
|
||||
aliasedSitePathToRelativePath(filePath),
|
||||
'utf-8',
|
||||
);
|
||||
|
@ -95,6 +97,7 @@ export default function pluginContentShowcase(
|
|||
if (!(await fs.pathExists(contentPaths.contentPath))) {
|
||||
return null;
|
||||
}
|
||||
console.log('contentPaths:', contentPaths);
|
||||
|
||||
const {include} = options;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue