We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
html
Unknown directive type: ...
To recreate:
cd $(mktemp -d) virtualenv venv . ./venv/bin/activate pip install myst-parser sphinx_book_theme git+https://github.com/sphinx-contrib/spelling sphinx-quickstart rm index.rst
Then edit conf.py as follows:
conf.py
project = 'p' copyright = '2024, a' author = 'a' extensions = [ "myst_parser", "sphinxcontrib.spelling", ] templates_path = ['_templates'] exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store', 'venv'] html_theme = 'sphinx_book_theme' html_static_path = ['_static'] source_suffix = { ".md": "markdown", }
Create index.md as follows:
index.md
```{margin} test ```
Note that margin is a valid directive in sphinx_book_theme.
margin
sphinx_book_theme
Then spellcheck without building html:
sphinx-build -b spelling . _build
Leads to:
... index.md:1: WARNING: Unknown directive type: 'margin' [myst.directive_unknown] ...
If I build html first, then I get no warning related to this directive. Can someone reproduce this issue?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
To recreate:
Then edit
conf.py
as follows:Create
index.md
as follows:Note that
margin
is a valid directive insphinx_book_theme
.Then spellcheck without building
html
:sphinx-build -b spelling . _build
Leads to:
If I build
html
first, then I get no warning related to this directive. Can someone reproduce this issue?The text was updated successfully, but these errors were encountered: