Skip to content

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 : daryandono.id.

Notifications You must be signed in to change notification settings

murtidaryandono/murtidaryandono.github.io

Repository files navigation

logo

Project : murtidaryandono.github.io

Contents

  1. Description
  2. Tools
  3. Run static site
  4. Build static site
  5. Publish static site

1. Description

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.

2. Tools

Static site generator (SSG) : SkyDocs.

3. Run static site

java -jar SkyDocs-v0.7.4.jar serve

4. Build static site

java -jar SkyDocs-v0.7.4.jar build

Static site will be generated at "build" directory.

5. Publish static site

  • 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
    
    • Set domain for Github pages. set-domain-github-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 :

About

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 : daryandono.id.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published