summaryrefslogtreecommitdiff
path: root/docsite
diff options
context:
space:
mode:
authorMichael Scherer <misc@zarb.org>2014-09-21 15:18:53 +0200
committerMichael Scherer <misc@zarb.org>2014-09-21 15:18:53 +0200
commitde031c84d519d00891418d043ffc7a6e2efa19e4 (patch)
tree803c3dff11ddbc7c81aeb7fdc9bb99ce6881a99e /docsite
parent1bae4e4df1958b7c99e73aa3d48ab83cf901395d (diff)
downloadansible-de031c84d519d00891418d043ffc7a6e2efa19e4.tar.gz
Remove unused if/else clause, since it doesn't change anything
Diffstat (limited to 'docsite')
-rwxr-xr-xdocsite/build-site.py9
1 files changed, 1 insertions, 8 deletions
diff --git a/docsite/build-site.py b/docsite/build-site.py
index 70755b8a28..587a189f07 100755
--- a/docsite/build-site.py
+++ b/docsite/build-site.py
@@ -88,14 +88,7 @@ if __name__ == '__main__':
print " Run 'make viewdocs' to build and then preview in a web browser."
sys.exit(0)
- # The 'htmldocs' make target will call this scrip twith the 'rst'
- # parameter' We don't need to run the 'htmlman' target then.
- if "rst" in sys.argv:
- build_rst_docs()
- else:
- # By default, preform the rst->html transformation and then
- # the asciidoc->html trasnformation
- build_rst_docs()
+ build_rst_docs()
if "view" in sys.argv:
import webbrowser