Skip to content

Commit

Permalink
Drop use of recommonmark
Browse files Browse the repository at this point in the history
recommonmark has been deprecated and archived upstream since early 2022,
and appears to be unused, so stop installing and calling it.

Fixes MISP#1314
  • Loading branch information
s-t-e-v-e-n-k committed Jan 16, 2025
1 parent 614d2e0 commit 7d06e52
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 40 deletions.
6 changes: 0 additions & 6 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
from recommonmark.parser import CommonMarkParser

# -- General configuration ------------------------------------------------

Expand All @@ -39,7 +38,6 @@
'sphinx.ext.viewcode',
'sphinx.ext.napoleon',
'sphinx.ext.imgconverter',
'recommonmark',
]

napoleon_google_docstring = False
Expand All @@ -49,10 +47,6 @@
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']

source_parsers = {
'.md': CommonMarkParser,
}

# The suffix(es) of source filenames.
# You can specify multiple suffix as a list of string:
#
Expand Down
76 changes: 44 additions & 32 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ beautifulsoup4 = {version = "^4.12.3", optional = true}
validators = {version = "^0.34.0", optional = true}
sphinx-autodoc-typehints = {version = "^2.5.0", optional = true, python = ">=3.10"}
docutils = {version = "^0.21.1", optional = true, python = ">=3.10"}
recommonmark = {version = "^0.7.1", optional = true, python = ">=3.10"}
reportlab = {version = "^4.2.5", optional = true}
pyfaup = {version = "^1.2", optional = true}
publicsuffixlist = {version = "^1.0.2.20241218", optional = true}
Expand All @@ -71,7 +70,7 @@ Sphinx = [
fileobjects = ['python-magic', 'pydeep2', 'lief']
openioc = ['beautifulsoup4']
virustotal = ['validators']
docs = ['sphinx-autodoc-typehints', 'recommonmark', 'sphinx', 'docutils']
docs = ['sphinx-autodoc-typehints', 'sphinx', 'docutils']
pdfexport = ['reportlab']
url = ['pyfaup']
email = ['extract_msg', "RTFDE", "oletools"]
Expand Down

0 comments on commit 7d06e52

Please sign in to comment.