Ivy: a minimalist static site generator in Python
github.com
github.com
> Jekyll is not better than the rest for any fundamental design reason; it’s better because it’s enormously popular and therefore excels in the long tail of details.
> ...
> If, like me, you secretly believe that everything is better if it’s written in Python, I still suggest you start with Jekyll (which is done in Ruby). In my experience, using Jekyll does not require writing or reading a single line of Ruby.
http://www.cs.cornell.edu/~asampson/blog/jekyll.html
This matches my own experience pretty well.
1. Can I get Jekyll to use Org files without writing any Ruby code?
2. Can I get Jekyll to handle math using MathJax without writing any Ruby code?
3. Can I get a "next article for a given tag" in Jekyll without writing any Ruby code? (What I essentially need: A post usually has "next" and "previous" article links. I want a "next" and "previous" article for every tag the post is tagged with).
Not at home so I can't see what other custom code/plugins I use, but this is a good list to begin with.
See also this StackOverflow question: https://stackoverflow.com/questions/10987992/using-mathjax-w...
It takes longer to read the introduction to most static site generators than it takes to read and understand a proper minimal static site generator's source.
mysite/
site.py # site configuration file
ext/ # extensions directory for plugins
inc/ # includes directory for menus, etc.
lib/ # library directory for themes
out/ # output directory for html files
res/ # resources directory for static assets
src/ # source directory for text files
Isn't this way too messy?What are the advantages of this over the other 1000000 static site generators?
"If I had known as much about copyright in 2001 as I know now, I probably would have gone with something like the Apache license. Live and learn…"
<dialog>
<dt>Sam</dt>
<dd>Knock, Knock.</dd>
<dt>Eric</dt>
<dd>Who's there?</dd>
<dt>Sam</dt>
<dd>Justin.</dd>
<dt>Eric</dt>
<dd>Justin who?</dd>
<dt>Sam</dt>
<dd>Justin time for dinner!</dd>
</dialog>
http://html5doctor.com/a-little-more-conversation-with-dialo...* Jekyll
* Hakyll
* Hugo
* Pelican
* Sculpin
* ...
On the other hand, python-markdown is an extremely well-designed library and it's an absolute joy to hack on and extend. Once upon a time, I used it to throw together an API documentation renderer for Mono class library documentation on a now dead product [2]. Overall, I enjoyed that a lot more than my experience with Hugo and I will probably use something python based for my next static site.
[1] - https://intoli.com/blog/
I might replace my static blog script with this :)
As an interesting aside, the fact that you can organise your pages in a hierarchy reminds me of cat-v's "werc" website framework[0]. It's not a static site generator, but it will read the directory and file tree into a navigation menu, so you can navigate the tree using a sidebar. It will render pages using markdown on the fly.
Perhaps the "killer feature" is that you can run multiple subdomains using one instance. If you configure your web server correctly, a request to x.y.com will serve the website stored in the x.y.com directory etc.
It's also very small and extensible.
Ivy: a lightweight software bus
I can't disagree. You can't even easily filter down searching 'ivy python' or similar
Last time I checked (a few months ago), the project had gone about 2.5 years with no releases, no public mailing list activity, and almost no non-trivial source code commits. Bug reports, whether trivial or show-stopping, were consistently ignored, e.g. https://issues.apache.org/jira/browse/IVY-1485
It looks like some of the Ant contributors finally got around to picking up the project again a couple months ago. Here's hoping that they can get things back on track.
Have you thought about integrating a bundler like Webpack or something similar, and also support for Sass?
Would appreciate a motivation section in the readme, specifically whether this addresses needs better than others (especially Lektor which seems aimed at the same use case).
Or not, it's your project, can just be because you wanna :)
The sheer number of lightweight markup languages is truly amazing.
Ivy looks great, though.
A similar conceptual example: https://vuejs.org/v2/guide/comparison.html
Mention whether your SSG supports reStructuredtext, markdown, etc.
https://stackoverflow.com/a/597962/223424 lists saner alternatives for the major platforms.