Source: recommonmark
Version: 0.4.0+ds-6
Severity: normal

Dear Maintainer,

When building docs using the currently in experimental sphinx 2.4.3
and recommonmark, a warning is issued by Sphinx:

```
RemovedInSphinx30Warning: The config variable "source_parsers" is
deprecated. Please update your extension for the parser and remove the
setting.
```

Currently, with recommonmark 0.4, the only way to use it is apparently to
have this in conf.py (I'm not a Sphinx expert :)):
```
from recommonmark.parser import CommonMarkParser

source_parsers = {
    '.md': CommonMarkParser,
}

source_suffix = ['.rst', '.md']
```

To be able to use recommonmark as an extension as it is documented by
upstream [0], recommonmark 0.5.0 must be used. Earlier versions like 0.4
does not implement the setup() in __init__.py function required to be an
extension.


=> So for this reason, please can you package a more recent version of
recommonmark ? (Maybe there is a particular reason for it being stuck at
version 0.4 ?)


[0] https://recommonmark.readthedocs.io/en/latest/#getting-started

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.4.0-3-amd64 (SMP w/10 CPU cores)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Reply via email to