mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-10 07:37:19 +02:00
feat:docs translation + versioning 💥
This commit is contained in:
parent
31d333b82f
commit
0f38ae3979
20 changed files with 1133 additions and 520 deletions
|
@ -5,10 +5,11 @@ module.exports = function(fileString) {
|
|||
const options = getOptions(this);
|
||||
|
||||
const {body} = fm(fileString);
|
||||
|
||||
const content = JSON.stringify(body);
|
||||
// TODO replace all the markdown linking to correct url depends on whether it's versioned/translated/normal docs
|
||||
// e.g: [test](test.md) become [test](/docs/test)
|
||||
/*
|
||||
TODO replace all the markdown linking to correct url depends on whether it's versioned/translated/normal docs
|
||||
e.g: [test](test.md) become [test](/docs/test)
|
||||
*/
|
||||
const siteConfig = JSON.stringify(options.siteConfig);
|
||||
|
||||
return (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue