This part of NXmpes breaks the building into html of the nexus definitions:
...
\@type:
type: NX_CHAR
exists: recommended
doc: |
The energy can be either stored as kinetic or as binding energy.
enumeration:
kinetic:
doc:
- |
Calibrated kinetic energy axis.
- |
xref:
spec: ISO 18115-1:2023
term: 3.35
url: https://www.iso.org/obp/ui/en/#iso:std:iso:18115:-1:ed-3:v1:en:term:3.35
...
but this breaks the RST syntax inside the docstring:
So the suggested solution is checking whether we are inside an enumeration docstring during nyaml2nxdl conversion and use the 3.35 <https://www.iso.org/obp/ui/en/#iso:std:iso:18115:-1:ed-3:v1:en:term:3.35>_ in-line syntax of RST in this case.
Edit: This idea is problematic as we cannot use < and > in nxdl because it is xml based.
This part of NXmpes breaks the building into html of the nexus definitions:
It can be fixed by changing the _get_doc_line to
but this breaks the RST syntax inside the docstring:
So the suggested solution is checking whether we are inside an enumeration docstring during nyaml2nxdl conversion and use the
3.35 <https://www.iso.org/obp/ui/en/#iso:std:iso:18115:-1:ed-3:v1:en:term:3.35>_
in-line syntax of RST in this case.Edit: This idea is problematic as we cannot use
<
and>
in nxdl because it is xml based.