-
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
Type links #4256
Type links #4256
Conversation
need to allow #tags on the links, probably. |
This is also erroneously treating links like the following as bad,
|
We should standardize one way or the other, let's pick. |
A few more false positive cases:
|
|
Sounds good. (The false positives for |
xt/rakudoc-types.rakutest
Outdated
@@ -10,7 +10,10 @@ Any other formatting code that refers to a type will fail the test; any C<> | |||
that isn't inside of an L<> will fail, and any L<> that doesn't have a C<> | |||
will fail. Links may end with an optional #id. | |||
|
|||
One exception: Referring to a type on its own page should only use C<>. | |||
Eexceptions: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ee
dc8b4a9
to
2413e0b
Compare
Rebased accidentally against master and then (hopefully correctly) against main. |
1cb504e
to
04cacea
Compare
Just did the same thing again! |
df79e04
to
2a980a4
Compare
Accepted formatting is, e.g.: L<C<Int>|/type/Int> Fixup doc/Type/Bool to pass the test.
Most of the issues from cfa's review are covered. One doc file is now passing in the branch - will merge back to main and start addressing the formatting everywhere. |
The problem
Inconsistent formatting when referring to types in the docs that have their own primary page. (#2954)
Solution provided
xt/rakudoc-types.rakutest