Skip to content

[docs] update doc headers#13527

Merged
kschoche merged 5 commits intomainfrom
update_helm_docs_june21
Jun 22, 2022
Merged

[docs] update doc headers#13527
kschoche merged 5 commits intomainfrom
update_helm_docs_june21

Conversation

@kschoche
Copy link
Copy Markdown
Contributor

Description

Describe why you're making this change, in plain English.
Use anchor links for table of contents in helm k8s docs.

Due to functionality we have which auto-generates anchors for code snippets which are list items. connectInject exists higher up the page as a list item, and so an anchor is generated for it with the id #connectinject. Because the heading we are trying to link to is further down the page, it gets the -1 suffix to ensure uniqueness, use anchor links instead.

Testing & Reproduction steps

  • In the case of bugs, describe how to replicate
  • If any manual tests were done, document the steps and the conditions to replicate
  • Call out any important/ relevant unit tests, e2e tests or integration tests you have added or are adding

Links

Include any links here that might be helpful for people reviewing your PR (Tickets, GH issues, API docs, external benchmarks, tools docs, etc). If there are none, feel free to delete this section.

Please be mindful not to leak any customer or confidential information. HashiCorp employees may want to use our internal URL shortener to obfuscate links.

PR Checklist

  • updated test coverage
  • external facing docs updated
  • not a security concern

@kschoche kschoche added type/docs Documentation needs to be created/updated/clarified type/docs-cherrypick pr/no-metrics-test labels Jun 21, 2022
@kschoche kschoche requested a review from david-yu June 21, 2022 18:45
@kschoche kschoche requested a review from a team as a code owner June 21, 2022 18:45
@kschoche kschoche self-assigned this Jun 21, 2022
@kschoche kschoche added the pr/no-changelog PR does not need a corresponding .changelog entry label Jun 21, 2022
@kschoche kschoche merged commit f961c86 into main Jun 22, 2022
@kschoche kschoche deleted the update_helm_docs_june21 branch June 22, 2022 20:56
@im2nguyen im2nguyen restored the update_helm_docs_june21 branch June 23, 2022 16:27
@im2nguyen im2nguyen deleted the update_helm_docs_june21 branch June 23, 2022 16:28
im2nguyen pushed a commit that referenced this pull request Jun 23, 2022
* update helm docs to have correct headers
im2nguyen pushed a commit that referenced this pull request Jun 23, 2022
* update helm docs to have correct headers
kschoche added a commit that referenced this pull request Jun 23, 2022
* backport of commit 4309d74
* [docs] update doc headers (#13527)
* update helm docs to have correct headers

Co-authored-by: Kyle Schochenmaier <kschoche@gmail.com>
kschoche added a commit that referenced this pull request Jun 23, 2022
* backport of commit 4309d74

* [docs] update doc headers (#13527)
* update helm docs to have correct headers

Co-authored-by: Kyle Schochenmaier <kschoche@gmail.com>
eculver pushed a commit that referenced this pull request Jun 23, 2022
* backport of commit 4309d74

* [docs] update doc headers (#13527)
* update helm docs to have correct headers

Co-authored-by: Kyle Schochenmaier <kschoche@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr/no-changelog PR does not need a corresponding .changelog entry pr/no-metrics-test type/docs Documentation needs to be created/updated/clarified

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants