Drassil / git-wiki-theme

A revolutionary full-featured wiki for github pages and jekyll. You don't need to compile it!
http://drassil.github.io/git-wiki/
MIT License
212 stars 293 forks source link

[GENERAL] How do I edit the build script? #98

Closed cybertheory closed 1 year ago

cybertheory commented 1 year ago

Hi, I would like to edit the build script on actions to update the site incrementally. This way the site would rebuild with each change, rather than having to rebuild the whole site with every change. This would help a lot with large wikis as well as popular ones. Changes would go live faster. Thanks.

Yehonal commented 1 year ago

This wiki uses jekyll static site generator, that is the official static site tool integrated in github. You can either decide to use jekyll by running the default github action, or disable that and use your own action with a custom jeckyll build (I do not offer setup support for that though, but you can google how to do that, also github has some documentation on how to use jekyll manually: https://docs.github.com/en/pages/setting-up-a-github-pages-site-with-jekyll/testing-your-github-pages-site-locally-with-jekyll)

However, there's also a jekyll config that you could try https://jekyllrb.com/docs/configuration/incremental-regeneration/

but it is not supported by the default github page builder: https://docs.github.com/en/pages/setting-up-a-github-pages-site-with-jekyll/about-github-pages-and-jekyll#configuring-jekyll-in-your-github-pages-site