Normalize EOL symbol in platform docs (#56021) (#56041)

* use api-extractor generate command with api-documenter config

* update docs

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
This commit is contained in:
Mikhail Shustov 2020-01-27 21:04:26 +01:00 committed by GitHub
parent 02c0bca575
commit 7a53f8bd29
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
1055 changed files with 18841 additions and 18834 deletions

4
api-documenter.json Normal file
View file

@ -0,0 +1,4 @@
{
"newlineKind": "lf",
"outputTarget": "markdown"
}

View file

@ -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',
];
/**

View file

@ -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,
}