Closed Zeitsperre closed 1 year ago
Hi, thanks for reporting. Not having it on RTD would lead me to guess that something's not right in the local setup, or some package is screwing the thing. Could you try to build a minimal example to narrow down the causes? I'm talking conf.py
+ index.rst
+ requirements.txt
+ sphinx-build ...
level minimal. It's pretty hard to know what's up otherwise.
For context, if you know Sphinx internals, here's where we remove the markers unconditinally. This should happen before the HTML translator gets to the doc tree.
Hi again,
I was able to resolve this issue by ensuring not to run sphinx-build -b linkcheck
before building my documentation. I still find it to be an esoteric error that doesn't seem to have a clear source. In any case, I think this is likely within the greater scope of sphinx
, so if it turns out to be an issue in the future, I'll follow up there.
Thanks again,
Issue
When locally generating documentation that contains an
autolink-skip::
directive with sphinx, I sometimes receive the following error:This is not an issue when building my documentation on ReadTheDocs (using a pip or Anaconda-based environment). Could there maybe be a dependency missing for me locally?
Expected behavior
Not what you see above.
Steps to reproduce
The code block in question (in HISTORY.rst):