mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 18:51:07 -04:00
Normalize EOL symbol in platform docs (#56021)
* use api-extractor generate command with api-documenter config * update docs Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This commit is contained in:
parent
17011b7559
commit
aa695ec637
1061 changed files with 18928 additions and 18921 deletions
4
api-documenter.json
Normal file
4
api-documenter.json
Normal file
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
"newlineKind": "lf",
|
||||
"outputTarget": "markdown"
|
||||
}
|
|
@ -55,6 +55,9 @@ export const IGNORE_FILE_GLOBS = [
|
|||
|
||||
// filename is required by storybook
|
||||
'packages/kbn-storybook/storybook_config/preview-head.html',
|
||||
|
||||
// filename required by api-extractor
|
||||
'api-documenter.json',
|
||||
];
|
||||
|
||||
/**
|
||||
|
|
|
@ -83,7 +83,7 @@ const runBuildTypes = async () => {
|
|||
const runApiDocumenter = async (folder: string) => {
|
||||
await execa(
|
||||
'api-documenter',
|
||||
['markdown', '-i', `./build/${folder}`, '-o', `./docs/development/core/${folder}`],
|
||||
['generate', '-i', `./build/${folder}`, '-o', `./docs/development/core/${folder}`],
|
||||
{
|
||||
preferLocal: true,
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue