Mercurial > mozilla > hg > DocumentIt
comparison document_it.py @ 1:53c7f9c7dfb6
note staging server
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Mon, 01 Aug 2011 14:15:48 -0700 |
parents | 665b2ae2ecc6 |
children | 58befca0eb17 |
comparison
equal
deleted
inserted
replaced
0:665b2ae2ecc6 | 1:53c7f9c7dfb6 |
---|---|
13 try: | 13 try: |
14 import markdown | 14 import markdown |
15 except ImportError: | 15 except ImportError: |
16 raise ImportError("markdown is not installed, run (e.g.):\neasy_install Markdown") | 16 raise ImportError("markdown is not installed, run (e.g.):\neasy_install Markdown") |
17 | 17 |
18 DEST='http://developer.mozilla.org/' | 18 #DEST='http://developer.mozilla.org/' |
19 DEST='https://developer-stage9.mozilla.org/' | |
19 DIR=os.path.dirname(os.path.abspath(__file__)) | 20 DIR=os.path.dirname(os.path.abspath(__file__)) |
20 README=['README.md', 'README.txt', 'README'] | 21 README=['README.md', 'README.txt', 'README'] |
21 | 22 |
22 def find_readme(directory): | 23 def find_readme(directory): |
23 """find a README file in a directory""" | 24 """find a README file in a directory""" |