-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Hoorah! I'd just started to dabble with a ReST exporter of my own, but as ever you've done something much more comprehensive.
I see you're soliciting feedback on Reddit. Here's some thoughts after a brief play:
- Fields
- field descriptions under a
docnode/doctreehaven't been given labels (or indeed headings), so we can't refer to them (except via the HTML) docnodecan't be used on a field in isolation. Not sure if that's desirable or not, but it's not what your documentation implies.
- RDL formatcode support
- I can see you're not a fan, but using these rather than Markdown does keep one's RDL compatible with other tools.
- In an ideal world the formatting would be translated to ReST, for Sphinx to render in any builder. However, ReST text formatting is very limited (no underlining, strikethrough, colours, and heaven forefend you should want bold AND italic), so lots of the RDLFC wouldn't map cleanly without lots of custom style jazz.
- For the HTML builder you've already done the work in SystemRDL compiler. Why not use
get_html_desc()directly? - https://github.com/SystemRDL/systemrdl-compiler/blob/e6bd222554912fdc6a183e6674a6ba5d75e07632/src/systemrdl/core/rdlformatcode.py#L10 is straightforward to rewrite to use LaTeX tags
- I don't know about epub or other builders
- Cross references from node descriptions
- Is there a sensible way to refer to a node from another node's description, and have that render as a hyperlink?
- Similarly, is there a sensible way to refer embed
:ref:to other labels in the document? (At this point the RDL descriptions might become less meaningful outside of the Sphinx doc, since the links can't work, but that could be a reasonable price to pay for some).
- Enum descriptions in a
docnode
- missing
amykyta3
Metadata
Metadata
Assignees
Labels
No labels