mirror of
https://github.com/vale981/recommonmark
synced 2025-03-05 18:11:39 -05:00
![]() Sphinx 1.6.5 with tip recommonmark hard errors when a markdown document contains a cross-reference to another local markdown document as it unconditionally access the `refdomain` of a `pending_xref`. This was fixed [elsewhere](https://github.com/ignatenkobrain/sphinxcontrib-issuetracker/pull/13/files#diff-61beda6e59ec3020dbf0c2826dbb64c4R161) by setting it to `None`. This patch uses the same approach which no longer causes the Sphinx build to fail on cross-linking a markdown document however the generated link is not correctly rendered producing broken links in the generated html. Addressing the broken links, the `mdnode.destination` is stripped of its file extension if that extension is supported by `CommonMarkParser` however this will only work for markdown documents, not ReStructuedText or any other extended file type parsers. Fixes #89. |
||
---|---|---|
.. | ||
sphinx_code_block | ||
sphinx_custom_md | ||
sphinx_generic | ||
sphinx_indented_code | ||
sphinx_nested_header_block | ||
sphinx_xref | ||
__init__.py | ||
test_basic.py | ||
test_sphinx.py |