Closed pgleeson closed 2 years ago
@pgleeson while referring any sub section inside an RST document (what I got from internet ref ) instead of
<a href="#document">Document</a>
we must use
`Document`_
I tried hard-coding this and it works correctly i.e a hyperlink of sub section inside the RST doc is created and I will try to add this inside the
def insert_links
function.
this is what we want right?
@parikshit14 Yes, this is the idea. But see here: https://raw.githubusercontent.com/ModECI/modelspec/main/examples/document.rst, the links that work in https://github.com/ModECI/modelspec/blob/main/examples/document.rst#section are like
`Section <#section>`_
i.e. they need a lowercase anchor to the subsection...
Fixed in #18
See description here: https://github.com/ModECI/modelspec/blob/main/examples/document.rst#section
Propagating to docs being generated here: https://mdf.readthedocs.io/en/latest/api/Specification.html#id9