Configure docutils to use hg as CVS.

This commit is contained in:
Martin v. Löwis 2012-04-19 10:32:50 +02:00
parent d81d6016ba
commit cefcfb8196
1 changed files with 2 additions and 0 deletions

View File

@ -306,6 +306,8 @@ application when this module is imported."""
def fix_rst_pep(inpath, input_lines, outfile):
from docutils import core
from docutils.transforms.peps import Headers
Headers.pep_cvs_url = PEPCVSURL
parts = core.publish_parts(
source=''.join(input_lines),
source_path=inpath,