From 2cb86279c06f19f505ba17e49784d1f45c0eea25 Mon Sep 17 00:00:00 2001 From: Albert Cervera i Areny Date: Wed, 21 Oct 2015 12:49:31 +0200 Subject: [PATCH] Add setup.cfg to allow building docs with 'python setup.py build_sphinx' and upload with 'python setup.py upload_sphinx'. This requires python package 'sphinx-pypi-upload'. --- setup.cfg | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 setup.cfg diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..6a7b3d9 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,10 @@ +[build_sphinx] +source-dir = doc/ +build-dir = doc/build +all_files = 1 + +[upload_sphinx] +upload-dir = doc/build/html + +# python setup.py build_sphinx +# python setup.py upload_sphinx