Bump apidoc-markdown from v6.0.0 to v7.2.4#144007
Conversation
749fe56 to
1bfbe76
Compare
|
Pinging @elastic/ml-ui (:ml) |
|
hi @watson, thanks for updating the apidoc markdown! When I execute the Expand the error output:And the schema_extractor tests fails 🤔 Does it work fine in your setup? |
|
@darnautov thanks for reviewing. I mistakenly thought that this job would run during CI, so when that was all green I thought it was ok. But I get the same errors when running locally. I'll take a look... |
|
@darnautov I just now got back to this PR and after looking more into this I discovered that the issue you found with The TS errors that you get actually doesn't even come from the part of the shell command that I edited but from the very beginning of the shell command: |
|
hey @watson, indeed you're right, the script is broken on |
|
@darnautov if you plan to fix the script in |
darnautov
left a comment
There was a problem hiding this comment.
LGTM, let's merge this one and I'll take care of fixing the build step in a follow-up
|
@elasticmachine merge upstream |
|
merge conflict between base and head |
💚 Build Succeeded
Metrics [docs]Async chunks
Unknown metric groupsESLint disabled in files
ESLint disabled line counts
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: cc @watson |
💔 All backports failed
Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation |
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
3 similar comments
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
(cherry picked from commit 47ad5ed) # Conflicts: # package.json # yarn.lock
💔 All backports failed
Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation |
|
Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync. |
1 similar comment
|
Looks like this PR has a backport PR but it still hasn't been merged. Please merge it ASAP to keep the branches relatively in sync. |
# Backport This will backport the following commits from `main` to `7.17`: - [Bump apidoc-markdown from v6.0.0 to v7.2.4 (#144007)](#144007) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Thomas Watson","email":"watson@elastic.co"},"sourceCommit":{"committedDate":"2022-12-13T10:08:29Z","message":"Bump apidoc-markdown from v6.0.0 to v7.2.4 (#144007)","sha":"47ad5edece1bff8743962a090bab3f5050e0f7b2","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":[":ml","release_note:skip","backport missing","Team:ML","backport:all-open","v8.6.0","v8.7.0"],"number":144007,"url":"https://github.com/elastic/kibana/pull/144007","mergeCommit":{"message":"Bump apidoc-markdown from v6.0.0 to v7.2.4 (#144007)","sha":"47ad5edece1bff8743962a090bab3f5050e0f7b2"}},"sourceBranch":"main","suggestedTargetBranches":["8.6"],"targetPullRequestStates":[{"branch":"8.6","label":"v8.6.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/144007","number":144007,"mergeCommit":{"message":"Bump apidoc-markdown from v6.0.0 to v7.2.4 (#144007)","sha":"47ad5edece1bff8743962a090bab3f5050e0f7b2"}}]}] BACKPORT-->
Note to reviewers
See breaking changes and upgrade guide for
apidoc-markdownversion 7 here: https://github.com/rigwild/apidoc-markdown/releases/tag/v7.0.1The reason why I remove the direct
apidocdependency is thatapidoc-markdownnow ships withapidocitself and takes care of runningapidocinternally. Hence why I also upgraded the command in the MLpackage.jsonthat first runsapidocand thenapidoc-markdown.I removed a bunch of stuff about apidoc from
x-pack/plugins/transform/server/README.mdbecause it seemed to just have been copied fromx-pack/plugins/ml/server/routes/README.mdand wasn't actually relevant for that plugin.