Add rst_prolog to docs/conf.py
This commit is contained in:
@@ -54,6 +54,13 @@ master_doc = "index"
|
|||||||
# This pattern also affects html_static_path and html_extra_path.
|
# This pattern also affects html_static_path and html_extra_path.
|
||||||
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
|
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
|
||||||
|
|
||||||
|
rst_prolog = """
|
||||||
|
.. highlight:: python
|
||||||
|
.. currentmodule:: {}
|
||||||
|
""".format(
|
||||||
|
project
|
||||||
|
)
|
||||||
|
|
||||||
# The reST default role (used for this markup: `text`) to use for all
|
# The reST default role (used for this markup: `text`) to use for all
|
||||||
# documents.
|
# documents.
|
||||||
#
|
#
|
||||||
|
@@ -1,4 +1,3 @@
|
|||||||
.. highlight:: python
|
|
||||||
.. _examples:
|
.. _examples:
|
||||||
|
|
||||||
Examples
|
Examples
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.. highlight:: python
|
|
||||||
.. currentmodule:: fbchat
|
|
||||||
.. _faq:
|
.. _faq:
|
||||||
|
|
||||||
FAQ
|
FAQ
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.. highlight:: python
|
|
||||||
.. currentmodule:: fbchat
|
|
||||||
.. fbchat documentation master file, created by
|
.. fbchat documentation master file, created by
|
||||||
sphinx-quickstart on Thu May 25 15:43:01 2017.
|
sphinx-quickstart on Thu May 25 15:43:01 2017.
|
||||||
You can adapt this file completely to your liking, but it should at least
|
You can adapt this file completely to your liking, but it should at least
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.. highlight:: python
|
|
||||||
.. currentmodule:: fbchat
|
|
||||||
.. _intro:
|
.. _intro:
|
||||||
|
|
||||||
Introduction
|
Introduction
|
||||||
|
@@ -1,5 +1,4 @@
|
|||||||
.. highlight:: sh
|
.. highlight:: sh
|
||||||
.. currentmodule:: fbchat
|
|
||||||
.. _testing:
|
.. _testing:
|
||||||
|
|
||||||
Testing
|
Testing
|
||||||
|
@@ -1,5 +1,3 @@
|
|||||||
.. highlight:: python
|
|
||||||
.. currentmodule:: fbchat
|
|
||||||
.. _todo:
|
.. _todo:
|
||||||
|
|
||||||
Todo
|
Todo
|
||||||
|
Reference in New Issue
Block a user