fmease / lushui

The reference compiler of the Lushui programming language
Apache License 2.0
7 stars 0 forks source link

Remove `@doc-{reserved-identifier{s,},attribute{s,}}` and everything in `core` annotated with it #131

Closed fmease closed 2 years ago

fmease commented 2 years ago

It's ugly and hacky and it introduces so many special cases in the documenter breaking the normal flow for such a small feature. Instead, construct those pages with a separate mechanism and include_str the documentation of attributes and reserved identifiers from the src/documenter/static/adoc/{attributes,identifiers}/ directories. We should probably rename static/ back to include/ since it's not really a static path.