You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This looks like a really useful extension for Sphinx - markdown tables are really handy.
I'm having trouble setting this up. I think that my configuration is correct, as described in the Read me file, but I get the Error in "markdown-ingest" directive: no content permitted. error when I build the Sphinx output.
My rst file has:
.. markdown-ingest::
filename: analysis-csharp.md
and analysis-csharp.md is in the same directory as the rst file.
I'd be very grateful if you could help me debug this.
The text was updated successfully, but these errors were encountered:
But this still ended up with another error for me.
Exception occurred:
File "/home/cweidner3/scripts/cw_artifactory_queries/.venv/lib/python3.8/site-packages/sphinx_markdown/nodes.py", line 22, in load_markdown
text = unicode(handle.read().decode('utf-8'))
NameError: name 'unicode' is not defined
and
Extension error:
Handler <function handle_page_context_html at 0x7f802dcdfee0> for event 'html-page-context' threw an exception (exception: write() argument must be str, not bytes)
I had to change nodes.py and search.py to support python3 changes such as decode() becoming str(). Also open() by defaults to str mode instead of bytes mode.
This looks like a really useful extension for Sphinx - markdown tables are really handy.
I'm having trouble setting this up. I think that my configuration is correct, as described in the Read me file, but I get the
Error in "markdown-ingest" directive: no content permitted.
error when I build the Sphinx output.My
rst
file has:and
analysis-csharp.md
is in the same directory as therst
file.I'd be very grateful if you could help me debug this.
The text was updated successfully, but these errors were encountered: