- Description
- Tools
- Run static site
- Build static site
- Publish static site
murtidaryandono.github.io is a Java knowledge center site, build on top static site generator (SSG) technology with SkyDocs as platform. Static site than hosted on Github pages and assigned with custom domain : www.daryandono.id.
Static site generator (SSG) : SkyDocs.
java -jar SkyDocs-v0.7.4.jar serve
java -jar SkyDocs-v0.7.4.jar build
Static site will be generated at "build" directory.
-
Option 1 : Publish as Github Pages
- Push "build" directory as "gh-pages" branch for first time
git add build git subtree push --prefix build origin gh-pages
-
Push "build" directory as "gh-pages" branch for publishing (outside first time publish)va
git subtree split --prefix build -b gh-pages git push -f origin gh-pages:gh-pages git branch -D gh-pages
-
Option 2 : Run static site on top java server (command refer to point 2).
Source :