Skip to content

Fixing broken Yaml+ duplicate heading mentioned in Issue#4982#4983

Closed
kakabisht wants to merge 6 commits intoprometheus:mainfrom
kakabisht:fix-alert-docs
Closed

Fixing broken Yaml+ duplicate heading mentioned in Issue#4982#4983
kakabisht wants to merge 6 commits intoprometheus:mainfrom
kakabisht:fix-alert-docs

Conversation

@kakabisht
Copy link
Contributor

This PR aims to fix Issue about broken YAML + duplication heading mentioned in #4982


### `<email_config>`

```yaml
Copy link
Contributor

@TheMeier TheMeier Feb 9, 2026

Choose a reason for hiding this comment

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

IMHO this is ok here. This is how it looks currently:

Image

This is how it looks with your change:

Image

nav_icon: network
---

# High Availability
Copy link
Contributor

Choose a reason for hiding this comment

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

This also seems correct to me as this is the main headline. I also see to fail where it appears twice as claimed in #4982

@SoloJacobs
Copy link
Contributor

Hi @kakabisht ,

we haven't back from you here in a while. It is not really clear to me what the issue is, or how this change improves the situation. So, I will go ahead and close this. Feel free to open a new issue with a clearer description (and hopefully some screen shots).

Kind regards

@kakabisht
Copy link
Contributor Author

kakabisht commented Feb 21, 2026

Hello @SoloJacobs @TheMeier ,
Apologies, i missed the notification for this Issue.

  1. Attaching image of duplicate heading
image
  1. About the code block you're right, it got fixed in Fix email tls configuration example in docs #4976. Since the code block wasn't correctly closed.

If you feel duplicate heading is not a really big dealbreaker, then i an delete branch.
Thank you for your time.

@SoloJacobs SoloJacobs reopened this Feb 21, 2026
@SoloJacobs SoloJacobs self-assigned this Feb 21, 2026
@SoloJacobs
Copy link
Contributor

The change now seems good, but wen't accept this change without you signing off on the commit:

 git commit --amend --signoff

kakabisht and others added 4 commits February 22, 2026 19:51
To be able to move notifier specific code out of the config and notify packages,
some shared code needs to be moved to other/new packages. Since commoncfg.Secret
already does what config.Secret does, this replaces all usages of config.Secret.

Signed-off-by: Christoph Maser <christoph.maser+github@gmail.com>
Signed-off-by: kakabisht <kakabisht07@gmail.com>
Signed-off-by: kakabisht <kakabisht07@gmail.com>
Signed-off-by: kakabisht <kakabisht07@gmail.com>
@SoloJacobs
Copy link
Contributor

Fixed here instead: #5034

@SoloJacobs SoloJacobs closed this Feb 22, 2026
@kakabisht
Copy link
Contributor Author

Hi @SoloJacobs ,
This PR became more complex than expected, so I opened a follow-up PR:
#5034

@kakabisht kakabisht deleted the fix-alert-docs branch February 22, 2026 14:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants