RFC: Add annotations to make roast deep-linkable #97
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Roast is now the specification for Perl 6, and is the language test-suite for Rakudo. However, currently roast and docs both refer to the synopsis, so the relationship is something like this:

I propose that we reverse the references; we make it so that you can deep-link to specific parts of Roast from the docs, and instead of Roast referring to Synopsis we should have Synopsis refer to Roast (though that is less important than docs).

This PR uses (mis-uses?) the
D<>pod6 reference as an example, but really the idea is to have something linkable. I think the filenames aren't fine-grained enough. The other side of this would be addingL<>entries to the docs. These wouldn't have to be visible links in the docs. Maybe likeL<roast:operators/++>linking toD<operators/++>.I'm very open to other syntaxes/notations for anchors & links.
The few things I'm hoping to get out of this in the short term:
If this (or a variation we come up with) looks ok, I'd start annotating every roast file with the important concepts / syntax / etc that those tests define, ideally narrowed down to a specific block of assertions. I'd start with operators so I can get the docs side going as well and get a report of undocumented operators.