diff --git a/.gitignore b/.gitignore index 45c1505..666de10 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ _site .sass-cache .jekyll-metadata +Gemfile.lock diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..86b37f7 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,35 @@ +language: ruby +rvm: + - 2.4.1 +jdk: + - openjdk7 + +before_script: + - chmod +x ./script/cibuild + - chmod +x deploy + +script: ./script/cibuild + +env: + global: + - NOKOGIRI_USE_SYSTEM_LIBRARIES=true # speeds up installation of html-proofer + +addons: + apt: + packages: + - libcurl4-openssl-dev + +sudo: false # route your build to the container-based infrastructure for a faster build + +cache: bundler # caching bundler gem packages will speed up build + +# Optional: disable email notifications about the outcome of your builds +notifications: + email: false + +deploy: + provider: script + script: bash deploy + skip_cleanup: true + on: + tags: true diff --git a/Gemfile b/Gemfile index 7b8a8e4..1e5d80a 100644 --- a/Gemfile +++ b/Gemfile @@ -12,6 +12,7 @@ gem "jekyll", "~> 3.8.4" # This is the default theme for new Jekyll sites. You may change this to anything you like. gem "minima", "~> 2.0" +gem "html-proofer" # If you want to use GitHub Pages, remove the "gem "jekyll"" above and # uncomment the line below. To upgrade, run `bundle update github-pages`. diff --git a/Gemfile.lock b/Gemfile.lock deleted file mode 100644 index e1f1105..0000000 --- a/Gemfile.lock +++ /dev/null @@ -1,87 +0,0 @@ -GEM - remote: https://rubygems.org/ - specs: - addressable (2.5.2) - public_suffix (>= 2.0.2, < 4.0) - colorator (1.1.0) - concurrent-ruby (1.0.5) - em-websocket (0.5.1) - eventmachine (>= 0.12.9) - http_parser.rb (~> 0.6.0) - eventmachine (1.2.7-x64-mingw32) - ffi (1.9.25-x64-mingw32) - forwardable-extended (2.6.0) - http_parser.rb (0.6.0) - i18n (0.9.5) - concurrent-ruby (~> 1.0) - jekyll (3.8.4) - addressable (~> 2.4) - colorator (~> 1.0) - em-websocket (~> 0.5) - i18n (~> 0.7) - jekyll-sass-converter (~> 1.0) - jekyll-watch (~> 2.0) - kramdown (~> 1.14) - liquid (~> 4.0) - mercenary (~> 0.3.3) - pathutil (~> 0.9) - rouge (>= 1.7, < 4) - safe_yaml (~> 1.0) - jekyll-feed (0.11.0) - jekyll (~> 3.3) - jekyll-menus (0.6.0) - jekyll (~> 3.1) - jekyll-sass-converter (1.5.2) - sass (~> 3.4) - jekyll-seo-tag (2.5.0) - jekyll (~> 3.3) - jekyll-sitemap (1.2.0) - jekyll (~> 3.3) - jekyll-watch (2.0.0) - listen (~> 3.0) - kramdown (1.17.0) - liquid (4.0.0) - listen (3.1.5) - rb-fsevent (~> 0.9, >= 0.9.4) - rb-inotify (~> 0.9, >= 0.9.7) - ruby_dep (~> 1.2) - mercenary (0.3.6) - minima (2.5.0) - jekyll (~> 3.5) - jekyll-feed (~> 0.9) - jekyll-seo-tag (~> 2.1) - pathutil (0.16.1) - forwardable-extended (~> 2.6) - public_suffix (3.0.3) - rb-fsevent (0.10.3) - rb-inotify (0.9.10) - ffi (>= 0.5.0, < 2) - rouge (3.2.1) - ruby_dep (1.5.0) - safe_yaml (1.0.4) - sass (3.6.0) - sass-listen (~> 4.0.0) - sass-listen (4.0.0) - rb-fsevent (~> 0.9, >= 0.9.4) - rb-inotify (~> 0.9, >= 0.9.7) - thread_safe (0.3.6) - tzinfo (1.2.5) - thread_safe (~> 0.1) - tzinfo-data (1.2018.5) - tzinfo (>= 1.0.0) - wdm (0.1.1) - -PLATFORMS - x64-mingw32 - -DEPENDENCIES - jekyll (~> 3.8.4) - jekyll-feed (~> 0.6) - jekyll-menus - jekyll-sitemap - minima (~> 2.0) - tzinfo-data - wdm (~> 0.1.0) - -BUNDLED WITH - 1.16.4 diff --git a/Readme.md b/Readme.md new file mode 100644 index 0000000..2e22b0c --- /dev/null +++ b/Readme.md @@ -0,0 +1,12 @@ +# Site wiki.adire.eu.com + +[![Build Status](https://travis-ci.org/fauguste/wiki.adire.eu.com.svg?branch=master)](https://travis-ci.org/fauguste/wiki.adire.eu.com) + +## Prérequis + +[jekyll](https://jekyllrb.com/docs/installation/) + +## Lancer un serveur local +```` +bundle exec jekyll serve +```` diff --git a/_config.yml b/_config.yml index fe1c4db..46a368b 100644 --- a/_config.yml +++ b/_config.yml @@ -18,7 +18,7 @@ email: contact@adire.eu.com description: >- # this means to ignore newlines until "baseurl:" Bienvenue sur la base de connaissance de la société Adire. baseurl: "" # the subpath of your site, e.g. /blog -url: "" # the base hostname & protocol for your site, e.g. http://example.com +url: "https://wiki.adire.eu.com" # the base hostname & protocol for your site, e.g. http://example.com # Build settings markdown: kramdown diff --git a/_layouts/default.html b/_layouts/default.html index e4aca0d..e90bc56 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -12,7 +12,7 @@