Rephrase docs re. MOCK_MODULES
This commit is contained in:
parent
588e8dfc88
commit
dbdf0a731b
@ -52,7 +52,8 @@ The wording usually used goes like this:
|
|||||||
|
|
||||||
To allow automatic generation of the docs without having all
|
To allow automatic generation of the docs without having all
|
||||||
requirements of every module installed mocks are used. To make this
|
requirements of every module installed mocks are used. To make this
|
||||||
work simply add all modules you import to the ``MOCK_MODULES`` list in
|
work simply add all modules of dependencies (so no standard library modules
|
||||||
``docs/conf.py``. This needs to be the actual name of the imported
|
or modules provided by i3pystatus) you import to the ``MOCK_MODULES``
|
||||||
|
list in ``docs/conf.py``. This needs to be the actual name of the imported
|
||||||
module, so for example if you have ``from somepkg.mod import AClass``,
|
module, so for example if you have ``from somepkg.mod import AClass``,
|
||||||
you need to add ``somepkg.mod`` to the list.
|
you need to add ``somepkg.mod`` to the list.
|
||||||
|
Loading…
Reference in New Issue
Block a user