summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGES.txt1
-rw-r--r--Makefile15
-rw-r--r--docs/documentation.pdf (renamed from documentation.pdf)4
-rw-r--r--docs/documentation.rst (renamed from documentation.rst)0
-rw-r--r--docs/index.html (renamed from index.html)0
-rw-r--r--setup.cfg3
6 files changed, 14 insertions, 9 deletions
diff --git a/CHANGES.txt b/CHANGES.txt
index 3485dec..b21bd9d 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,6 +1,7 @@
HISTORY
--------
+4.0.1 Added docs directory and upload_docs command (2015/07/24)
4.0.0 Removed the need for 2to3 by dropping the support for Python 2.5.
Added a MANIFEST.in file and produced a proper wheel. Improved
the integration with setuptools so that `python setup.py test` works.
diff --git a/Makefile b/Makefile
index 1adf343..aaf5ea1 100644
--- a/Makefile
+++ b/Makefile
@@ -2,14 +2,15 @@ RST=python $(S)/ms/tools/rst.py
rst: src/tests/documentation.py
PYTHONPATH=src:$(S) python3 $(S)/minidoc3.py -d tests.documentation
- cp /tmp/tests.documentation.rst documentation.rst
+ cp /tmp/tests.documentation.rst docs/documentation.rst
-html: documentation.rst README.rst
- $(RST) documentation.rst
- rst2html README.rst index.html
+html: docs/documentation.rst README.rst
+ $(RST) docs/documentation.rst
+ rst2html README.rst docs/index.html
-pdf: documentation.rst
- rst2pdf documentation.rst -o documentation.pdf
+pdf: docs/documentation.rst
+ rst2pdf docs/documentation.rst -o docs/documentation.pdf
upload: documentation.pdf
- git clean -f; python3 setup.py register sdist bdist_wheel upload
+ git clean -f
+ python3 setup.py register sdist bdist_wheel upload upload_docs
diff --git a/documentation.pdf b/docs/documentation.pdf
index dff9259..20cfdce 100644
--- a/documentation.pdf
+++ b/docs/documentation.pdf
@@ -265,7 +265,7 @@ endobj
<< /Outlines 82 0 R /PageLabels 123 0 R /PageMode /UseNone /Pages 102 0 R /Type /Catalog >>
endobj
81 0 obj
-<< /Author (Michele Simionato) /CreationDate (D:20150724115355-01'00') /Creator (\(unspecified\)) /Keywords () /Producer (ReportLab PDF Library - www.reportlab.com) /Subject (\(unspecified\))
+<< /Author (Michele Simionato) /CreationDate (D:20150724191345-01'00') /Creator (\(unspecified\)) /Keywords () /Producer (ReportLab PDF Library - www.reportlab.com) /Subject (\(unspecified\))
/Title (The decorator module) >>
endobj
82 0 obj
@@ -8753,7 +8753,7 @@ xref
trailer
<< /ID
% ReportLab generated PDF document -- digest (http://www.reportlab.com)
- [(\340/\355\346\323\376_\261G\300\236\353\201J\351\311) (\340/\355\346\323\376_\261G\300\236\353\201J\351\311)]
+ [(W\233#\215\347\022,\262\005\255\014\35483\375\026) (W\233#\215\347\022,\262\005\255\014\35483\375\026)]
/Info 81 0 R /Root 80 0 R /Size 144 >>
startxref
307933
diff --git a/documentation.rst b/docs/documentation.rst
index 6c3cdcd..6c3cdcd 100644
--- a/documentation.rst
+++ b/docs/documentation.rst
diff --git a/index.html b/docs/index.html
index b8eb6bc..b8eb6bc 100644
--- a/index.html
+++ b/docs/index.html
diff --git a/setup.cfg b/setup.cfg
index 2a9acf1..1441625 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,2 +1,5 @@
[bdist_wheel]
universal = 1
+
+[upload_docs]
+upload-dir = docs