FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
aws-cli/doc/source/bootstrapdocs.py at develop · gitqueue/aws-cli · GitHub
gitqueue
/
aws-cli
Public
forked from
aws/aws-cli
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
aws-cli
/
doc
/
source
/
bootstrapdocs.py
Copy path
More file actions
More file actions
Latest commit
History
History
History
13 lines (12 loc) · 378 Bytes
Breadcrumbs
aws-cli
/
doc
/
source
/
bootstrapdocs.py
Copy path
File metadata and controls
13 lines (12 loc) · 378 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
import
json
import
os
import
subprocess
import
sys
RST_GENERATION_SCRIPT
=
'htmlgen'
script_path
=
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
RST_GENERATION_SCRIPT
)
os
.
environ
[
'PATH'
]
+=
':.'
rc
=
subprocess
.
call
(
"python "
+
script_path
,
shell
=
True
,
env
=
os
.
environ
)
if
rc
!=
0
:
sys
.
stderr
.
write
(
"Failed to generate documentation!
\n
"
)
sys
.
exit
(
2
)
Back
|
FazBrowse Home
|
New Git URL