summaryrefslogtreecommitdiff
path: root/doc/source/plugin.rsttemplate
diff options
context:
space:
mode:
authorTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-05-24 20:26:24 +0900
committerTristan Van Berkom <tristan.vanberkom@codethink.co.uk>2017-05-24 20:28:37 +0900
commit25325b0d6f8dc93e2bd40d3f81637c36bf0b3158 (patch)
treed564768ef1a563b10cbc1f4a8a1ca5c39d5b2e0a /doc/source/plugin.rsttemplate
parent01fd7dfc0497121ef544fc4c86a7b547260d933e (diff)
downloadbuildstream-25325b0d6f8dc93e2bd40d3f81637c36bf0b3158.tar.gz
Added __init__.py to the plugin subdirectories.
This makes the 'sources' and 'elements' subdirectores modules technically, but it does not effect how we load them with pluginbase, that still works. Updated documentation machinery to have buildstream/plugins in the PYTHONPATH and import the docs as elements.autotools etc. This is all because since recent sphinx started importing from distutils, this was conflicting with our distutils plugin.
Diffstat (limited to 'doc/source/plugin.rsttemplate')
-rw-r--r--doc/source/plugin.rsttemplate4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/source/plugin.rsttemplate b/doc/source/plugin.rsttemplate
index f9307fab3..11e090f8b 100644
--- a/doc/source/plugin.rsttemplate
+++ b/doc/source/plugin.rsttemplate
@@ -1,4 +1,4 @@
-@@MODULE@@ plugin
-=======================
+@@MODULENAME@@ plugin
+============================================
.. automodule:: @@MODULE@@