Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
badb4139
Commit
badb4139
authored
Mar 05, 2013
by
Tim Bielawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update the Makefile and build-site.py to notify of missing dependencies for doc compiling
parent
e2c1b34d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
3 deletions
+12
-3
Makefile
+5
-2
docsite/build-site.py
+7
-1
No files found.
Makefile
View file @
badb4139
...
...
@@ -20,9 +20,13 @@ OS = $(shell uname -s)
# Manpages are currently built with asciidoc -- would like to move to markdown
# This doesn't evaluate until it's called. The -D argument is the
# directory of the target file ($@), kinda like `dirname`.
MANPAGES
:=
docs/man/man1/ansible.1 docs/man/man1/ansible-playbook.1 docs/man/man1/ansible-pull.1 docs/man/man1/ansible-doc.1
ifneq
($(shell
which
a2x
2>/dev/null),)
ASCII2MAN
=
a2x
-D
$
(
dir
$@
)
-d
manpage
-f
manpage
$<
ASCII2HTMLMAN
=
a2x
-D
docs/html/man/
-d
manpage
-f
xhtml
MANPAGES
:=
docs/man/man1/ansible.1 docs/man/man1/ansible-playbook.1 docs/man/man1/ansible-pull.1 docs/man/man1/ansible-doc.1
else
ASCII2MAN
=
@echo
"ERROR: AsciiDoc 'a2x' command is not installed but is required to build
$(MANPAGES)
"
&&
exit
1
endif
SITELIB
=
$(
shell
python
-c
"from distutils.sysconfig import get_python_lib; print get_python_lib(
)
"
)
...
...
@@ -186,4 +190,3 @@ webdocs:
# just for quick testing of all the module docs
webdocs2
:
(
cd
docsite
;
make modules
)
docsite/build-site.py
View file @
badb4139
...
...
@@ -21,7 +21,13 @@ __docformat__ = 'restructuredtext'
import
os
import
sys
import
traceback
from
sphinx.application
import
Sphinx
try
:
from
sphinx.application
import
Sphinx
except
ImportError
:
print
"#################################"
print
"Dependency missing: Python Sphinx"
print
"#################################"
sys
.
exit
(
1
)
import
os
...
...
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