Update Sphinx to version 2.0
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
.. module:: fbchat
|
||||
.. currentmodule:: fbchat
|
||||
.. highlight:: python
|
||||
.. _api:
|
||||
|
||||
|
@@ -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
|
||||
|
@@ -1,5 +1,5 @@
|
||||
.. highlight:: python
|
||||
.. module:: fbchat
|
||||
.. currentmodule:: fbchat
|
||||
.. _faq:
|
||||
|
||||
FAQ
|
||||
|
@@ -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
|
||||
|
@@ -1,5 +1,5 @@
|
||||
.. highlight:: python
|
||||
.. module:: fbchat
|
||||
.. currentmodule:: fbchat
|
||||
.. _intro:
|
||||
|
||||
Introduction
|
||||
|
@@ -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
|
||||
|
@@ -1,5 +1,5 @@
|
||||
.. highlight:: python
|
||||
.. module:: fbchat
|
||||
.. currentmodule:: fbchat
|
||||
.. _todo:
|
||||
|
||||
Todo
|
||||
|
@@ -54,6 +54,9 @@ test = [
|
||||
"pytest~=4.0",
|
||||
"six~=1.0",
|
||||
]
|
||||
docs = [
|
||||
"sphinx~=2.0",
|
||||
]
|
||||
lint = [
|
||||
"black",
|
||||
]
|
||||
|
Reference in New Issue
Block a user