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.
|
||||
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
|
||||
# documents.
|
||||
#
|
||||
|
@@ -1,4 +1,3 @@
|
||||
.. highlight:: python
|
||||
.. _examples:
|
||||
|
||||
Examples
|
||||
|
@@ -1,5 +1,3 @@
|
||||
.. highlight:: python
|
||||
.. currentmodule:: fbchat
|
||||
.. _faq:
|
||||
|
||||
FAQ
|
||||
|
@@ -1,5 +1,3 @@
|
||||
.. highlight:: python
|
||||
.. 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,3 @@
|
||||
.. highlight:: python
|
||||
.. currentmodule:: fbchat
|
||||
.. _intro:
|
||||
|
||||
Introduction
|
||||
|
@@ -1,5 +1,4 @@
|
||||
.. highlight:: sh
|
||||
.. currentmodule:: fbchat
|
||||
.. _testing:
|
||||
|
||||
Testing
|
||||
|
@@ -1,5 +1,3 @@
|
||||
.. highlight:: python
|
||||
.. currentmodule:: fbchat
|
||||
.. _todo:
|
||||
|
||||
Todo
|
||||
|
Reference in New Issue
Block a user