Go version
tip
Output of go env in your module/workspace:
What did you do?
Looked at https://go.dev/doc/faq.
What did you see happen?
See, for example, https://go.dev/doc/faq. The TOC has several incomplete entries, such as "Why is" and "Why does Go not have the". These are because the headers in _content/doc/faq.md uses header lines like
### Why is `len` a function and not a method? {#methods_on_basics}
and
### Why does Go not have the `?:` operator? {#Does_Go_have_a_ternary_form}
In https://go.dev/cl/601055 for #68596 the TOC code was changed to only display the first element. That is causing the truncation we see here.
CC @hyangah @dmitshur
What did you expect to see?
Untruncated TOC lines.
Go version
tip
Output of
go envin your module/workspace:What did you do?
Looked at https://go.dev/doc/faq.
What did you see happen?
See, for example, https://go.dev/doc/faq. The TOC has several incomplete entries, such as "Why is" and "Why does Go not have the". These are because the headers in _content/doc/faq.md uses header lines like
and
In https://go.dev/cl/601055 for #68596 the TOC code was changed to only display the first element. That is causing the truncation we see here.
CC @hyangah @dmitshur
What did you expect to see?
Untruncated TOC lines.