ccd-reduction-and-photometry-guide icon indicating copy to clipboard operation
ccd-reduction-and-photometry-guide copied to clipboard

Fix myst reference errors

Open mwcraig opened this issue 2 years ago • 1 comments

See this for what is likely the fix: https://myst-parser.readthedocs.io/en/latest/syntax/optional.html#auto-generated-header-anchors

Edit: Two ways forward here:

  • Add jupyterlab-myst as a runtime dependency (e.g. in binder, environment, pip requirements, etc)
  • Write a custom function to slugify the anchors.

mwcraig avatar Jun 16 '23 16:06 mwcraig

This turns out to be sort of a mess. See: https://github.com/orgs/executablebooks/discussions/1036

I think the magical myst setting can be put in the sphinx section of the configuration rather than doing a source code hack.

mwcraig avatar Jun 19 '23 22:06 mwcraig