Skip to content

Commit

Permalink
Feature development (mendix#86)
Browse files Browse the repository at this point in the history
* Update browsersync serve task

* Suggestions on 404

* Autosuggest on 404

* Refactor Gulp

* refactoring

* Refactor

* Fix front-page

* Search on 404

* Refactor mappings

* More cleanup

* Add Git history

* Run this on feature_development as well

* Fix mappings touch

* Update logging

* File history on generate

* Add tooltip

* Add HTML proofer

* Move abstract methods

* Algolia search indexing

* Add key

* Test algolia feature_development

* Fix zero downtime push

* Caching

* Push

* Comment deployment on this branch

* Fixed broken image
  • Loading branch information
JelteMX authored Dec 14, 2016
1 parent 6d04b57 commit edad3a9
Show file tree
Hide file tree
Showing 29 changed files with 1,103 additions and 263 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ Gemfile.lock
_algolia_api_key_

_config_test.yml
_data/history.yml
17 changes: 15 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ env:
- CF_ORGANIZATION=mendix-rnd.com
- CF_SPACE=docs
- secure: "NdoI6WzRsU/OsGpyIjjzgrnc23IJWzSAkEhJQWEjkMim6g2NrhrSipcKVjpsGkOyJFlmhMcVcejTxuvCMkIxOPSZziDHvHyqVU752ZGPTd7dYUIET2k7W6xytA2Aos66R3DasUPParFdmvvUdFny5GFjIILB8s6P5n3d1BnUG+nWhNOf3s++eY2UITq+jZl8JjEq8hMUq4UKLaFcwKUoFYBdNe9CV5sHmRK54BOOP65UJCm10H8pS6ywA/7ZVoHJwaIUF1XVdypxfdMpciqIN4jq6VB7AYEN6a2Qep6fa1wYeitCJkLaWkSzArGSQWUNw39JQcODijE2y1H/QBq7DNwqHcQtwtIme+HDtVsPHLzv47GQ/NV+AjV20EmXIxWp2ZgrUdndUC0sP3rhnRSAE0L2YSUwzYUG1xIKry4bxafkpjQ2DcZ0JC/2bpMy3JTThot/Ek8eDX+1cKbkaTghMYqT5bpSlL0OqE1/F2dr/ZGVUjhqdlMWf992pmDAq7IUl3nERLAY1RZByb6yDUy8llxpv3NWGeAxoXZFdfJNdN08qSJb6d2j2U+Y1NMbXhDjcs6YT1Jbn/33ZEwzS6NmKvQc+oEwjgKLbZKNoUmo822X8lBhvvr+bpHItycUqQUZ+nx344wsp3ISkSedZjeE1Lia98ZY1ryXC+UpoI9lQQE="
- secure: "kYSZufIWTrCfGHk6QX3r7hdOpusvxnBncCRSs1E6yh8Bept9NX/zhUGwSR1k1aMhzeLzxZRWGMnwUK1y0v1gJrry0dicLZkcqnkNRPR8l8YFHhpAloQQDfToAq83RMQwgZUFgQNP+y7d82mzui14aY6Na9gUl0U8KU3hXGM4RaUWOLf5Ovil4FvKsdPzPHuHmnkHOrAeDvf9nZgp9HqsePFjs3vr8LVZCL/QucjXp+4AVMDs83gOVayJEfg8lBbT2R+9gDEmZOzKJaJosFZ30DL7PM1EsKK7SJap+FQGlow5l7Q2Vf2RYAuTLpxKh5pr38rtYayRmQI9oNRzTROaialR4JqvEa42PojpBM7MUQChjpvyEsDi2FoxzLTc+DVSD2NhoH/kh/gilKX8HyfRLHIpIVqA2n7NnWhSZgMqbgdWntbMNrjEtLWA3GgWPDZ+wNYTL552d3ZAuXciJJEEQcr2nbnAjF4j5fwZ+WLl0TfFle750Jje/mqQcY5KkT7OPvFm0lbFqFhBzdKJzIS2kv3wtm19+uX376a/kwbZ9/S7uuKiarblC3IMzDmMZxV47q5sG/JImWU7KBl2gqXl8PTMNESpJ7uxwNbsSY6MZgxrRBO+CCjWPcNkBjGFlOFNiJEuJeEtmsJCGEJKX02J/BV4PV5lxbi4NxDiq5t8K3Q="
install:
- rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm
&& git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm
Expand All @@ -30,16 +31,28 @@ before_deploy:
- cf install-plugin 'https://github.com/contraband/autopilot/releases/download/0.0.2/autopilot-linux' -f
script:
- gulp build
- rake test
cache: bundler
- gulp htmlproofer
cache:
directories:
vendor
node_modules
branches:
only:
- master
- development
- feature_development
deploy:
- provider: script
script: cf zero-downtime-push $CF_APP -f ./manifest_prod.yml
skip_cleanup: true
on:
branch:
- master
# - provider: script
# script: cf zero-downtime-push documentation -f ./manifest_accp.yml
# skip_cleanup: true
# on:
# branch:
# - feature_development
# after_deploy:
# - gulp algolia
6 changes: 4 additions & 2 deletions 404.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ title: Page Not Found
permalink: /404
---

The page you were looking for is not available at the current URL. Return to the [homepage](/)
<p class="text-center">The page you were looking for is not available at the current URL. Return to the <a href="https://docs.mendix.com">homepage</a></p>

Please contact the owner of the site that linked you to the original URL and let them know their link is broken.
<div class="not-found-suggestion hidden"></div>

<p class="text-center">Please contact the owner of the site that linked you to the original URL and let them know their link is broken.</p>
9 changes: 0 additions & 9 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,8 @@ gem 'jekyll-sitemap', '~> 0.10.0'

gem 'wdm', '>= 0.1.0' if Gem.win_platform?

gem 'html-proofer'

# Auto redirect pages
gem 'jekyll-redirect-from'

# For `rake watch`
gem 'rb-fsevent'

# highlighter
gem 'rouge'

group :jekyll_plugins do
gem 'algoliasearch-jekyll', '~> 0.8.0'
end
Loading

0 comments on commit edad3a9

Please sign in to comment.