Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extraneous text on generated page. #421

Closed
0rir opened this issue Dec 9, 2024 · 2 comments
Closed

Extraneous text on generated page. #421

0rir opened this issue Dec 9, 2024 · 2 comments

Comments

@0rir
Copy link
Contributor

0rir commented Dec 9, 2024

On https://docs-dev.raku.org/syntax/S%2F%2F%2F%20non-destructive%20substitution reached by a search for s/ and selecting s/ / / , from the composite options, the output's first body-line is:

 "See primary documentation in context for Lexical conventions 0"

The doc source shows nothing obvious that would create the '0'.

@finanalyst
Copy link
Collaborator

@0rir Sorry for the delay. Not sure how I missed these issues for so long.

If you go to the eventual destination page for s/ / / and look at the contents panel, then restrict the content lines by typing 'lexical' in the filter bar in the contents panel, then ...
you will find there are two headings with the same name. The renderer appends a _0 to the second (_1 to the next etc) occurrence so that a unique target is created for the URL.

So in one sense this occurs because there are two headings with the same name in the source.
But it could be seen as rendering error in that whatever the link is, it should not appear in the rendering.
I'll fix the rendering. (It seems to be in exactly the same place as the missing '.')

finanalyst added a commit that referenced this issue Dec 28, 2024
@finanalyst
Copy link
Collaborator

closing as completed with new PR

dontlaugh pushed a commit that referenced this issue Dec 28, 2024
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

No branches or pull requests

2 participants