removes docs/api dir from .gitignore and Makefile (#47366)
* removes docs/api dir from .gitignore and Makefile
* reduces noise on removing build artifacts
(cherry picked from commit f1ad012375
)
This commit is contained in:
parent
86eb3b5b98
commit
bc1d0f5e61
3 changed files with 9 additions and 15 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -29,8 +29,6 @@ docs/man/man3/*
|
||||||
*.sublime-project
|
*.sublime-project
|
||||||
*.sublime-workspace
|
*.sublime-workspace
|
||||||
# docsite stuff...
|
# docsite stuff...
|
||||||
docs/api/_build/
|
|
||||||
docs/api/rst/
|
|
||||||
docs/docsite/_build
|
docs/docsite/_build
|
||||||
docs/docsite/*.html
|
docs/docsite/*.html
|
||||||
docs/docsite/htmlout
|
docs/docsite/htmlout
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -217,7 +217,6 @@ clean:
|
||||||
rm -f AUTHORS.TXT
|
rm -f AUTHORS.TXT
|
||||||
@echo "Cleaning up docsite"
|
@echo "Cleaning up docsite"
|
||||||
$(MAKE) -C docs/docsite clean
|
$(MAKE) -C docs/docsite clean
|
||||||
$(MAKE) -C docs/api clean
|
|
||||||
|
|
||||||
.PHONY: python
|
.PHONY: python
|
||||||
python:
|
python:
|
||||||
|
@ -398,4 +397,3 @@ alldocs: docs webdocs
|
||||||
|
|
||||||
version:
|
version:
|
||||||
@echo $(VERSION)
|
@echo $(VERSION)
|
||||||
|
|
||||||
|
|
|
@ -66,17 +66,15 @@ clean:
|
||||||
find . -type f \( -name "*~" -or -name "#*" \) -delete
|
find . -type f \( -name "*~" -or -name "#*" \) -delete
|
||||||
find . -type f \( -name "*.swp" \) -delete
|
find . -type f \( -name "*.swp" \) -delete
|
||||||
@echo "Cleaning up generated rst"
|
@echo "Cleaning up generated rst"
|
||||||
-rm rst/cli/ansible-*.rst
|
rm -f rst/modules/*_by_category.rst
|
||||||
-rm rst/cli/ansible.rst
|
rm -f rst/modules/list_of_*.rst
|
||||||
-rm rst/modules/*_by_category.rst
|
rm -f rst/modules/*_maintained.rst
|
||||||
-rm rst/modules/list_of_*.rst
|
rm -f rst/modules/*_module.rst
|
||||||
-rm rst/modules/*_maintained.rst
|
rm -f rst/modules/*_plugin.rst
|
||||||
-rm rst/modules/*_module.rst
|
rm -f rst/playbooks_directives.rst
|
||||||
-rm rst/modules/*_plugin.rst
|
rm -f rst/plugins/*/*.rst
|
||||||
-rm rst/playbooks_directives.rst
|
rm -f rst/reference_appendices/config.rst
|
||||||
-rm rst/plugins/*/*.rst
|
rm -f rst/reference_appendices/playbooks_keywords.rst
|
||||||
-rm rst/reference_appendices/config.rst
|
|
||||||
-rm rst/reference_appendices/playbooks_keywords.rst
|
|
||||||
|
|
||||||
.PHONY: docs clean
|
.PHONY: docs clean
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue