-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Normalize EOL symbol for the platform docs #55689
Conversation
Pinging @elastic/kibana-platform (Team:Platform) |
@@ -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}`], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe the platform team should be the owner of this script.
Great, this is finally done. Merging it might be a little challenging though, as any documentation update merged on master will create conflicts in the PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
88c7a09
to
cbb32c4
Compare
💔 Build FailedHistory
To update your PR or re-run it, just comment with: |
* use api-extractor generate command with api-documenter config * update docs
This reverts commit 1ea175e.
Summary
Closes #53761
Use
api-documenter generate
that allows to specifyapi-documenter.json
config withnewlineKind: 'lf'
.I also tried another approach with adding
docs/development/core/** text eol=lf
to.gitattributes
but it breaksgit diff
and logs an annoying warningwarning: CRLF will be replaced by LF in docs/development/core/server/kibana-plugin-server.configpath.md. The file will have its original line endings in your working directory
.