Update Sphinx to version 2.0

This commit is contained in:
Mads Marquart
2019-07-03 14:20:37 +02:00
parent 81278ed553
commit 2bd08c8254
8 changed files with 10 additions and 11 deletions

View File

@@ -1,4 +1,4 @@
.. module:: fbchat
.. currentmodule:: fbchat
.. highlight:: python
.. _api:

View File

@@ -31,7 +31,7 @@ release = fbchat.__version__
# If your documentation needs a minimal Sphinx version, state it here.
#
# needs_sphinx = '1.0'
needs_sphinx = "2.0"
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom

View File

@@ -1,5 +1,5 @@
.. highlight:: python
.. module:: fbchat
.. currentmodule:: fbchat
.. _faq:
FAQ

View File

@@ -1,5 +1,5 @@
.. highlight:: python
.. module:: fbchat
.. currentmodule:: fbchat
.. fbchat documentation master file, created by
sphinx-quickstart on Thu May 25 15:43:01 2017.
You can adapt this file completely to your liking, but it should at least

View File

@@ -1,5 +1,5 @@
.. highlight:: python
.. module:: fbchat
.. currentmodule:: fbchat
.. _intro:
Introduction

View File

@@ -1,5 +1,5 @@
.. highlight:: sh
.. module:: fbchat
.. currentmodule:: fbchat
.. _testing:
Testing
@@ -23,7 +23,3 @@ If you only want to execute specific tests, pass the function names in the comma
Do not execute the full set of tests in too quick succession. This can get your account temporarily blocked for spam!
(You should execute the script at max about 10 times a day)
.. automodule:: tests
:members: TestFbchat
:undoc-members: TestFbchat

View File

@@ -1,5 +1,5 @@
.. highlight:: python
.. module:: fbchat
.. currentmodule:: fbchat
.. _todo:
Todo

View File

@@ -54,6 +54,9 @@ test = [
"pytest~=4.0",
"six~=1.0",
]
docs = [
"sphinx~=2.0",
]
lint = [
"black",
]