Skip to content

Commit

Permalink
Followup to docs refactor pull request ansible#36067 - fixes gitignor…
Browse files Browse the repository at this point in the history
…e and c… (ansible#36120)

* Followup to docs refactor pull request ansible#36067 - fixes gitignore and cleanup in makefile; removes some generated files; moves a straggler to the appropriate subdirectory.

* Fixed some stragglers

* Removed redundant module entries

* Delete generated RST files.
  • Loading branch information
dharmabumstead authored Feb 13, 2018
1 parent 7897558 commit c10080b
Show file tree
Hide file tree
Showing 17 changed files with 32 additions and 5,715 deletions.
31 changes: 12 additions & 19 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,29 +31,22 @@ docs/man/man3/*
# docsite stuff...
docs/api/_build/
docs/api/rst/
docs/docsite/*.html
docs/docsite/_build
docs/docsite/_static/*.gif
docs/docsite/_static/*.png
docs/docsite/_static/websupport.js
docs/docsite/*.html
docs/docsite/htmlout
docs/docsite/searchindex.js
docs/docsite/rst_warnings
docs/docsite/rst/*_module.rst
docs/docsite/rst/ansible.rst
docs/docsite/rst/ansible-*.rst
docs/docsite/rst/community_maintained.rst
docs/docsite/rst/config.rst
docs/docsite/rst/core_maintained.rst
docs/docsite/rst/list_of_*.rst
docs/docsite/rst/module_docs/*.rst
docs/docsite/rst/modules_by_category.rst
docs/docsite/rst/network_maintained.rst
docs/docsite/rst/plugins_by_category.rst
docs/docsite/rst/partner_maintained.rst
docs/docsite/rst/playbooks_keywords.rst
docs/docsite/rst/cli/ansible-*.rst
docs/docsite/rst/cli/ansible.rst
docs/docsite/rst/modules/*.rst
docs/docsite/rst/playbooks_directives.rst
docs/docsite/rst/plugins_by_category.rst
docs/docsite/rst/plugins/*/*.rst
docs/docsite/rst/reference_appendices/config.rst
docs/docsite/rst/reference_appendices/playbooks_keywords.rst
docs/docsite/rst_warnings
docs/docsite/searchindex.js
docs/docsite/_static/*.gif
docs/docsite/_static/*.png
docs/docsite/_static/websupport.js
# deb building stuff...
/debian/
deb-build
Expand Down
20 changes: 10 additions & 10 deletions docs/docsite/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -58,19 +58,19 @@ clean:
find . -type f \( -name "*~" -or -name "#*" \) -delete
find . -type f \( -name "*.swp" \) -delete
@echo "Cleaning up generated rst"
-rm rst/list_of_*.rst
-rm rst/*_by_category.rst
-rm rst/*_module.rst
-rm rst/*_plugin.rst
-rm rst/*_maintained.rst
-rm rst/cli/ansible-*.rst
-rm rst/cli/ansible.rst
-rm rst/modules/*_by_category.rst
-rm rst/modules/list_of_*.rst
-rm rst/modules/*_maintained.rst
-rm rst/modules/*_module.rst
-rm rst/modules/*_plugin.rst
-rm rst/playbooks_directives.rst
-rm rst/playbooks_keywords.rst
-rm rst/plugins/*/*.rst
-rm rst/config.rst
-rm rst/ansible-*.rst
-rm rst/ansible.rst
-rm rst/reference_appendices/config.rst
-rm rst/reference_appendices/playbooks_keywords.rst

.PHONEY: docs clean
.PHONY: docs clean

# TODO: make generate_man output dir cli option
cli: $(GENERATE_CLI)
Expand Down
3 changes: 1 addition & 2 deletions docs/docsite/rst/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ Ansible, Inc. releases a new major release of Ansible approximately every two mo
:caption: Scenario Guides

networking_guide/network
..scenario_guides/guides
scenario_guides/guide_aws
scenario_guides/guide_azure
scenario_guides/guide_rax
Expand All @@ -65,7 +64,7 @@ Ansible, Inc. releases a new major release of Ansible approximately every two mo
:maxdepth: 2
:caption: Reference & Appendices

reference_appendices/modules_by_category
../modules/modules_by_category
reference_appendices/playbooks_keywords
reference_appendices/galaxy
reference_appendices/common_return_values
Expand Down
Loading

0 comments on commit c10080b

Please sign in to comment.