Live data from Hacker News

Ivy: a minimalist static site generator in Python

github.com

51–58 of 58 posts

Re: Ivy: a minimalist static site generator in Python

#51
Consider creating a page to put on on website that compares and contrasts Ivy compared to other static site generators. Link to via Readme

A similar conceptual example: https://vuejs.org/v2/guide/comparison.html

Mention whether your SSG supports reStructuredtext, markdown, etc.

Re: Ivy: a minimalist static site generator in Python

#52

Earlier quoted context omitted.

Tables are good for tabular data. I'd argue that it's potentially arguable that this may actually be tabular data. Either way, now that you mentioned it, I don't know whether my knee-jerk reaction would have been that it's good or bad, or if I'd even notice it at all, heh.

It's pretty hard to argue a chat transcript as tabular data. Sam Knock, Knock. Eric Who's there? Sam Justin. Eric Justin who? Sam Justin time for dinner! http://html5doctor.com/a-little-more-conversation-with-dialo...

You'll want to use a tag for that in html5, I suppose.

Re: Ivy: a minimalist static site generator in Python

#53

For a minimalist static site generator, I think it's hard to beat just writing your own that does exactly what you want and nothing else. In a hundred lines or less of Python, you can have your minimal generator, know exactly how it works and how to extend it, and be able to refresh your memory on conventions/configuration with thirty seconds of scrolling through the source.

Mine is exactly 46 lines long. Most of these crappy site generators are anywhere from 20000 to 300000 lines.

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.

Re: Ivy: a minimalist static site generator in Python

#54
post #29

Ah this is quite interesting... I was working on making my own one of these. I might just use this instead!

There are already two or three static site generators out there ... https://staticsitegenerators.net/

It would be nice if that site also listed how many lines of code each of them are.

Re: Ivy: a minimalist static site generator in Python

#56

Earlier quoted context omitted.

Tables are good for tabular data. I'd argue that it's potentially arguable that this may actually be tabular data. Either way, now that you mentioned it, I don't know whether my knee-jerk reaction would have been that it's good or bad, or if I'd even notice it at all, heh.

It's pretty hard to argue a chat transcript as tabular data. Sam Knock, Knock. Eric Who's there? Sam Justin. Eric Justin who? Sam Justin time for dinner! http://html5doctor.com/a-little-more-conversation-with-dialo...

Huh, according to https://developer.mozilla.org/en-US/docs/Web/HTML/Element/di... , the element represents a dialog box or other interactive component, such as an inspector or window.

Re: Ivy: a minimalist static site generator in Python

#58
post #29

Earlier quoted context omitted.

There are already two or three static site generators out there ... https://staticsitegenerators.net/

It would be nice if that site also listed how many lines of code each of them are.

And what relevance would have such a metric?
Post reply on HN