Hi, This did not work for me on Python 3. I believe string functions do not work the same in 2 and 3. For instance, there are many of these in content.py <http://git.savannah.gnu.org/cgit/freetype/freetype2.git/tree/src/tools/docmaker/content.py>, which gives errors with 3. Please confirm.
On 16 April 2018 at 02:08, Werner LEMBERG <[email protected]> wrote: > > [I had to read this paragraph three times until I was able to > understand it :-/ Please write shorter sentences!] > > > While exploring for the policy to be used for converting source > > code to markdown (though most of the necessary modules are > > implemented in > > http://git.savannah.gnu.org/cgit/freetype/freetype2.git/ > tree/src/tools/docmaker > > it is found that only implementing a module named tomarkdown.py > > similar to tohtml.py, it can be achieved with some minor > > modifications in other files as well [...] > > I must admit that I haven't thought intensively how to improve the > `docmaker' tool for a forthcoming markdown usage. Basically, I'm open > to all suggestions that work :-) > > > Docmaker currently works with python2 only, I made some minor > > modification so that they are compatible with python3 as well and > > removed some unused imports. > > Nice, thanks! Committed now. The next time, however, please follow > the formatting within the source file. In particular, you wrote > > print(ccc) > > while everything else in the .py files uses > > foo( ccc ) > > > Werner > > _______________________________________________ > Freetype-devel mailing list > [email protected] > https://lists.nongnu.org/mailman/listinfo/freetype-devel > -- Nikhil
_______________________________________________ Freetype-devel mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/freetype-devel
