-
Notifications
You must be signed in to change notification settings - Fork 291
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
“::” in links is replaced with $COLON$COLON, this is too verbose #698
Comments
infix:<:> would become infix:<-> (actually it would be /routine/-.html) what would clash with infix:<-> (what is /routine/-.html). If we replace it with something else, we have to use a char that is not used in any operator name. We may not be hosting on windows but somebody might want to put the files on a usbstick. What still doesn't work because there is WHAT.html and what.html. |
If we can use zenkaku character For example
|
This also breaks the symmetry we have that you can visit
A bit of out-of-box thinking... what if we throw in a web app to serve the docs? That'd make the filenames we generate much more flexible. Or we can generate |
The Rewrite rule should work nicely. There is a complete list of links under https://docs.perl6.org/links.txt to test against. |
I commited a rule that makes Not sure about the OP. The Rewrite doesn't change the generated URLs in the actual document. Not sure if that's a problem. |
@zoffixznet it is. |
@AlexDaniel Seems like it's fixed |
I don't know what fixed it but you're right. |
For example: https://docs.perl6.org/type/IO$COLON$COLONSocket$COLON$COLONINET
This makes the link completely unreadable. Maybe we can replace
::
with just-
? That's what cpan does.Or, since we are not using windows to host perl.org, maybe we can detect the OS and allow some extra characters?
The text was updated successfully, but these errors were encountered: