Closed IanMayo closed 1 year ago
Our schema allows for related pages to be specified for a class. See an example of content here: https://github.com/DeepBlueCLtd/Fi3ldMan/blob/main/dita/regions/britain/hybrid/unit_hybrid_a.dita#L129
class
Introduce some quick links data in the QuickLinksTable, and then parse the content.
QuickLinksTable
In the first phase, just use a link to the current file - actually parse the content in a future phase.
Note: this is how the content will look:
<related-pages id="related"> <title> Related links </title> <xref href="../br_power_units.dita#br_power_units/diesel">French diesel power units</xref> <xref href="../br_cooling_units.dita">Cooling units</xref> </related-pages>
Note: we have one of these in the mock data, but it's present as a dita file, not an html one. @IanMayo to fix that.
dita
html
Done.
Our schema allows for related pages to be specified for a
class
. See an example of content here: https://github.com/DeepBlueCLtd/Fi3ldMan/blob/main/dita/regions/britain/hybrid/unit_hybrid_a.dita#L129Introduce some quick links data in the
QuickLinksTable
, and then parse the content.In the first phase, just use a link to the current file - actually parse the content in a future phase.
Note: this is how the content will look:
Note: we have one of these in the mock data, but it's present as a
dita
file, not anhtml
one. @IanMayo to fix that.