sphinx-contrib / exceltable

MIT License
4 stars 3 forks source link

Fails with myst-parser #11

Open mrx23dot opened 4 months ago

mrx23dot commented 4 months ago

pip3 install myst-parser sphinxcontrib.exceltable>=0.3.0

into conf.py

extensions = '''
  myst_parser
  sphinxcontrib.exceltable
'''.split()

into drvrec.md image

then getting

Running Sphinx v5.3.0
running in non-headless mode, not starting Xvfb
loading pickled environment... done
myst v1.0.0: MdParserConfig(commonmark_only=False, gfm_only=False, enable_extensions=set(), disable_syntax=[], all_links_external=False, url_schemes=('http', 'https', 'mailto', 'ftp'), ref_domains=None, fence_as_directive=set(), number_code_blocks=[], title_to_header=False, heading_anchors=0, heading_slug_func=None, html_meta={}, footnote_transition=True, words_per_minute=200, substitutions={}, linkify_fuzzy_links=True, dmath_allow_labels=True, dmath_allow_space=True, dmath_allow_digits=True, dmath_double_inline=False, update_mathjax=True, mathjax_classes='tex2jax_process|mathjax_process|math|output_area', enable_checkboxes=False, suppress_warnings=[], highlight_code_blocks=True)
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 1 source files that are out of date
updating environment: 0 added, 1 changed, 0 removed
reading sources... [100%] drvrec
drvrec.md:3: ERROR: Directive 'exceltable' cannot be mocked: MockingError: MockStateMachine has no attribute input_lines

  :file: Option_Rev1.xlsx
looking for now-outdated files... none found
mrx23dot commented 4 months ago

should be valid https://myst-parser.readthedocs.io/en/latest/syntax/roles-and-directives.html