mirror of
https://github.com/coursera-dl/coursera-dl.git
synced 2026-07-17 16:35:35 +00:00
{fabfile,setup}.py: Use vanilla markdown for rst files.
Signed-off-by: Rogério Brito <rbrito@ime.usp.br>
This commit is contained in:
parent
0a81422a33
commit
146ff276d1
2 changed files with 2 additions and 2 deletions
2
fabfile.py
vendored
2
fabfile.py
vendored
|
|
@ -9,7 +9,7 @@ import os
|
||||||
|
|
||||||
from fabric.api import (env, local, task)
|
from fabric.api import (env, local, task)
|
||||||
|
|
||||||
MD2RST='pandoc --from=markdown_github --to=rst --output=README.rst README.md'
|
MD2RST='pandoc --from=markdown --to=rst --output=README.rst README.md'
|
||||||
|
|
||||||
if not os.path.exists('README.rst'):
|
if not os.path.exists('README.rst'):
|
||||||
local(MD2RST)
|
local(MD2RST)
|
||||||
|
|
|
||||||
2
setup.py
2
setup.py
|
|
@ -58,7 +58,7 @@ generate_readme_rst()
|
||||||
long_description = read_file(
|
long_description = read_file(
|
||||||
'README.rst',
|
'README.rst',
|
||||||
'Generate README.rst from README.md via pandoc!\n\nExample: '
|
'Generate README.rst from README.md via pandoc!\n\nExample: '
|
||||||
'pandoc --from=markdown_github --to=rst --output=README.rst README.md'
|
'pandoc --from=markdown --to=rst --output=README.rst README.md'
|
||||||
)
|
)
|
||||||
requirements = read_file('requirements.txt')
|
requirements = read_file('requirements.txt')
|
||||||
dev_requirements = read_file('requirements-dev.txt')
|
dev_requirements = read_file('requirements-dev.txt')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue