docs: Upgrade recommonmark to 0.6.0, fixing issues.

- recommonmark: 0.5.0 -> 0.6.0
- Fixed build TypeError: sequence item 1: expected str instance, NoneType found
  caused by recommonmark/parser.py erroring on a newline character.
- Removed deprecated code in conf.py that was causing warning messages
- Updated conf.py according to instructions for Sphinx-1.4 or newer
https://github.com/readthedocs/recommonmark/blob/master/README.md#getting-started
https://www.sphinx-doc.org/en/master/usage/markdown.html

This commit is also relevant to PR #13232.
This commit is contained in:
David Rosa
2019-10-01 18:09:15 -07:00
committed by Tim Abbott
parent 94d5ca838f
commit 9545569dca
6 changed files with 14 additions and 14 deletions

View File

@@ -12,4 +12,4 @@ sphinx
sphinx-rtd-theme
# Needed to build markdown docs
recommonmark==0.5.* # https://github.com/zulip/zulip/issues/11395
recommonmark