Raku / doc-website

Tooling to build/run the documentation website
Artistic License 2.0
7 stars 10 forks source link

Documentation Bug: Heading link doesn't work #389

Closed wayland closed 3 months ago

wayland commented 3 months ago

Problem or new feature

https://docs.raku.org/language/grammars#%22Always_succeed%22_assertion section link on section mark works, but the Table of Contents doesn't include the correct link.

Suggestions

Needs fixing, but not sure how.

coke commented 3 months ago

The quotes in the generated TOC need to be escaped - they are literals, so the generated HTML is a href="#" alway...

Moving to doc-website.

finanalyst commented 3 months ago

The RakuDoc source is

=head3 X«"Always succeed" assertion|Regexes,<?>»

I'll check to see why " has not been quoted. I would have expected it to be.