diff --git a/.gitignore b/.gitignore index 9addb16..497bc06 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,3 @@ -/**/DROP/ -/**/TEMP/ -/**/packages/ -/**/bin/ -/**/obj/ _site -tools \ No newline at end of file +.jekyll-cache +obj \ No newline at end of file diff --git a/Jenkinsfile b/Jenkinsfile index f2a0489..f231d88 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -6,8 +6,11 @@ pipeline { branch 'main' } steps { + sh '''cd web + bundle + bundle exec jekyll build''' sh 'rm -rf /var/www/tinylifegame/*' - sh 'cp web/. /var/www/tinylifegame/ -r' + sh 'cp -r web/_site/. /var/www/tinylifegame/' } } stage('Docs') { @@ -17,7 +20,7 @@ pipeline { steps { sh 'cd docs; docfx.exe' sh 'rm -rf /var/www/tinylifedocs/*' - sh 'cp docs/_site/. /var/www/tinylifedocs/ -r' + sh 'cp -r docs/_site/. /var/www/tinylifedocs/' } } } diff --git a/web/Gemfile b/web/Gemfile new file mode 100644 index 0000000..4989be4 --- /dev/null +++ b/web/Gemfile @@ -0,0 +1,8 @@ +# frozen_string_literal: true + +source "https://rubygems.org" + +git_source(:github) { |repo_name| "https://github.com/#{repo_name}" } + +gem "jekyll" +gem "webrick" diff --git a/web/Gemfile.lock b/web/Gemfile.lock new file mode 100644 index 0000000..284c977 --- /dev/null +++ b/web/Gemfile.lock @@ -0,0 +1,69 @@ +GEM + remote: https://rubygems.org/ + specs: + addressable (2.8.0) + public_suffix (>= 2.0.2, < 5.0) + colorator (1.1.0) + concurrent-ruby (1.1.9) + em-websocket (0.5.3) + eventmachine (>= 0.12.9) + http_parser.rb (~> 0) + eventmachine (1.2.7-x64-mingw32) + ffi (1.15.5-x64-mingw32) + forwardable-extended (2.6.0) + http_parser.rb (0.8.0) + i18n (1.8.11) + concurrent-ruby (~> 1.0) + jekyll (4.2.1) + addressable (~> 2.4) + colorator (~> 1.0) + em-websocket (~> 0.5) + i18n (~> 1.0) + jekyll-sass-converter (~> 2.0) + jekyll-watch (~> 2.0) + kramdown (~> 2.3) + kramdown-parser-gfm (~> 1.0) + liquid (~> 4.0) + mercenary (~> 0.4.0) + pathutil (~> 0.9) + rouge (~> 3.0) + safe_yaml (~> 1.0) + terminal-table (~> 2.0) + jekyll-sass-converter (2.1.0) + sassc (> 2.0.1, < 3.0) + jekyll-watch (2.2.1) + listen (~> 3.0) + kramdown (2.3.1) + rexml + kramdown-parser-gfm (1.1.0) + kramdown (~> 2.0) + liquid (4.0.3) + listen (3.7.1) + rb-fsevent (~> 0.10, >= 0.10.3) + rb-inotify (~> 0.9, >= 0.9.10) + mercenary (0.4.0) + pathutil (0.16.2) + forwardable-extended (~> 2.6) + public_suffix (4.0.6) + rb-fsevent (0.11.0) + rb-inotify (0.10.1) + ffi (~> 1.0) + rexml (3.2.5) + rouge (3.27.0) + safe_yaml (1.0.5) + sassc (2.4.0-x64-mingw32) + ffi (~> 1.9) + terminal-table (2.0.0) + unicode-display_width (~> 1.1, >= 1.1.1) + unicode-display_width (1.8.0) + webrick (1.7.0) + +PLATFORMS + x64-mingw32 + +DEPENDENCIES + jekyll + webrick + +BUNDLED WITH + 2.2.26 diff --git a/web/_config.yaml b/web/_config.yaml new file mode 100644 index 0000000..55fb549 --- /dev/null +++ b/web/_config.yaml @@ -0,0 +1,2 @@ +kramdown: + header_offset: 1 \ No newline at end of file diff --git a/web/_data/devlogs.json b/web/_data/devlogs.json new file mode 100644 index 0000000..9dd04d3 --- /dev/null +++ b/web/_data/devlogs.json @@ -0,0 +1,25 @@ +[{ + "name": "0.19.0: Ui, Sound and Improvements Abound", + "itch": "https://ellpeck.itch.io/tiny-life/devlog/330680/0190-ui-sound-and-improvements-abound", + "steam": "https://store.steampowered.com/news/app/1651490/view/3109171219652255208" +}, { + "name": "0.18.0: Animations, Food and Sources", + "itch": "https://ellpeck.itch.io/tiny-life/devlog/317472/0180-animations-food-and-sources", + "steam": "https://store.steampowered.com/news/app/1651490/view/3111419849470831533" +}, { + "name": "0.17.0: Life Goals, Reward Personalities and Daily Tasks", + "itch": "https://ellpeck.itch.io/tiny-life/devlog/303915/0170-life-goals-reward-personalities-and-daily-tasks", + "steam": "https://store.steampowered.com/news/app/1651490/view/4244072077610086379" +}, { + "name": "0.16.0: Woodlands and Visitors", + "itch": "https://ellpeck.itch.io/tiny-life/devlog/289260/0160-woodlands-and-visitors", + "steam": "https://store.steampowered.com/news/app/1651490/view/2949282742498975401" +}, { + "name": "0.15.0: Barbecue Trash Cleaning", + "itch": "https://ellpeck.itch.io/tiny-life/devlog/277913/0150-barbecue-trash-cleaning", + "steam": "https://store.steampowered.com/news/app/1651490/view/2968419780808932932" +}, { + "name": "0.14.0: Lamps, Lot Movement, Speech Sounds!", + "itch": "https://ellpeck.itch.io/tiny-life/devlog/274082/0140-lamps-lot-movement-speech-sounds", + "steam": "https://store.steampowered.com/news/app/1651490/view/4430963222678444595" +}] \ No newline at end of file diff --git a/web/_data/screenshots.json b/web/_data/screenshots.json new file mode 100644 index 0000000..0705647 --- /dev/null +++ b/web/_data/screenshots.json @@ -0,0 +1,16 @@ +[{ + "value": "CharacterCreator", + "text": "Create your own characters with unique personalities and skills and dress them however you like" +}, { + "value": "Map", + "text": "Build houses and community spaces like parks and cafés and watch households inhabit them" +}, { + "value": "Gameplay", + "text": "Control your household and tell your characters what to do, from cooking food to learning complex skills like programming and painting" +}, { + "value": "Relationships", + "text": "Have your characters interact, build relationships, grow families and live unique lives" +}, { + "value": "Lighting", + "text": "Share your creations with the community by exporting lots and households from your game" +}] \ No newline at end of file diff --git a/web/_includes/about.html b/web/_includes/about.html new file mode 100644 index 0000000..e0fc4d5 --- /dev/null +++ b/web/_includes/about.html @@ -0,0 +1,15 @@ +
Tiny Life is a fun simulation game that aims to capture the essence of games like The Sims, but in an isometric pixelart style.
+In the game, you control a set of people that live together in a household. You take care of their daily needs, build their skills, forge new relationships... or just mess up their entire life in whatever way you can think of!
+ + {% for item in site.data.screenshots %} +{{ item.text }}
+Along with every major update, we publish a devlog that features additional information as well as some screenshots. You can read them on itch or on Steam. You can also read the full changelog.
+ +