mirror of
https://github.com/facebook/docusaurus.git
synced 2025-07-09 21:07:55 +02:00
fix(v2): swizzle should receive correct load context (#1844)
* fix(v2): swizzle should receive correct load context * new prettier version * niits
This commit is contained in:
parent
b82e211546
commit
d96b5f99b9
21 changed files with 480 additions and 460 deletions
|
@ -175,9 +175,7 @@ function processMetadata(file, refDir) {
|
|||
versionPart = 'next/';
|
||||
}
|
||||
|
||||
metadata.permalink = `${docsPart}${langPart}${versionPart}${
|
||||
metadata.id
|
||||
}.html`;
|
||||
metadata.permalink = `${docsPart}${langPart}${versionPart}${metadata.id}.html`;
|
||||
|
||||
// change ids previous, next
|
||||
metadata.localized_id = metadata.id;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue