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

docs(fix): Make best practices docs look better #3316

Merged
merged 1 commit into from
Feb 11, 2021
Merged

docs(fix): Make best practices docs look better #3316

merged 1 commit into from
Feb 11, 2021

Conversation

kavirajk
Copy link
Contributor

@kavirajk kavirajk commented Feb 10, 2021

What this PR does / why we need it:
Request from @osg-grafana from Grafana Enterprise Loki. Goal is to make best practices doc layout look bit more professional.

Say from this
https://grafana.com/docs/loki/v2.1.0/best-practices/current-best-practices/

to this
https://grafana.com/docs/loki/v2.1.0/best-practices/

Which issue(s) this PR fixes:
Fixes #
NA

Special notes for your reviewer:
This is just for "latest" version of Loki docs. Same thing done for versioned docs on website repo https://github.com/grafana/website/pull/3414/

Checklist

  • Documentation added

@kavirajk kavirajk requested review from osg-grafana and a team February 10, 2021 09:58
Copy link
Contributor

@osg-grafana osg-grafana left a comment

Choose a reason for hiding this comment

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

@oddlittlebird and @achatterjee-grafana, this PR moves the best practices up a level so that extraneous nesting goes away. Content changes can be handled in subsequent PRs. This PR introduces potential broken links that refer to these best practices.

@achatterjee-grafana
Copy link
Contributor

@osg-grafana, will the broken relrefs get fixed as a priority? Moving a level up makes sense to me.

@osg-grafana
Copy link
Contributor

@osg-grafana, will the broken relrefs get fixed as a priority? Moving a level up makes sense to me.

Yes

@oddlittlebird
Copy link
Contributor

Theoretically, you shouldn't be able to pass e2e testing with broken relrefs, so fixing them is kind of required.

Copy link
Contributor

@cyriltovena cyriltovena left a comment

Choose a reason for hiding this comment

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

LGTM

@cyriltovena cyriltovena merged commit 527ba60 into grafana:master Feb 11, 2021
@osg-grafana
Copy link
Contributor

Theoretically, you shouldn't be able to pass e2e testing with broken relrefs, so fixing them is kind of required.

Ok, so it looks like we do not have to worry about checking links manually. If that is not the case, please let me know. Otherwise, ticking this off my TODO list.

@achatterjee-grafana
Copy link
Contributor

If you do a local doc build, broken relrefs should get flagged. If they did not, then the system is broken. That is why Diana mentioned that theoretically, you should not able to merge with broken relrefs.

@osg-grafana
Copy link
Contributor

Thanks for the details. I understood that CI would catch those.

@oddlittlebird
Copy link
Contributor

oddlittlebird commented Feb 11, 2021 via email

cyriltovena pushed a commit to cyriltovena/loki that referenced this pull request Feb 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants