Skip to content

sivujetti/dev-docs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sivujetti developer docs

Source code of Sivujetti developer docs website. Uses jekyll.

Running locally

  1. https://jekyllrb.com/docs/installation/
  2. cd fi
  3. cd en
    • cp -R ../fi/_sass _sass
    • cp -R ../fi/assets assets
    • bundle exec jekyll serve --port 4001
    • http://localhost:4001

Building locally

  1. Build fi
cd fi &&\
 mv _config.yml _config.dev.yml && mv _config.prod.yml _config.yml &&\
 bundle exec jekyll build &&\
 mv _config.yml _config.prod.yml && mv _config.dev.yml _config.yml &&\
 cd ..
  1. Build en
cd en &&\
 mv _config.yml _config.dev.yml && mv _config.prod.yml _config.yml &&\
 bundle exec jekyll build &&\
 mv _config.yml _config.prod.yml && mv _config.dev.yml _config.yml &&\
 cd ..
  1. Combine & patch to /_sitefinal
mkdir _sitefinal ; mkdir _sitefinal/fi ; mkdir _sitefinal/en &&\
 mv fi/_site/assets _sitefinal/assets/ &&\
 mv fi/_site/* _sitefinal/fi/ &&\
 rm -R en/_site/assets &&\
 mv en/_site/* _sitefinal/en &&\
 node ./patch.js

License

CC BY-SA

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published