Static site generation on python
blog.getpelican.com
blog.getpelican.com
There are many static website generators, but I'm looking into a python+ReST solution. I've been using rest2web a lot, and I really love it's simplicity compared to the other solutions. rest2web is really straightforward. In the end, it's the python-docutils module that does most of the work anyway, while rest2web simply collects the website structure.
The only downside is that rest2web lacks a bit of polish, and I really wished it would come with the ability to generate rss feeds for a particular tree or tag. I was thinking about writing a plugin, but I'm unsure.
pelican seem to be already be done for the purpose. Actually, pelican seem to target mostly blogs, while I actually just want "a feed of changes" for a particular directory tree. I don't want a blog-turned-into-a-website approach.
Does anybody had this problem? I'm really looking for feedback from people that used rest2web here and moved to pelican/liquidink, or back maybe. Figuring out the limitations of these tools require a long time investment and I cannot really decide by just trying it out on toy pages.
Do you know any other static page generators, simpler and preferably in Python as well? Or should I just get over the first impression and go with the pelican?
Much simpler and better documentation in my opinion.
I've split hair over jekyll/octopress configuration until I stumbled upon this nimble beauty... haven't looked back since.
Give nanoc a try.
There's some room for improvement here and there, but it works pretty well and was easy to get going.
I love all things Python, but for some reason I could never wrap my head around ReStructuredText's syntax. Maybe it's because all my favorite sites use Markdown (including this one!), but I find Markdown's syntax to be more intuitive.
http://sphinx-doc.org/rest.html
Then go here for more:
http://docutils.sourceforge.net/docs/user/rst/quickref.html
I don't really understand why reST is so unpopular compared to Markdown.
There's also a bunch of things in Sphinx that need improvement with the PDF and ePub output.
But for what it is and does, I like it a lot. I don't know of anything for Markdown that lets me do as much structured markup as I can do in reST.
It depends on what you're doing. For documentation I'm always running reST but for articles for sites etc (with a static site generator) I will turn to Markdown.
However, generating PDFs, a static website, and any other formats from a single reST document is much easier than doing to equivalent from an HTML document so it has its uses, but I would not use it as blogging markup unless I planned on publishing a book from the same blog content.
There are two reasons: first is that Markdown is much simpler and is more narrow scoped and second is that reST implementation only exists in Python and Haskell - to some extent, not supporting extensions, obviously. Both of those reasons make entry level higher.
Markdown is so much simpler than Rest.
Plus, I can use ReST -- a lot of the other static site generators just focus on Markdown. If you use python, ReST is your bread and butter.
`pelican-quickstart` and you are up and running.