mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Update phony targets list.
This commit is contained in:
parent
67ffb9bf54
commit
27b4265a2f
4
Makefile
4
Makefile
@ -1,7 +1,7 @@
|
|||||||
PYTHON ?= python
|
PYTHON ?= python
|
||||||
|
|
||||||
.PHONY: all check clean clean-pyc clean-patchfiles clean-generated pylint \
|
.PHONY: all check clean clean-pyc clean-patchfiles clean-backupfiles \
|
||||||
reindent test
|
clean-generated pylint reindent test covertest build convert-utils
|
||||||
|
|
||||||
DONT_CHECK = -i build -i dist -i sphinx/style/jquery.js \
|
DONT_CHECK = -i build -i dist -i sphinx/style/jquery.js \
|
||||||
-i sphinx/pycode/pgen2 -i sphinx/util/smartypants.py \
|
-i sphinx/pycode/pgen2 -i sphinx/util/smartypants.py \
|
||||||
|
@ -31,6 +31,7 @@ class OldCDirective(Directive):
|
|||||||
def run(self):
|
def run(self):
|
||||||
env = self.state.document.settings.env
|
env = self.state.document.settings.env
|
||||||
if not env.app._oldcmarkup_warned:
|
if not env.app._oldcmarkup_warned:
|
||||||
|
print 'XXXYYY'
|
||||||
env.warn(env.docname, WARNING_MSG, self.lineno)
|
env.warn(env.docname, WARNING_MSG, self.lineno)
|
||||||
env.app._oldcmarkup_warned = True
|
env.app._oldcmarkup_warned = True
|
||||||
newname = 'c:' + self.name[1:]
|
newname = 'c:' + self.name[1:]
|
||||||
|
Loading…
Reference in New Issue
Block a user