Generate the manpage with sphinx
This commit is contained in:
parent
8d4a2e62bd
commit
a7d8f7f53d
7
Makefile
7
Makefile
@ -54,8 +54,11 @@ README.md: youtube_dl/*.py youtube_dl/*/*.py
|
||||
README.txt: README.md
|
||||
pandoc -f markdown -t plain README.md -o README.txt
|
||||
|
||||
youtube-dl.1: README.md
|
||||
pandoc -s -f markdown -t man README.md -o youtube-dl.1
|
||||
docs/options.rst.inc: youtube_dl/*.py youtube_dl/*/*.py
|
||||
python devscripts/docs/make_options.py
|
||||
|
||||
youtube-dl.1: docs/options.rst.inc docs/*.rst
|
||||
sphinx-build -b man -d docs/_build/doctrees docs ./
|
||||
|
||||
youtube-dl.bash-completion: youtube_dl/*.py youtube_dl/*/*.py devscripts/bash-completion.in
|
||||
python devscripts/bash-completion.py
|
||||
|
@ -45,9 +45,9 @@ fi
|
||||
/bin/echo -e "\n### Changing version in version.py..."
|
||||
sed -i "s/__version__ = '.*'/__version__ = '$version'/" youtube_dl/version.py
|
||||
|
||||
/bin/echo -e "\n### Committing CHANGELOG README.md and youtube_dl/version.py..."
|
||||
make README.md
|
||||
git add CHANGELOG README.md youtube_dl/version.py
|
||||
/bin/echo -e "\n### Committing CHANGELOG README.md, youtube_dl/version.py and docs/options.rst.inc..."
|
||||
make README.md docs/options.rst.inc
|
||||
git add CHANGELOG README.md youtube_dl/version.py docs/options.rst.inc
|
||||
git commit -m "release $version"
|
||||
|
||||
/bin/echo -e "\n### Now tagging, signing and pushing..."
|
||||
|
Loading…
x
Reference in New Issue
Block a user