diff options
| author | Brian Coca <bcoca@ansible.com> | 2014-12-03 16:35:07 -0500 |
|---|---|---|
| committer | Brian Coca <bcoca@ansible.com> | 2014-12-03 16:35:07 -0500 |
| commit | 8a04cb6084fc63aaef48776881ee55d07dd1f450 (patch) | |
| tree | 4070b6c78078425711f5966665950098bdabc30e | |
| parent | 1ec8b6e3c5a9f9275233f67778be93ccabbb2a02 (diff) | |
| parent | de031c84d519d00891418d043ffc7a6e2efa19e4 (diff) | |
| download | ansible-8a04cb6084fc63aaef48776881ee55d07dd1f450.tar.gz | |
Merge pull request #9086 from mscherer/refactor_doc_script
Remove unused if/else clause, since it doesn't change anything
| -rwxr-xr-x | docsite/build-site.py | 9 |
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 |
