diff --git a/.projections.json b/.projections.json index 8f4e07373..c44f7cda2 100644 --- a/.projections.json +++ b/.projections.json @@ -4,6 +4,7 @@ "template": [ "---", "title: {basename|capitalize}", + "category: Ruby", "---" ] } diff --git a/rails-controllers.md b/rails-controllers.md index bd579c31e..da0dde39d 100644 --- a/rails-controllers.md +++ b/rails-controllers.md @@ -1,6 +1,7 @@ --- title: Rails Controllers layout: default +category: Ruby --- ### Common stuff diff --git a/rails-features.md b/rails-features.md index bdab38233..7e6bee4cc 100644 --- a/rails-features.md +++ b/rails-features.md @@ -1,6 +1,6 @@ --- title: Rails features -layout: default +category: Ruby --- ### [Page caching](https://github.com/rails/actionpack-page_caching) diff --git a/rails-forms.md b/rails-forms.md index 5809673f9..ee458c915 100644 --- a/rails-forms.md +++ b/rails-forms.md @@ -1,7 +1,7 @@ --- title: Rails form helpers -layout: default hljs_languages: [haml] +category: Ruby --- ## Form builder diff --git a/rails-gems.md b/rails-gems.md index ea914c746..057579e89 100644 --- a/rails-gems.md +++ b/rails-gems.md @@ -1,6 +1,6 @@ --- title: Rails gems -layout: default +category: Ruby --- ### Rico's preferred rails gems @@ -22,5 +22,3 @@ Prod: gem 'bourbon' gem 'neat' gem 'turbolinks' - gem 'nkss_rails' - gem 'jquery-turbolinks' diff --git a/rails-helpers.md b/rails-helpers.md index da036a9b0..5ecf10c1b 100644 --- a/rails-helpers.md +++ b/rails-helpers.md @@ -1,6 +1,6 @@ --- title: Rails helpers -layout: default +category: Ruby --- ### Date diff --git a/rails-i18n.md b/rails-i18n.md index 112f72e6c..530435305 100644 --- a/rails-i18n.md +++ b/rails-i18n.md @@ -1,6 +1,6 @@ --- title: Rails i18n -layout: default +category: Ruby --- ```rb diff --git a/rails-migrations.md b/rails-migrations.md index 9d49f7f59..ea561433f 100644 --- a/rails-migrations.md +++ b/rails-migrations.md @@ -1,6 +1,6 @@ --- title: Rails migrations -layout: default +category: Ruby --- ### Automatically make migrations diff --git a/rails-models.md b/rails-models.md index e00bb3dac..7da4d8737 100644 --- a/rails-models.md +++ b/rails-models.md @@ -1,6 +1,6 @@ --- title: Rails Models -layout: default +category: Ruby --- ### [Query methods](http://devdocs.io/rails/activerecord/querymethods#method-i-order) diff --git a/rails-plugins.md b/rails-plugins.md index 8b68f94b0..f5bd49ebf 100644 --- a/rails-plugins.md +++ b/rails-plugins.md @@ -1,6 +1,6 @@ --- title: Rails plugins -layout: default +category: Ruby --- Generate a plugin diff --git a/rails-routes.md b/rails-routes.md index ab1fa636e..da3d59d07 100644 --- a/rails-routes.md +++ b/rails-routes.md @@ -1,6 +1,6 @@ --- title: Rails routes -layout: default +category: Ruby --- ### Multiple resources diff --git a/rails-tricks.md b/rails-tricks.md index 5184ef7df..d0bc4dfc7 100644 --- a/rails-tricks.md +++ b/rails-tricks.md @@ -1,6 +1,6 @@ --- title: Rails tricks -layout: default +category: Ruby --- in config/environments/development.rb: diff --git a/rails.md b/rails.md index 49c696767..3b8912c92 100644 --- a/rails.md +++ b/rails.md @@ -1,6 +1,6 @@ --- title: Rails -layout: default +category: Ruby --- Helpers diff --git a/rake.md b/rake.md index 59f69bcb4..7d9ca14ab 100644 --- a/rake.md +++ b/rake.md @@ -1,6 +1,6 @@ --- title: Rake -layout: default +category: Ruby --- ### Basic syntax diff --git a/rdoc.md b/rdoc.md index eeaeaea03..deb09bff7 100644 --- a/rdoc.md +++ b/rdoc.md @@ -1,6 +1,6 @@ --- title: Rdoc -layout: default +category: Ruby --- ### Basic RDoc format diff --git a/react-router.md b/react-router.md index 7fa23640a..03cd91d56 100644 --- a/react-router.md +++ b/react-router.md @@ -1,5 +1,6 @@ --- title: React-router +category: JavaScript --- ### Basic diff --git a/react.md b/react.md index d465a1c60..d39c2f18b 100644 --- a/react.md +++ b/react.md @@ -1,5 +1,6 @@ --- title: React.js +category: JavaScript --- {%raw%} diff --git a/redux.md b/redux.md index 2b6f1225c..625bfc002 100644 --- a/redux.md +++ b/redux.md @@ -1,5 +1,6 @@ --- title: Redux +category: JavaScript --- ### Stores diff --git a/regexp.md b/regexp.md index 155fa3632..e192a4af7 100644 --- a/regexp.md +++ b/regexp.md @@ -1,6 +1,5 @@ --- title: Regexp -layout: default --- (?P...)