Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
itminedu
kamaki
Commits
e372fc24
Commit
e372fc24
authored
Sep 26, 2013
by
Stavros Sachtouris
Browse files
Remove progress from docs requirement
parent
16d7b9ff
Changes
2
Hide whitespace changes
Inline
Side-by-side
docs/conf.py
View file @
e372fc24
...
@@ -70,17 +70,16 @@ except ImportError:
...
@@ -70,17 +70,16 @@ except ImportError:
stderr
.
write
(
"`objpool` package is required to build kamaki docs.
\n
"
)
stderr
.
write
(
"`objpool` package is required to build kamaki docs.
\n
"
)
exit
(
1
)
exit
(
1
)
try
:
# try:
from
progress.bar
import
ShadyBar
# from progress.bar import ShadyBar
ShadyBar
# ShadyBar
except
ImportError
:
# except ImportError:
path
.
insert
(
0
,
SITE_PACKAGES_PATH
)
# path.insert(0, SITE_PACKAGES_PATH)
try
:
# try:
from
progress.bar
import
ShadyBar
# from progress.bar import ShadyBar
ShadyBar
# ShadyBar
except
ImportError
:
# except ImportError:
stderr
.
write
(
"`progress` package is required to build kamaki docs.
\n
"
)
# stderr.write("`progress` package is suggested to build kamaki docs.\n")
exit
(
1
)
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
abspath
(
os
.
path
.
dirname
(
__file__
)),
'..'
))
path
.
insert
(
0
,
os
.
path
.
join
(
os
.
path
.
abspath
(
os
.
path
.
dirname
(
__file__
)),
'..'
))
...
...
docs/developers/adding-commands.rst
View file @
e372fc24
...
@@ -329,8 +329,9 @@ or equivalently:
...
@@ -329,8 +329,9 @@ or equivalently:
.. note:: running a command specification from a different path is supported.
.. note:: running a command specification from a different path is supported.
To achieve this, add a *<group>_cli = </path/to/module>* line in the
To achieve this, add a *<group>_cli = </path/to/module>* line in the
configure file under the *global* section.
configure file under the *global* section
::
An example::
[global]
[global]
mygrp_cli = /another/path/grps.py
mygrp_cli = /another/path/grps.py
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment