Skip to content

Commit

Permalink
πŸ’… Restructure spelling module check @ conf.py
Browse files Browse the repository at this point in the history
  • Loading branch information
webknjaz committed Jan 16, 2024
1 parent 87d7191 commit 9f47a57
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

import os
import re
from contextlib import suppress
from pathlib import Path

from sphinx.addnodes import pending_xref
Expand Down Expand Up @@ -81,12 +82,11 @@
]


try:
import sphinxcontrib.spelling
with suppress(ImportError):
# spelling extension is optional, only add it when installed
import sphinxcontrib.spelling # noqa

extensions.append("sphinxcontrib.spelling")
except ImportError:
pass

intersphinx_mapping = {
"pyperf": ("https://pyperf.readthedocs.io/en/latest", None),
Expand Down

0 comments on commit 9f47a57

Please sign in to comment.