mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-11 08:07:26 +02:00
fix: docs asset links should follow specified docsUrl (#1204)
This commit is contained in:
parent
1888e0fb92
commit
487fd573e5
2 changed files with 5 additions and 2 deletions
|
@ -101,7 +101,7 @@ async function execute() {
|
|||
if (fs.existsSync(join(CWD, '..', readMetadata.getDocsPath(), 'assets'))) {
|
||||
fs.copySync(
|
||||
join(CWD, '..', readMetadata.getDocsPath(), 'assets'),
|
||||
join(buildDir, 'docs', 'assets'),
|
||||
join(buildDir, siteConfig.docsUrl, 'assets'),
|
||||
);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue