Skip to content

Links in headings render incorrectly in OTP #311

@shainaraskas

Description

@shainaraskas

Describe the bug

Some headings were migrated with links (probably a bad practice)

These headings get weird rendering in the OTP nav (and very long anchors)

Image

https://bookish-dollop-9p66716.pages.github.io/docker.html#_windows_and_macos_with_docker_desktophttpswww_docker_comproductsdocker_desktop

Expected behavior

Either enforce stripping of links from headings (maybe with linting)

or

Strip links in OTP

This problem might go away if we lessen the number of levels we show in the OTP

Steps to reproduce

No response

Tooling

  • docs-builder
  • migration tooling
  • I'm not sure

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions