Commits

Janto Dreijer committed 7b1baa7

fix newline in descriptor

Comments (0)

Files changed (2)

 		#~ escaped_description = parts["fragment"]
 
 		try:
-			escaped_description = rst2html(d["description"])
+			escaped_description = rst2html(d["description"].replace(r"\n", "\n"))
 		except docutils.utils.SystemMessage, e:
 			escaped_description = ("<!-- DOCUTILS WARNING! %s -->\n" % str(e)) + htmlquote(d["description"]).replace(r"\n", "<br />\n")
 
 		settings_overrides=settings)
 	return parts['fragment']
 
-#~ s="""
-	#~ This SciKit
-	#~ (toolkit for `SciPy <http://www.scipy.org>`_) provides Python interfaces to a subset of the functions in the CUDA, CUDART, CUBLAS, and CUFFT libraries distributed as part of `NVIDIA's CUDA Programming Toolkit <http://www.nvidia.com/cuda>`_, as well as interfaces to select functions in the free-of-charge `CULA Toolkit <http://www.culatools.com>`_. In contrast to most existing Python wrappers for these libraries (many of which only provide a low-level interface to the actual library functions), this package uses `PyCUDA <http://mathema.tician.de/software/pycuda/>`_ to provide high-level functions comparable to those in the `NumPy <http://numpy.scipy.org>`_ package.
-	#~ """
+#~ s=r"""
+#~ This is a scikit intended to include numerical methods for smoothing\ndata.""".replace(r"\n", "\n")
 #~ try:
 	#~ print rst2html(s)
 #~ except docutils.utils.SystemMessage, e:
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.