mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Initial import of the doc tools.
This commit is contained in:
24
Makefile
Normal file
24
Makefile
Normal file
@@ -0,0 +1,24 @@
|
||||
PYTHON ?= python
|
||||
|
||||
export PYTHONPATH = $(shell echo "$$PYTHONPATH"):./sphinx
|
||||
|
||||
.PHONY: all check clean clean-pyc pylint reindent testserver
|
||||
|
||||
all: clean-pyc check
|
||||
|
||||
check:
|
||||
@$(PYTHON) utils/check_sources.py -i sphinx/style/jquery.js sphinx
|
||||
@$(PYTHON) utils/check_sources.py converter
|
||||
|
||||
clean: clean-pyc
|
||||
|
||||
clean-pyc:
|
||||
find . -name '*.pyc' -exec rm -f {} +
|
||||
find . -name '*.pyo' -exec rm -f {} +
|
||||
find . -name '*~' -exec rm -f {} +
|
||||
|
||||
pylint:
|
||||
@pylint --rcfile utils/pylintrc sphinx converter
|
||||
|
||||
reindent:
|
||||
@$(PYTHON) utils/reindent.py -r -B .
|
||||
Reference in New Issue
Block a user