Skip to content

Commit

Permalink
Merge pull request #3121 from drafish/fix_internal_link_and_image_render
Browse files Browse the repository at this point in the history
Fix internal link and image render
  • Loading branch information
ryestew committed Oct 25, 2022
2 parents 8a00fba + 8af67d9 commit 413dbce
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,14 @@
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = ['myst_parser'] # required for sphinx v3.0.0

# suppress warnings caused by non-consecutive header
# see more details here https://myst-parser.readthedocs.io/en/latest/faq/index.html#suppress-warnings
suppress_warnings = ['myst.header']
myst_disable_syntax = ['image']

# myst will ignore all the internal links by default
# see more details here https://myst-parser.readthedocs.io/en/latest/configuration.html?highlight=myst_all_links_external#global-configuration
myst_all_links_external = True

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
Expand Down

0 comments on commit 413dbce

Please sign in to comment.