summaryrefslogtreecommitdiff
path: root/docsite
diff options
context:
space:
mode:
authorBrian Coca <bcoca@ansible.com>2014-12-03 16:35:07 -0500
committerBrian Coca <bcoca@ansible.com>2014-12-03 16:35:07 -0500
commit8a04cb6084fc63aaef48776881ee55d07dd1f450 (patch)
tree4070b6c78078425711f5966665950098bdabc30e /docsite
parent1ec8b6e3c5a9f9275233f67778be93ccabbb2a02 (diff)
parentde031c84d519d00891418d043ffc7a6e2efa19e4 (diff)
downloadansible-8a04cb6084fc63aaef48776881ee55d07dd1f450.tar.gz
Merge pull request #9086 from mscherer/refactor_doc_script
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