DocOps / asciidocsy-jekyll-theme

Jekyll/AsciiDoc port of Docsy theme for scalable technical documentation projects
https://asciidocsy.netlify.app/docs
Apache License 2.0
9 stars 9 forks source link

add docs for installing theme as submodule #43

Closed capsulecorplab closed 3 years ago

capsulecorplab commented 3 years ago

Having the theme maintained as a submodule would allow for easier updates to the theme as new releases get published

briandominick commented 3 years ago

I have not seen this done before, and I'm not sure it has any advantages over using the theme as a Ruby gem, which I plan to release (probably in 0.3.0 later this summer -- see #31). The gem lets us update the theme in this repo and gives the user control of when they sync updates to it, which I think is what you're looking for. But gemified themes also let you override theme files very easily without placing any of them in your workspace. If there are advantages of using it as a submodule, I'm happy to look into it.

capsulecorplab commented 3 years ago

I can't speak for Jekyll, but the use of submodules for maintaining themes is a fairly prevalent workflow in Hugo. In any case, a Ruby gem should satisfy the fundamental use case of updating/reverting theme versions/releases, albeit using the gem/bundler workflow.