This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(docs): introduced initial version of api docs system (#2680)
- Loading branch information
Showing
127 changed files
with
8,194 additions
and
10,692 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{ | ||
"generatorOpts": { | ||
"compact": true, | ||
"comments": false | ||
}, | ||
"overrides": [ | ||
{ | ||
"test": "**/**.md", | ||
"compact": true | ||
} | ||
], | ||
"plugins": [ | ||
[ | ||
"prismjs", | ||
{ | ||
"languages": ["js", "css", "jsx", "bash", "ts", "markup", "cpp", "c"], | ||
"plugins": [], | ||
"css": false | ||
} | ||
] | ||
], | ||
"presets": [ | ||
[ | ||
"babel-preset-gatsby", | ||
{ | ||
"targets": { | ||
"browsers": ["last 3 versions", "not ie <= 11", "not android 4.4.3"] | ||
} | ||
} | ||
] | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
module.exports = { | ||
apiReleaseContents: releaseVersion => | ||
`https://api.github.com/repos/nodejs/node/contents/doc/api?ref=${releaseVersion}`, | ||
nvmTags: 'https://api.github.com/repos/nvm-sh/nvm/tags', | ||
nodeReleaseSchedule: | ||
'https://raw.githubusercontent.com/nodejs/Release/main/schedule.json', | ||
nodeReleaseData: 'https://nodejs.org/dist/index.json', | ||
nodeBannersData: | ||
'https://raw.githubusercontent.com/nodejs/nodejs.org/main/locale/en/site.json', | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.