Skip to content
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

Converts logging README format to be compatible with new docs system #91958

Merged
merged 6 commits into from
Feb 22, 2021

Conversation

TinaHeiligers
Copy link
Contributor

@TinaHeiligers TinaHeiligers commented Feb 19, 2021

Partially addresses #57502

Converts src/core/server/logging/README.md to src/core/server/logging/README.mdx and updates the syntax to support mdx in the new docs system.

There is a related PR (https://github.com/elastic/elastic-docs/pull/266) in the new docs system to have the logging service appear in the nav.

@TinaHeiligers TinaHeiligers added docs Feature:Logging Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc Team:Docs v7.13.0 v8.0.0 labels Feb 19, 2021
@TinaHeiligers TinaHeiligers changed the title Converts logging README format to be compatible with new docs system [skip-ci] Converts logging README format to be compatible with new docs system Feb 19, 2021
@TinaHeiligers TinaHeiligers changed the title [skip-ci] Converts logging README format to be compatible with new docs system Converts logging README format to be compatible with new docs system Feb 19, 2021
@TinaHeiligers TinaHeiligers marked this pull request as ready for review February 19, 2021 14:31
@TinaHeiligers TinaHeiligers requested a review from a team as a code owner February 19, 2021 14:31
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-core (Team:Core)

@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-docs (Team:Docs)

Copy link
Contributor Author

@TinaHeiligers TinaHeiligers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Self review
There isn't a launch date yet for the new docs system. In our existing docs, we link to the logging README from the dev docs that means we need to be careful about how much we break up or change the current logging README.

Github renders .mdx files in a reasonably 'pretty' way, so for now I've gone with changing the readme to .mdx format without any extra editing (besides the syntax needed for the new docs system)

@TinaHeiligers TinaHeiligers added the release_note:skip Skip the PR/issue when compiling release notes label Feb 19, 2021
@TinaHeiligers TinaHeiligers removed the request for review from lukeelmers February 19, 2021 14:41
Copy link
Member

@lukeelmers lukeelmers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My main question so far is what to do about the custom components the docs system uses. Since github doesn't render those at all, perhaps we should wait to make those updates until the new docs system is live, otherwise folks visiting the README on github will get a broken experience. WDYT?

I guess what I'm asking is, should we just convert this file to .mdx for now without doing anything else, until such a time as users are actually reading it on the "real" docs site?

@TinaHeiligers TinaHeiligers marked this pull request as ready for review February 22, 2021 16:24
@@ -69,19 +69,19 @@ We will continue to focus on adding clarity around these types of services and w
### Core services

Sometimes referred to just as Core, Core services provide the most basic and fundamental tools neccessary for building a plugin, like creating saved objects,
routing, application registration, and notifications. The Core platform is not a plugin itself, although
routing, application registration, notifications and <DocLink id="kibCoreLogging" text="logging"/>. The Core platform is not a plugin itself, although
Copy link
Contributor Author

@TinaHeiligers TinaHeiligers Feb 22, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AFAIK, this doc is only used in the new Docs system, so linking to the kibCoreLogging section should be ok but please correct me if I'm wrong.

The other changes are all white-space changes for some reason.

@TinaHeiligers
Copy link
Contributor Author

@elasticmachine merge upstream

@TinaHeiligers
Copy link
Contributor Author

I guess what I'm asking is, should we just convert this file to .mdx for now without doing anything else, until such a time as users are actually reading it on the "real" docs site?

The team has decided that's the way to go.

@TinaHeiligers TinaHeiligers added the auto-backport Deprecated - use backport:version if exact versions are needed label Feb 22, 2021
@TinaHeiligers
Copy link
Contributor Author

@lukeelmers Could you please take another quick glance at the doc changes please? I've changed links back to Github-friendly rendering links.

id: kibCoreLogging
slug: /kibana-dev-docs/services/logging
title: Logging system
image: https://source.unsplash.com/400x175/?Logging
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assume the unsplash images are just a placeholder thing? I noticed these in a few other docs from the new system but don't see those images surfaced anywhere.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They're a placeholder and are optional at this point. I added it simply to follow what I also saw was being done in other docs.

@TinaHeiligers TinaHeiligers enabled auto-merge (squash) February 22, 2021 19:56
@kibanamachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@TinaHeiligers TinaHeiligers merged commit a2be280 into elastic:master Feb 22, 2021
kibanamachine added a commit to kibanamachine/kibana that referenced this pull request Feb 22, 2021
…lastic#91958)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
@kibanamachine
Copy link
Contributor

💚 Backport successful

7.x / #92279

Successful backport PRs will be merged automatically after passing CI.

kibanamachine added a commit that referenced this pull request Feb 22, 2021
…91958) (#92279)

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Christiane (Tina) Heiligers <christiane.heiligers@elastic.co>
@TinaHeiligers TinaHeiligers deleted the logging-docs branch February 25, 2021 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Deprecated - use backport:version if exact versions are needed docs Feature:Logging release_note:skip Skip the PR/issue when compiling release notes Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc Team:Docs v7.13.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants