浏览代码

Fixes rst errors in README.rst (Closes #3418)

Ask Solem 8 年之前
父节点
当前提交
778e088510
共有 3 个文件被更改,包括 12 次插入5 次删除
  1. 8 1
      Makefile
  2. 2 2
      README.rst
  3. 2 2
      docs/includes/introduction.txt

+ 8 - 1
Makefile

@@ -8,6 +8,8 @@ ICONV=iconv
 FLAKE8=flake8
 FLAKEPLUS=flakeplus
 SPHINX2RST=sphinx2rst
+RST2HTML=rst2html.py
+DEVNULL=/dev/null
 
 TESTDIR=t
 
@@ -102,9 +104,14 @@ flakes: flakediag flakeplusdiag
 clean-readme:
 	-rm -f $(README)
 
-readmecheck:
+readmecheck-unicode:
 	$(ICONV) -f ascii -t ascii $(README) >/dev/null
 
+readmecheck-rst:
+	-$(RST2HTML) --strict $(README) >$(DEVNULL)
+
+readmecheck: readmecheck-unicode readmecheck-rst
+
 $(README):
 	$(SPHINX2RST) "$(README_SRC)" --ascii > $@
 

+ 2 - 2
README.rst

@@ -96,7 +96,7 @@ getting started tutorials:
     http://docs.celeryproject.org/en/latest/getting-started/next-steps.html
 
 Celery is...
-==========
+=============
 
 - **Simple**
 
@@ -134,7 +134,7 @@ Celery is...
     schedulers, consumers, producers, broker transports, and much more.
 
 It supports...
-============
+================
 
     - **Message Transports**
 

+ 2 - 2
docs/includes/introduction.txt

@@ -88,7 +88,7 @@ getting started tutorials:
     http://docs.celeryproject.org/en/latest/getting-started/next-steps.html
 
 Celery is…
-==========
+=============
 
 - **Simple**
 
@@ -126,7 +126,7 @@ Celery is…
     schedulers, consumers, producers, broker transports, and much more.
 
 It supports…
-============
+================
 
     - **Message Transports**