[hawkmoth] [PATCH 3/5] doc: add example for adding hawkmoth to extensions

  • From: Jani Nikula <jani@xxxxxxxxxx>
  • To: hawkmoth@xxxxxxxxxxxxx
  • Date: Wed, 30 Dec 2020 21:42:29 +0200

Be a bit more helpful.
---
 doc/extension.rst | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/doc/extension.rst b/doc/extension.rst
index 9d5b8b3ad13f..c5d477822712 100644
--- a/doc/extension.rst
+++ b/doc/extension.rst
@@ -19,6 +19,12 @@ Add ``hawkmoth`` to :data:`sphinx:extensions` in 
``conf.py``. Note that
 depending on the packaging and installation directory, this may require
 adjusting the :envvar:`python:PYTHONPATH`.
 
+For example:
+
+.. code-block:: python
+
+   extensions.append('hawkmoth')
+
 Configuration
 -------------
 
-- 
2.29.2


Other related posts:

  • » [hawkmoth] [PATCH 3/5] doc: add example for adding hawkmoth to extensions - Jani Nikula