Permalink
Browse files

Update documentation / help files and various utilities.

  • Loading branch information...
1 parent c70470a commit c6efa406bde5b0c7084e0f506b97657ce1c21dab @KelSolaar committed Apr 15, 2013
@@ -1,6 +1,13 @@
Changes
=======
+2.0.4 - Stable
+--------------
+
+**Manager** 2.0.4 - Stable - Milestone: https://github.com/KelSolaar/Manager/issues?milestone=3&state=closed
+
+- Implemented unicode support.
+
2.0.3 - Stable
--------------
@@ -20,12 +20,26 @@
from __future__ import unicode_literals
#**********************************************************************************************************************
+#*** Encoding manipulations.
+#**********************************************************************************************************************
+import sys
+
+def _setEncoding():
+ """
+ This definition sets the Application encoding.
+ """
+
+ reload(sys)
+ sys.setdefaultencoding("utf-8")
+
+_setEncoding()
+
+#**********************************************************************************************************************
#*** External imports.
#**********************************************************************************************************************
import os
import re
import shutil
-import sys
if sys.version_info[:2] <= (2, 6):
from ordereddict import OrderedDict
else:
@@ -240,4 +254,5 @@ def getSphinxDocumentationApi(packages, cloneDirectory, outputDirectory, apiFile
apiFile.write()
if __name__ == "__main__":
- getSphinxDocumentationApi(sys.argv[1], sys.argv[2], sys.argv[3], sys.argv[4])
+ arguments = map(unicode, sys.argv)
+ getSphinxDocumentationApi(arguments[1], arguments[2], arguments[3], arguments[4])
@@ -20,12 +20,26 @@
from __future__ import unicode_literals
#**********************************************************************************************************************
+#*** Encoding manipulations.
+#**********************************************************************************************************************
+import sys
+
+def _setEncoding():
+ """
+ This definition sets the Application encoding.
+ """
+
+ reload(sys)
+ sys.setdefaultencoding("utf-8")
+
+_setEncoding()
+
+#**********************************************************************************************************************
#*** External imports.
#**********************************************************************************************************************
import glob
import os
import re
-import sys
if sys.version_info[:2] <= (2, 6):
from ordereddict import OrderedDict
else:
@@ -125,4 +139,5 @@ def getSphinxDocumentationTocTree(title, fileIn, fileOut, contentDirectory):
file.write()
if __name__ == "__main__":
- getSphinxDocumentationTocTree(sys.argv[1], sys.argv[2], sys.argv[3], sys.argv[4])
+ arguments = map(unicode, sys.argv)
+ getSphinxDocumentationTocTree(arguments[1], arguments[2], arguments[3], arguments[4])
@@ -20,10 +20,24 @@
from __future__ import unicode_literals
#**********************************************************************************************************************
+#*** Encoding manipulations.
+#**********************************************************************************************************************
+import sys
+
+def _setEncoding():
+ """
+ This definition sets the Application encoding.
+ """
+
+ reload(sys)
+ sys.setdefaultencoding("utf-8")
+
+_setEncoding()
+
+#**********************************************************************************************************************
#*** External imports.
#**********************************************************************************************************************
import os
-import sys
#**********************************************************************************************************************
#*** Internal imports.
@@ -86,4 +100,5 @@ def reStructuredTextToHtml(fileIn, fileOut):
file.write()
if __name__ == "__main__":
- reStructuredTextToHtml(sys.argv[1], sys.argv[2])
+ arguments = map(unicode, sys.argv)
+ reStructuredTextToHtml(arguments[1], arguments[2])
@@ -20,11 +20,25 @@
from __future__ import unicode_literals
#**********************************************************************************************************************
+#*** Encoding manipulations.
+#**********************************************************************************************************************
+import sys
+
+def _setEncoding():
+ """
+ This definition sets the Application encoding.
+ """
+
+ reload(sys)
+ sys.setdefaultencoding("utf-8")
+
+_setEncoding()
+
+#**********************************************************************************************************************
#*** External imports.
#**********************************************************************************************************************
import os
import re
-import sys
if sys.version_info[:2] <= (2, 6):
from ordereddict import OrderedDict
else:
@@ -121,4 +135,5 @@ def sliceDocumentation(fileIn, outputDirectory):
index += 1
if __name__ == "__main__":
- sliceDocumentation(sys.argv[1], sys.argv[2])
+ arguments = map(unicode, sys.argv)
+ sliceDocumentation(arguments[1], arguments[2])

0 comments on commit c6efa40

Please sign in to comment.