Linking to pragmas
Some time ago I attempted to add a link to MONKEY-SEE-NO-EVAL.
It created this link: https://docs.perl6.org/type/MONKEY-SEE-NO-EVAL (404)
But I needed this: https://docs.perl6.org/language/pragmas#index-entry-MONKEY-SEE-NO-EVAL-MONKEY-SEE-NO-EVAL
Is there any better way than hardcoding language/pragmas#index-entry-MONKEY-SEE-NO-EVAL-MONKEY-SEE-NO-EVAL?
It's because our htmlify.p6 treat Upper as Type and lower as routine.
You can modify htmlify logic(it's a bit messy though, remind of 'write-only' :-( ) or improve the #index-entry-MONKEY-SEE-NO-EVAL-MONKEY-SEE-NO-EVAL part to make hard-code not so ugly.
Wow, it's a thousand lines of early Perl6... Maybe use this to refactor the thing? Without global variables, for instance?
Besides, I think this would call for major refactoring. Would pragmas go to a separate directory? This is related to #802 and others, also. Should we document pragmas in a separate directory?
Related: #1823
htmlify is long gone, but the best way to link to that these days is:
L</language/pragmas#MONKEY-SEE-NO-EVAL>