2.0.0 • Published 6 years ago

sissi-snaps v2.0.0

Weekly downloads
2
License
GPL-3.0-or-later
Repository
github
Last release
6 years ago

sissi-snaps – taking snapshots for sissi

Hi, it’s me again. sissi, your *simple static sites* generator.

If you want to turn your simple React app into a static site with a built-in CMS look no further! Or actually, do: the sissi repo is where you'll find all you need. See you there!

If you're a sissi fan and want to contribute – welcome! I'm glad you're here. I have to apologise, though. Please bear with me. I have but two parents and they are working hard on their sissi-to-do-lists. Contribution guidelines and thorough documentation of all packages are somewhere in there. Somewhere... For now, this will have to do:

What sissi-snaps can do

sissi-snaps creates static HTML files from React components.

It starts by crawling the index page of the sissi project and looks for links with the data-type="sissi-internal" attribute to figure out which routes to snapshot. These attributes are set by sissi-guides.

For each page sissi-snaps passes the EntryComponent (defined in the sissi project and exposed by sissi-packs in the tmp folder) and the content.json to sissi-guides' renderStatic() method which returns a static HTML page. sissi-snaps then creates a new folder for the route inside the build directory and saves the snapshot as index.html.

And voilà – that's your static website in the build directory right there!

2.0.0

6 years ago

1.5.1

6 years ago

1.5.0

6 years ago

1.4.1

6 years ago

1.4.0

6 years ago

1.3.1

6 years ago

1.3.0

6 years ago

1.2.0

6 years ago

1.1.0

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago