Stacey Gammon
5d1916baae
Add a plugin directory page to the docs build ( #112862 ) ( #113314 )
...
* Write plugin directory doc as part of api docs build.
* Replace service folder with the new name for index patterns
* Updated docs
* small update
* update docs
# Conflicts:
# api_docs/actions.mdx
# api_docs/apm.json
# api_docs/core.mdx
# api_docs/core_application.mdx
# api_docs/core_chrome.mdx
# api_docs/core_http.mdx
# api_docs/core_saved_objects.mdx
# api_docs/data.json
# api_docs/data.mdx
# api_docs/data_autocomplete.mdx
# api_docs/data_data_views.json
# api_docs/data_data_views.mdx
# api_docs/data_query.mdx
# api_docs/data_search.json
# api_docs/data_search.mdx
# api_docs/data_ui.mdx
# api_docs/deprecations_by_api.mdx
# api_docs/deprecations_by_plugin.mdx
# api_docs/event_log.mdx
# api_docs/maps.json
# api_docs/maps.mdx
# api_docs/maps_ems.json
# api_docs/maps_ems.mdx
# api_docs/observability.mdx
# api_docs/saved_objects.json
# api_docs/security_solution.mdx
2021-09-28 16:58:56 -04:00
Tyler Smalley
c16480e849
[7.x][DX] Upgrade prettier to v2.4.0 ( #112359 ) ( #112524 )
...
Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
2021-09-19 22:34:46 -07:00
Stacey Gammon
ede34a84a2
Clean up some of the API doc code ( #111635 ) ( #112085 )
...
* Clean up api doc infra
* updated docs
* Update api dics
# Conflicts:
# api_docs/actions.mdx
# api_docs/alerting.json
# api_docs/core.mdx
# api_docs/core_application.mdx
# api_docs/core_chrome.mdx
# api_docs/core_http.mdx
# api_docs/core_saved_objects.mdx
# api_docs/data.json
# api_docs/data.mdx
# api_docs/data_autocomplete.mdx
# api_docs/data_index_patterns.json
# api_docs/data_index_patterns.mdx
# api_docs/data_query.mdx
# api_docs/data_search.mdx
# api_docs/data_ui.mdx
# api_docs/deprecations_by_api.mdx
# api_docs/deprecations_by_plugin.mdx
# api_docs/discover_enhanced.json
# api_docs/expressions.mdx
# api_docs/interactive_setup.json
# api_docs/interactive_setup.mdx
# api_docs/kibana_legacy.json
# api_docs/kibana_legacy.mdx
# api_docs/observability.json
# api_docs/rule_registry.json
# api_docs/saved_objects.json
# api_docs/security_solution.json
# api_docs/security_solution.mdx
# api_docs/timelines.json
# api_docs/timelines.mdx
# api_docs/url_forwarding.json
2021-09-14 10:44:20 -04:00
Kibana Machine
7336717d61
chore(NA): replace babel config files by inline presets by default in the jsts_transpiler rule ( #110620 ) ( #111217 )
...
* chore(NA): replace babel config files by inline presets by default in the js_ts_transpiler rule
* chore(NA): update @kbn/ace build to exclude worker file
* chore(NA): remove config file support
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
2021-09-03 18:41:32 -04:00
Stacey Gammon
e7dbd91d3d
[7.x] Make owner attribute required on kibana.json ( #108231 ) ( #110215 )
...
* Make owner attribute required on kibana.json (#108231 )
* make owner attribute required
* Add owner properties in more places
* add test for owner attribute
* add error check too in the test
* Fix tests
* fix tests and update docs
* wip
* More test fixes
* Fix All The Errorz
* Adding more owner attributes
* Update x-pack/test/saved_object_api_integration/common/fixtures/saved_object_test_plugin/kibana.json
Co-authored-by: Larry Gregory <lgregorydev@gmail.com>
* Update x-pack/test/ui_capabilities/common/fixtures/plugins/foo_plugin/kibana.json
Co-authored-by: Larry Gregory <lgregorydev@gmail.com>
* commeeeooonnnn
* Update docs
* soooo many kibanajsons
* adjust plugin generator to add an owner
* Add owner to the plugin generator scripts
* update snapshot
* Fix snapshot
* review updates
Co-authored-by: Larry Gregory <lgregorydev@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
# dev_docs/tutorials/building_a_plugin.mdx
# src/dev/code_coverage/ingest_coverage/integration_tests/fixtures/test_plugin/kibana.json
# test/common/fixtures/plugins/coverage/kibana.json
* Update kibana.json
Add owner attribute
* Remove this json file. It was deleted.
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-31 16:19:52 -04:00
Stacey Gammon
53fa5ff3fd
API Doc Fixes ( #109685 ) ( #110466 )
...
* Fixes
- Fix bad formatting of deprecated apis by plugin
- Collect deprecated apis recursively
- Include unreferenced apis in Deprecated apis by API page.
* Fix unreferenced dep list
* check in updated docs
* Fix the issue with saved objects management plugin docs not being included
* adding the new docs after fixing some docs missing
* update api docs
# Conflicts:
# api_docs/apm.json
# api_docs/charts.mdx
# api_docs/core.mdx
# api_docs/core_application.mdx
# api_docs/core_chrome.json
# api_docs/core_chrome.mdx
# api_docs/core_http.mdx
# api_docs/core_saved_objects.mdx
# api_docs/data.json
# api_docs/data.mdx
# api_docs/data_autocomplete.mdx
# api_docs/data_index_patterns.json
# api_docs/data_index_patterns.mdx
# api_docs/data_query.mdx
# api_docs/data_search.json
# api_docs/data_search.mdx
# api_docs/data_ui.mdx
# api_docs/deprecations_by_api.mdx
# api_docs/deprecations_by_plugin.mdx
# api_docs/expression_shape.json
# api_docs/expression_shape.mdx
# api_docs/expressions.json
# api_docs/field_formats.json
# api_docs/fleet.json
# api_docs/kibana_react.json
# api_docs/kibana_react.mdx
# api_docs/lists.json
# api_docs/observability.json
# api_docs/reporting.json
# api_docs/rule_registry.json
# api_docs/rule_registry.mdx
# api_docs/security_solution.json
# api_docs/security_solution.mdx
# api_docs/timelines.json
# api_docs/timelines.mdx
# api_docs/visualizations.mdx
2021-08-30 11:02:04 -04:00
Kibana Machine
f94498dc94
chore(NA): moving @kbn/docs-utils to babel transpiler ( #108190 ) ( #108705 )
...
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
2021-08-16 12:47:13 -04:00
Spencer
79e45f2190
[build_ts_refs] improve caches, allow building a subset of projects ( #107981 ) ( #108139 )
...
* [build_ts_refs] improve caches, allow building a subset of projects
* cleanup project def script and update refs in type check script
* rename browser_bazel config to avoid kebab-case
* remove execInProjects() helper
* list references for tsconfig.types.json for api-extractor workload
* disable composite features of tsconfig.types.json for api-extractor
* set declaration: true to avoid weird debug error
* fix jest tests
Co-authored-by: spalger <spalger@users.noreply.github.com>
# Conflicts:
# .gitignore
# examples/hello_world/tsconfig.json
# tsconfig.json
# tsconfig.refs.json
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-08-11 05:08:54 -04:00
Stacey Gammon
7111bcf5f4
Fix the API docs bug, where optional functions on interfaces were losing their children. ( #107236 ) ( #107905 )
...
* Fix the bug and update tests
* update api docs
* Fix tests
# Conflicts:
# api_docs/charts.mdx
# api_docs/data.json
# api_docs/data.mdx
# api_docs/data_autocomplete.mdx
# api_docs/data_field_formats.mdx
# api_docs/data_index_patterns.mdx
# api_docs/data_query.mdx
# api_docs/data_search.json
# api_docs/data_search.mdx
# api_docs/data_ui.mdx
# api_docs/deprecations_by_api.mdx
# api_docs/deprecations_by_plugin.mdx
# api_docs/es_ui_shared.mdx
# api_docs/fleet.mdx
# api_docs/reporting.json
# api_docs/rule_registry.mdx
# api_docs/security_solution.json
# api_docs/security_solution.mdx
# api_docs/timelines.json
# api_docs/timelines.mdx
# api_docs/visualizations.mdx
2021-08-09 12:51:00 -04:00
Stacey Gammon
0b9be5df45
Remove line numbers from the json files ( #107158 ) ( #107758 )
...
* Stop tracking line numbers
* Updated api docs
* Fix type error and update tests
* wrap label in encodeURIComponent for the links
* Update docs after encodeUriComponent change
# Conflicts:
# api_docs/apm.json
# api_docs/canvas.json
# api_docs/core.json
# api_docs/core_saved_objects.json
# api_docs/data.json
# api_docs/data.mdx
# api_docs/data_autocomplete.mdx
# api_docs/data_field_formats.json
# api_docs/data_field_formats.mdx
# api_docs/data_index_patterns.json
# api_docs/data_index_patterns.mdx
# api_docs/data_query.mdx
# api_docs/data_search.json
# api_docs/data_search.mdx
# api_docs/data_ui.mdx
# api_docs/deprecations_by_api.mdx
# api_docs/deprecations_by_plugin.mdx
# api_docs/home.json
# api_docs/lens.json
# api_docs/monitoring.json
# api_docs/presentation_util.json
# api_docs/security.json
# api_docs/security_solution.json
# api_docs/timelines.json
2021-08-05 12:26:16 -04:00
Stacey Gammon
2fcf3e49ea
Improve deprecated API list, and update api docs ( #106942 ) ( #107441 )
...
* Code to adjust deprecated api list
* updated docs
* fix and update tests
# Conflicts:
# api_docs/core.json
# api_docs/data.json
# api_docs/data.mdx
# api_docs/data_autocomplete.mdx
# api_docs/data_field_formats.mdx
# api_docs/data_index_patterns.json
# api_docs/data_index_patterns.mdx
# api_docs/data_query.mdx
# api_docs/data_search.mdx
# api_docs/data_ui.mdx
# api_docs/deprecations.mdx
# api_docs/kibana_react.mdx
# api_docs/security_solution.json
# api_docs/security_solution.mdx
2021-08-02 16:44:47 -04:00
Stacey Gammon
d2ee3daa6d
Support owner and description attributes inside the Manifest file, use in API docs ( #101786 ) ( #101841 )
...
* Support owner and description in manifest file, add to mdx output for each plugin
* Update parse_kibana_platform_plugin.ts
* edit a couple kibana.jsons
* Update write_plugin_mdx_docs.ts
* update api docs
* Update core server manifest plugin types
* update core docs
* Fix type_check failure
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
2021-06-10 15:18:24 -04:00
Caroline Horn
b118e40753
[Stack Management] Converted to use KibanaPageTemplate (sort of) ( #101335 ) ( #101617 )
...
* Just replace the old wrapper and uses the `solutionNav` prop
* Examples of: Empty Page, Error state, Page Header, and Split Panel
2021-06-08 13:28:27 -04:00
Stacey Gammon
2cad521166
Ensure comments on parameters in arrow functions are captured in the docs and ci metrics. ( #100823 ) ( #101087 )
...
* Make sure arrow functions capture parameter comments.
* Update docs
# Conflicts:
# api_docs/apm.json
# api_docs/core.json
# api_docs/data.json
# api_docs/data_index_patterns.json
# api_docs/data_search.json
# api_docs/licensing.json
# api_docs/reporting.json
# api_docs/spaces.json
2021-06-01 17:24:44 -04:00
Kibana Machine
c635144ebe
chore(NA): correctly setup dep order on js_library to fix windows build ( #100420 ) ( #100428 )
...
Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
2021-05-20 20:57:21 -04:00
Stacey Gammon
8ee9c3abc4
Fix a bunch of bugs with APIDocs system ( #99589 ) ( #100417 )
...
* Remove custom code, add in a hack
* remove artifical limit
* Fix arrow functions in interfaces not having children
* Update docs
* Update api docs after merge from master
* update api docs after merge from master
* update api docs
# Conflicts:
# api_docs/core.json
# api_docs/data.json
# api_docs/data_index_patterns.json
# api_docs/deprecations.mdx
# api_docs/features.json
# api_docs/licensing.json
# api_docs/reporting.json
# api_docs/spaces.json
2021-05-20 16:11:31 -04:00
Kibana Machine
08a4812117
chore(NA): moving @kbn/docs-utils into bazel ( #100051 ) ( #100071 )
...
Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
2021-05-13 17:32:24 -04:00
Stacey Gammon
88f9c4ae02
Add support for building a deprecation list with usage ( #99154 ) ( #99538 )
...
* Add support for building a deprecation list with usage
* Update API docs
2021-05-06 17:59:11 -04:00
Kibana Machine
9c38f97a07
chore(NA): moving @kbn/config into bazel ( #99199 ) ( #99279 )
...
Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
2021-05-04 20:00:48 -04:00
Kibana Machine
b3fc91c6d8
chore(NA): moving @kbn/dev-utils into bazel ( #98496 ) ( #98696 )
...
* chore(NA): moving @kbn/dev-utils into bazel
* docs(NA): updated generated plugin list
Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
2021-04-29 00:50:19 +00:00
Kibana Machine
673c0c647f
chore(NA): chore(NA): moving @kbn/utils into bazel ( #97833 ) ( #98056 )
...
* chore(NA): chore(NA): moving @kbn/utils into bazel
* chore(NA): run kbn-test integration test with preserve-symlinks
Co-authored-by: Tiago Costa <tiagoffcc@hotmail.com>
2021-04-22 20:25:53 +00:00
Kibana Machine
59efc977b7
Remove the no longer used release-notes script ( #97806 ) ( #97882 )
...
* Remove the no longer used release-notes script
* Commit missing file
Co-authored-by: Tim Roes <tim.roes@elastic.co>
2021-04-21 17:01:18 -04:00
Stacey Gammon
0a2799d09d
Track API stats as part of ci ( #95733 ) ( #97306 )
...
* Track stats and add extra output information
* Update api docs output
* Clean up id names
* update api docs
* Consolidate error messages and fix a bug
* Update docs
* Update get_declaration_nodes_for_plugin.ts
* Fix bug with removeBrokenLinks not being recursive
* Update docs
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
# api_docs/data.json
# api_docs/data_index_patterns.json
# api_docs/data_search.json
# api_docs/reporting.json
2021-04-15 16:47:21 -04:00
Tiago Costa
69bec3f49f
chore(NA): enable preserve symlinks for ts without breaking packages development ( #95433 ) ( #95884 )
...
* chore(NA): move elastic-datemath into a ts package
* chore(NA): finish elastic-datemath
* chore(NA): finish elastic-datemath
* chore(NA): source folder for elastic-datemath
* chore(NA): add source-maps ace, analytics, apm-config-loader and apm-utils packages
* chore(NA): add sourcemaps to packages on typescript
* chore(NA): move test fixtures within source
* chore(NA): correct exclusions on packages
* chore(NA): correct package.json on all packages
* chore(NA): correct package.json on all packages
* chore(NA): complete kbn pm
* chore(NA): default export on elastic-datemath
* chore(NA): include logs on kbn-logging
* chore(NA): update bundle ref module to last code used in the webpack upstream
* chore(NA): update bundle ref module to last code used in the webpack upstream - refactored
* chore(NA): remove override method for exportsArgument
* fix(NA): typechecking problems by use @internal at javascript import sources on kbn-test package
* fix(NA): typescript projects check
* fix(NA): run optimizer integration tests from source
* chore(NA): fix usage from target for kbn optimizer
* chore(NA): path on tsconfig
* chore(NA): move tsignore into ts-expect-error
* chore(NA): include souce maps on kbn cli dev
* chore(NA): include souce maps on kbn-crypto, kbn-server-http-tools and kbn-telemetry-tools
* chore(NA): add issue links into the ts-expect-error comments
# Conflicts:
# packages/elastic-datemath/README.md
# packages/kbn-optimizer/src/integration_tests/basic_optimization.test.ts
2021-03-30 23:54:44 -04:00
Chandler Prall
2c5a9a7cb4
[7.x] Upgrade EUI to v31.10.0 ( #93796 ) ( #95687 )
...
* Upgrade EUI to v31.10.0 (#93796 )
* Upgraded eui version, updated jest snaapshots
* Upgrade EUI to v31.10.0 & update tests
* increase expected histogram brush size result
* revert dev_server snap
* update baseline dashboard reporting png
* avoid multiple acton menu openings when verified that the action exists and is enabled
* update dashboard table expand button
* update dashboard tsvb baseline
* Adjust 2 cypress tests
* snapshot update
Co-authored-by: Greg Thompson <thompson.glowe@gmail.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
# test/functional/screenshots/baseline/tsvb_dashboard.png
# x-pack/plugins/canvas/public/components/asset_manager/__stories__/__snapshots__/asset_manager.stories.storyshot
# x-pack/plugins/security_solution/public/management/pages/trusted_apps/view/__snapshots__/trusted_apps_page.test.tsx.snap
* snapshot updates
2021-03-30 15:30:58 -04:00
Stacey Gammon
6b8ebbfa18
API docs clean up ( #93508 ) ( #93881 )
...
* Fix links to github
* Fix links to github
* Update docs to latest
* Sort, remove unneccessary path info, reduce tags
* Go back to having DocDef create the link to avoid backport conflicts
* update api docs
# Conflicts:
# api_docs/actions.json
# api_docs/advanced_settings.json
# api_docs/alerting.json
# api_docs/apm.json
# api_docs/apm_oss.json
# api_docs/banners.json
# api_docs/beats_management.json
# api_docs/bfetch.json
# api_docs/canvas.json
# api_docs/case.json
# api_docs/charts.json
# api_docs/cloud.json
# api_docs/console.json
# api_docs/core.json
# api_docs/core_application.json
# api_docs/core_chrome.json
# api_docs/core_http.json
# api_docs/core_saved_objects.json
# api_docs/dashboard.json
# api_docs/dashboard_enhanced.json
# api_docs/dashboard_mode.json
# api_docs/data.json
# api_docs/data_autocomplete.json
# api_docs/data_enhanced.json
# api_docs/data_field_formats.json
# api_docs/data_index_patterns.json
# api_docs/data_query.json
# api_docs/data_search.json
# api_docs/data_ui.json
# api_docs/dev_tools.json
# api_docs/discover.json
# api_docs/discover_enhanced.json
# api_docs/embeddable.json
# api_docs/embeddable_enhanced.json
# api_docs/encrypted_saved_objects.json
# api_docs/enterprise_search.json
# api_docs/es_ui_shared.json
# api_docs/event_log.json
# api_docs/expressions.json
# api_docs/features.json
# api_docs/file_upload.json
# api_docs/fleet.json
# api_docs/global_search.json
# api_docs/home.json
# api_docs/index_lifecycle_management.json
# api_docs/index_management.json
# api_docs/index_pattern_field_editor.json
# api_docs/index_pattern_management.json
# api_docs/infra.json
# api_docs/ingest_pipelines.json
# api_docs/inspector.json
# api_docs/kibana_legacy.json
# api_docs/kibana_react.json
# api_docs/kibana_utils.json
# api_docs/lens.json
# api_docs/license_management.json
# api_docs/licensing.json
# api_docs/lists.json
# api_docs/management.json
# api_docs/maps.json
# api_docs/maps_legacy.json
# api_docs/ml.json
# api_docs/monitoring.json
# api_docs/navigation.json
# api_docs/newsfeed.json
# api_docs/observability.json
# api_docs/osquery.json
# api_docs/presentation_util.json
# api_docs/remote_clusters.json
# api_docs/reporting.json
# api_docs/rollup.json
# api_docs/runtime_fields.json
# api_docs/saved_objects.json
# api_docs/saved_objects_management.json
# api_docs/saved_objects_tagging.json
# api_docs/saved_objects_tagging_oss.json
# api_docs/security.json
# api_docs/security_oss.json
# api_docs/security_solution.json
# api_docs/share.json
# api_docs/snapshot_restore.json
# api_docs/spaces.json
# api_docs/spaces_oss.json
# api_docs/stack_alerts.json
# api_docs/task_manager.json
# api_docs/telemetry.json
# api_docs/telemetry_collection_manager.json
# api_docs/telemetry_collection_xpack.json
# api_docs/telemetry_management_section.json
# api_docs/triggers_actions_ui.json
# api_docs/ui_actions.json
# api_docs/ui_actions_enhanced.json
# api_docs/uptime.json
# api_docs/url_forwarding.json
# api_docs/usage_collection.json
# api_docs/vis_type_timeseries.json
# api_docs/visualizations.json
2021-03-06 10:05:27 -05:00
Stacey Gammon
2117e1324c
API DOCS Step 3/3 ( #92929 ) ( #93530 )
...
* update api_docs from gitignore
* api doc files
* Update api_welcome.mdx
* Pretty print json
* Add new lines and extra frontmatter to warn github viewers
* update api_docs with new lines and frontmatter
* Remove all apis tagged @internal and add tests
* Update docs with all internal APIs removed
* fix typescript error in test fixtures
* Update core.json
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
# Conflicts:
# api_docs/core.json
# api_docs/core_application.json
# api_docs/core_http.json
# api_docs/core_saved_objects.json
2021-03-03 20:12:24 -05:00
Kibana Machine
7535f23a55
API docs ( #92827 ) ( #92940 )
...
Co-authored-by: Stacey Gammon <gammon@elastic.co>
2021-02-25 20:54:03 -05:00
spalger
527f026a0f
add dep on @kbn/config
so it is built first
2021-02-25 07:50:08 -08:00
Stacey Gammon
1fd58b52e7
Automatically generated Api documentation ( #86232 ) ( #92742 )
...
* auto generated mdx api doc system
* Fix README.md
* update core api docs after master merge
* clean up signature
* Update packages/kbn-dev-utils/src/plugins/parse_kibana_platform_plugin.ts
Co-authored-by: Spencer <email@spalger.com>
* migrate to docs-util package
* Remove bad links
* fix ref to release-notes and add extra dats service folder
* update name change
* Update packages/kbn-docs-utils/src/api_docs/build_api_declarations/get_type_kind.ts
Co-authored-by: Brandon Kobel <brandon.kobel@gmail.com>
* Update packages/kbn-docs-utils/src/api_docs/utils.ts
Co-authored-by: Brandon Kobel <brandon.kobel@gmail.com>
* review updates 1
* review feedback updates round 1
* Small refactor of extractImportReferences
* Review feedback updates 2
* Review update 3 plus support for links in class interface heritage clause
* debug failing test on ci only
* Escape regex directory path
* Update packages/kbn-docs-utils/src/api_docs/build_api_declarations/utils.ts
Co-authored-by: Spencer <email@spalger.com>
* fix for commit suggestion
Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Brandon Kobel <brandon.kobel@gmail.com>
Co-authored-by: kobelb <brandon.kobel@elastic.co>
Co-authored-by: Spencer <email@spalger.com>
Co-authored-by: spalger <spalger@users.noreply.github.com>
Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Brandon Kobel <brandon.kobel@gmail.com>
Co-authored-by: kobelb <brandon.kobel@elastic.co>
2021-02-24 21:37:29 -05:00