kibana/docs/setup
David Kilfoyle d5c804bc58
[Docs] Update "Alert and action settings" docs to be generated from YAML source (#191787)
This PR:
- Updates the Kibana [Alert and action
settings](https://www.elastic.co/guide/en/kibana/current/alert-action-settings-kb.html)
page to be based off of a YAML source file
(`/docs/settings-gen/source/kibana-alert-action-settings.yml`) that is
manually converted to Asciidoc format
(`kibana-alert-action-settings.asciidoc`) by means of a Perl script
(`docs/settings-gen/parse-settings.pl`). A preview of the new, generated
page is
[here](https://kibana_bk_191787.docs-preview.app.elstc.co/guide/en/kibana/master/alert-action-settings-kb.html).
- Adds the `docs/settings-gen/parse-settings.pl` script which does the
YAML → Asciidoc conversion.

All new files are added to the `/docs/source-gen` folder. 

This is a trial run updating only one page of settings in the docs.
Later, in separate PRs, we plan to convert other pages. After all Kibana
settings pages have been converted, we would ask that the Perl script be
run automatically as part of the CI whenever the YAML files in
`/docs/source-gen` are added or updated.

**Notes:**
- The Docs team is happy to own and maintain the Perl script (sorry to
use Perl - it's the only scripting language that I know).
- In time we also plan to convert all of these files from Asciidoc to
Markdown.
- When we eventually/hopefully get the rest of the Kibana settings files
converted, we will announce the settings doc process to the Kibana team
by email and/or in the Kibana newsletter.

Big thanks to the amazing @lukeelmers and @KOTungseth for guiding this!

---
Why are we doing this? We aim to:
- Create a more consistent appearance for settings across all of the
docs.
- Make it easier for people to contribute, since all Asciidoc/Markdown
formatting is handled by a script.
- Make it more apparent which settings may be missing info, such as the
default values, available options, etc.
---

P.S. I haven't worked in the Kibana repo very much and would appreciate
any help navigating the CI checks.

Rel: https://github.com/elastic/docs-projects/issues/239
2025-01-07 12:53:09 -05:00
..
images Updates file upload formats in Kibana guide (#195880) 2024-10-14 10:48:36 +02:00
install Clarify macOS support (#191329) 2024-08-28 07:55:38 -05:00
upgrade [Docs] Reset release files for 9.0 (#199519) 2024-11-22 10:24:10 +01:00
access.asciidoc (Doc+) link video to checking health (#193023) 2024-09-16 15:38:46 +00:00
configuring-logging.asciidoc Update configuring-logging.asciidoc (#180835) 2024-04-19 08:45:59 +02:00
configuring-reporting.asciidoc [Discover] Rename Saved Search to Discover Session (#202217) 2024-12-18 13:45:32 +01:00
connect-to-elasticsearch.asciidoc [Docs] Update nav instructions and sample data installation to accommodate for the solution views (#199163) 2024-11-08 11:10:32 +01:00
docker.asciidoc Revert "[build/docker] Upgrade Ubuntu base image to 22.04 (#162282)" (#170430) 2023-11-02 12:56:17 -05:00
install.asciidoc [Docs] Update certain references to cloud and ESS due to serverless GA (#202184) 2024-11-28 16:53:56 +01:00
secure-settings.asciidoc Remove mention of (secure) settings qualifier from docs (#201900) 2024-11-27 13:35:39 -08:00
settings.asciidoc [Docs] Update "Alert and action settings" docs to be generated from YAML source (#191787) 2025-01-07 12:53:09 -05:00
start-stop.asciidoc [keystore] Add password support (#180414) 2024-05-06 10:23:29 -05:00
upgrade.asciidoc (Docs) Add Kibana upgrade notes page (#193268) 2024-10-07 11:51:42 +02:00