Revision e372fc24
b/docs/conf.py | ||
---|---|---|
70 | 70 |
stderr.write("`objpool` package is required to build kamaki docs.\n") |
71 | 71 |
exit(1) |
72 | 72 |
|
73 |
try: |
|
74 |
from progress.bar import ShadyBar |
|
75 |
ShadyBar |
|
76 |
except ImportError: |
|
77 |
path.insert(0, SITE_PACKAGES_PATH) |
|
78 |
try: |
|
79 |
from progress.bar import ShadyBar |
|
80 |
ShadyBar |
|
81 |
except ImportError: |
|
82 |
stderr.write("`progress` package is required to build kamaki docs.\n") |
|
83 |
exit(1) |
|
73 |
# try: |
|
74 |
# from progress.bar import ShadyBar |
|
75 |
# ShadyBar |
|
76 |
# except ImportError: |
|
77 |
# path.insert(0, SITE_PACKAGES_PATH) |
|
78 |
# try: |
|
79 |
# from progress.bar import ShadyBar |
|
80 |
# ShadyBar |
|
81 |
# except ImportError: |
|
82 |
# stderr.write("`progress` package is suggested to build kamaki docs.\n") |
|
84 | 83 |
|
85 | 84 |
path.insert(0, os.path.join(os.path.abspath(os.path.dirname(__file__)), '..')) |
86 | 85 |
|
b/docs/developers/adding-commands.rst | ||
---|---|---|
329 | 329 |
|
330 | 330 |
.. note:: running a command specification from a different path is supported. |
331 | 331 |
To achieve this, add a *<group>_cli = </path/to/module>* line in the |
332 |
configure file under the *global* section. |
|
333 |
:: |
|
332 |
configure file under the *global* section |
|
333 |
|
|
334 |
An example:: |
|
334 | 335 |
|
335 | 336 |
[global] |
336 | 337 |
mygrp_cli = /another/path/grps.py |
Also available in: Unified diff