dmulholl / ark

A static website generator for people who enjoy the simpler things in life.
https://www.dmulholl.com/docs/ark/master/
The Unlicense
118 stars 7 forks source link

best way to package a theme? #8

Closed gvwilson closed 2 years ago

gvwilson commented 2 years ago

What is the preferred way to package a theme that includes templates and resources as well as extensions?

  1. Create a zip file that people can download from GitHub and unzip in the root directory of their project?
  2. Create a Python package that has Ivy as a dependency and its own init command to install bundled resources?
  3. Something else?
dmulholl commented 2 years ago

I'd use something like option 1. A theme is just a directory so you can give it to people as a zip file or as a GitHub repository they can clone.

That's what I've done here: https://github.com/dmulholl/outline

gvwilson commented 2 years ago

:+1: thanks