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

Doc: Formatting fixes #115

Merged
merged 3 commits into from
Dec 20, 2023
Merged

Doc: Formatting fixes #115

merged 3 commits into from
Dec 20, 2023

Conversation

karenzone
Copy link
Contributor

Fixes: #82

@karenzone karenzone added the documentation Improvements or additions to documentation label Dec 19, 2023
@karenzone karenzone self-assigned this Dec 19, 2023
@karenzone karenzone marked this pull request as draft December 19, 2023 22:22
@@ -54,7 +54,7 @@ Before upgrading this plugin or Logstash itself, please pay special attention to

You will need to configure this plugin to connect to {es}, and may need to also need to provide local GeoIp databases.

[source]
[source,ruby]
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Required to make code sample render correctly

Comment on lines +295 to +296
:prohibit-ssl-disabled-explicit: Cannot be combined with `<<plugins-{type}s-{plugin}-ssl_enabled>>=>false`.
:prohibit-ssl-verify-none: Cannot be combined with `<<plugins-{type}s-{plugin}-ssl_verification_mode>>=>none`.
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Reformatting to make link text literal

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This approach works, but I'm not convinced that it's best practice. This approach doesn't save us much time or repetition, yet puts added burden on a user looking at docs in the plugin repo.

Screen Shot 2023-12-19 at 5 35 53 PM

Rather than clearly stating the information with the setting, we're giving users a job to do in order to go find where we set up these variables.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'd like to get the initial docs published soon, and I'm willing to table this for a later discussion outside of this PR.

@karenzone
Copy link
Contributor Author

@mashhurs The extra + signs in source are rendering literally throughout the page. Here's an example:

Screen Shot 2023-12-19 at 5 27 24 PM

I'm guessing that you want these entries to be literal? For example (borrowed from screenshot): _none, pipeline => "none", _ingest_pipeline_failure. Is that correct? If so, I'll fix those instances as part of this PR.

@karenzone karenzone marked this pull request as ready for review December 19, 2023 22:41
@karenzone
Copy link
Contributor Author

@mashhurs, please take a look and share your thoughts. When we're done, I'll bump versions and publish to get these docs building for the Logstash Reference.

@mashhurs
Copy link
Collaborator

@mashhurs The extra + signs in source are rendering literally throughout the page. Here's an example:

Screen Shot 2023-12-19 at 5 27 24 PM I'm guessing that you want these entries to be literal? For example (borrowed from screenshot): `_none`, `pipeline => "none"`, `_ingest_pipeline_failure`. Is that correct? If so, I'll fix those instances as part of this PR.

That's correct @karenzone ! Thank you for catching up.

@karenzone
Copy link
Contributor Author

Thanks for the confirmation, @mashhurs. I'll fix it tomorrow.

mashhurs
mashhurs previously approved these changes Dec 20, 2023
Copy link
Collaborator

@mashhurs mashhurs left a comment

Choose a reason for hiding this comment

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

Thank you for the fixes! LGTM.

@karenzone
Copy link
Contributor Author

@mashhurs, new commits caused your review to be dismissed. Can I get a fresh LGTM, please?

Copy link
Collaborator

@mashhurs mashhurs left a comment

Choose a reason for hiding this comment

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

Thank you for the fixes. LGTM!

@karenzone karenzone merged commit f7bf1b6 into elastic:main Dec 20, 2023
1 check passed
@karenzone karenzone deleted the 82-docs-fixes branch December 20, 2023 18:49
@karenzone
Copy link
Contributor Author

Published at v.0.1.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Doc: Fix asciidoc formatting and references so that we can pass docs-ci
2 participants