recommonmark/tests
Kenneth Benzie (Benie) 7762ab3888 Fix hard error on cross-linking markdown document
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.
2017-11-02 16:46:27 +00:00
..
sphinx_code_block Add tests for checking that pygments will still highlight the code. This requires a newer version sphinx as well. 2016-06-10 21:08:31 -05:00
sphinx_custom_md Add tests for checking custom file extensions 2016-06-12 03:12:15 -05:00
sphinx_generic Port in pending_xref node changes to references 2017-03-02 20:04:30 -08:00
sphinx_indented_code Add tests for checking that pygments will still highlight the code. This requires a newer version sphinx as well. 2016-06-10 21:08:31 -05:00
sphinx_nested_header_block Add test for header nested in a block 2016-10-27 01:17:06 -05:00
sphinx_xref Add support for external links 2016-06-14 01:16:46 -05:00
__init__.py Add initial stab at testing & Travis/Tox integration 2015-10-19 11:41:10 -07:00
test_basic.py Fix hard error on cross-linking markdown document 2017-11-02 16:46:27 +00:00
test_sphinx.py Port in pending_xref node changes to references 2017-03-02 20:04:30 -08:00