Skip to content

Commit

Permalink
Merge pull request jekyll#5744 from DirtyF/pull/docs-use-defaults
Browse files Browse the repository at this point in the history
Merge pull request 5744
  • Loading branch information
jekyllbot authored Jan 11, 2017
2 parents 07d161c + 74e6ef8 commit 9b71cf7
Show file tree
Hide file tree
Showing 101 changed files with 16 additions and 102 deletions.
1 change: 0 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ def siteify_file(file, overrides_front_matter = {})
slug = File.basename(file, ".markdown").downcase
front_matter = {
"title" => title,
"layout" => "docs",
"permalink" => "/docs/#{slug}/",
"note" => "This file is autogenerated. Edit /#{file} instead."
}.merge(overrides_front_matter)
Expand Down
15 changes: 15 additions & 0 deletions docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,21 @@ help_url: https://github.com/jekyll/jekyll-help

timezone: America/Los_Angeles

defaults:
-
scope:
path: "_docs"
type: "docs"
values:
layout: "docs"
-
scope:
path: "_posts"
type: "posts"
values:
layout: "news_item"


collections:
docs:
permalink: /:collection/:path/
Expand Down
1 change: 0 additions & 1 deletion docs/_docs/assets.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: docs
title: Assets
permalink: /docs/assets/
---
Expand Down
1 change: 0 additions & 1 deletion docs/_docs/collections.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: docs
title: Collections
permalink: /docs/collections/
---
Expand Down
1 change: 0 additions & 1 deletion docs/_docs/conduct.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
title: Code of Conduct
layout: docs
permalink: "/docs/conduct/"
note: This file is autogenerated. Edit /CONDUCT.markdown instead.
redirect_from: "/conduct/index.html"
Expand Down
1 change: 0 additions & 1 deletion docs/_docs/configuration.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: docs
title: Configuration
permalink: /docs/configuration/
---
Expand Down
1 change: 0 additions & 1 deletion docs/_docs/continuous-integration.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: docs
title: Continuous Integration
permalink: /docs/continuous-integration/
---
Expand Down
1 change: 0 additions & 1 deletion docs/_docs/contributing.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
title: Contributing
layout: docs
permalink: "/docs/contributing/"
note: This file is autogenerated. Edit /.github/CONTRIBUTING.markdown instead.
---
Expand Down
1 change: 0 additions & 1 deletion docs/_docs/datafiles.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: docs
title: Data Files
permalink: /docs/datafiles/
---
Expand Down
1 change: 0 additions & 1 deletion docs/_docs/deployment-methods.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: docs
title: Deployment methods
permalink: /docs/deployment-methods/
---
Expand Down
1 change: 0 additions & 1 deletion docs/_docs/drafts.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: docs
title: Working with drafts
permalink: /docs/drafts/
---
Expand Down
1 change: 0 additions & 1 deletion docs/_docs/extras.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: docs
title: Extras
permalink: /docs/extras/
---
Expand Down
1 change: 0 additions & 1 deletion docs/_docs/frontmatter.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: docs
title: Front Matter
permalink: /docs/frontmatter/
---
Expand Down
1 change: 0 additions & 1 deletion docs/_docs/github-pages.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: docs
title: GitHub Pages
permalink: /docs/github-pages/
---
Expand Down
1 change: 0 additions & 1 deletion docs/_docs/history.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
title: History
layout: docs
permalink: "/docs/history/"
note: This file is autogenerated. Edit /History.markdown instead.
---
Expand Down
1 change: 0 additions & 1 deletion docs/_docs/includes.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: docs
title: Includes
permalink: /docs/includes/
---
Expand Down
1 change: 0 additions & 1 deletion docs/_docs/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: docs
title: Welcome
permalink: /docs/home/
redirect_from: /docs/index.html
Expand Down
1 change: 0 additions & 1 deletion docs/_docs/installation.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: docs
title: Installation
permalink: /docs/installation/
---
Expand Down
1 change: 0 additions & 1 deletion docs/_docs/maintaining/affinity-team-captain.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
title: Affinity Team Captains
layout: docs
---

**This guide is for affinity team captains.** These special people are **team maintainers** of one of our [affinity teams][] and help triage and evaluate the issues and contributions of others. You may find what is written here interesting, but it’s definitely not for everyone.
Expand Down
1 change: 0 additions & 1 deletion docs/_docs/maintaining/avoiding-burnout.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
title: "Avoiding Burnout"
layout: docs
---

**This guide is for maintainers.** These special people have **write access** to one or more of Jekyll's repositories and help merge the contributions of others. You may find what is written here interesting, but it’s definitely not for everyone.
Expand Down
1 change: 0 additions & 1 deletion docs/_docs/maintaining/becoming-a-maintainer.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
title: "Becoming a Maintainer"
layout: docs
---

**This guide is for contributors.** These special people have contributed to one or more of Jekyll's repositories, but do not yet have write access to any. You may find what is written here interesting, but it’s definitely not for everyone.
Expand Down
1 change: 0 additions & 1 deletion docs/_docs/maintaining/index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: docs
title: Maintaining Jekyll
permalink: /docs/maintaining/
---
Expand Down
1 change: 0 additions & 1 deletion docs/_docs/maintaining/merging-a-pull-request.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
title: "Merging a Pull Request"
layout: docs
---

**This guide is for maintainers.** These special people have **write access** to one or more of Jekyll's repositories and help merge the contributions of others. You may find what is written here interesting, but it’s definitely not for everyone.
Expand Down
1 change: 0 additions & 1 deletion docs/_docs/maintaining/reviewing-a-pull-request.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
title: "Reviewing a Pull Request"
layout: docs
---

**This guide is for maintainers.** These special people have **write access** to one or more of Jekyll's repositories and help merge the contributions of others. You may find what is written here interesting, but it’s definitely not for everyone.
Expand Down
1 change: 0 additions & 1 deletion docs/_docs/maintaining/special-labels.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
title: "Special Labels"
layout: docs
---

**This guide is for maintainers.** These special people have **write access** to one or more of Jekyll's repositories and help merge the contributions of others. You may find what is written here interesting, but it’s definitely not for everyone.
Expand Down
1 change: 0 additions & 1 deletion docs/_docs/maintaining/triaging-an-issue.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
title: "Triaging an Issue"
layout: docs
---

**This guide is for maintainers.** These special people have **write access** to one or more of Jekyll's repositories and help merge the contributions of others. You may find what is written here interesting, but it’s definitely not for everyone.
Expand Down
1 change: 0 additions & 1 deletion docs/_docs/migrations.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: docs
title: Blog migrations
permalink: /docs/migrations/
---
Expand Down
1 change: 0 additions & 1 deletion docs/_docs/pages.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: docs
title: Creating pages
permalink: /docs/pages/
---
Expand Down
1 change: 0 additions & 1 deletion docs/_docs/pagination.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: docs
title: Pagination
permalink: /docs/pagination/
---
Expand Down
1 change: 0 additions & 1 deletion docs/_docs/permalinks.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: docs
title: Permalinks
permalink: /docs/permalinks/
---
Expand Down
1 change: 0 additions & 1 deletion docs/_docs/plugins.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: docs
title: Plugins
permalink: /docs/plugins/
---
Expand Down
1 change: 0 additions & 1 deletion docs/_docs/posts.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: docs
title: Writing posts
permalink: /docs/posts/
---
Expand Down
1 change: 0 additions & 1 deletion docs/_docs/quickstart.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: docs
title: Quick-start guide
permalink: /docs/quickstart/
---
Expand Down
1 change: 0 additions & 1 deletion docs/_docs/resources.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: docs
title: Resources
permalink: /docs/resources/
---
Expand Down
1 change: 0 additions & 1 deletion docs/_docs/sites.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: docs
title: Sites using Jekyll
permalink: /docs/sites/
---
Expand Down
1 change: 0 additions & 1 deletion docs/_docs/static_files.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: docs
title: Static Files
permalink: /docs/static-files/
---
Expand Down
1 change: 0 additions & 1 deletion docs/_docs/structure.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: docs
title: Directory structure
permalink: /docs/structure/
---
Expand Down
1 change: 0 additions & 1 deletion docs/_docs/templates.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: docs
title: Templates
permalink: /docs/templates/
---
Expand Down
1 change: 0 additions & 1 deletion docs/_docs/themes.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: docs
title: Themes
permalink: /docs/themes/
---
Expand Down
1 change: 0 additions & 1 deletion docs/_docs/troubleshooting.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: docs
title: Troubleshooting
permalink: /docs/troubleshooting/
---
Expand Down
1 change: 0 additions & 1 deletion docs/_docs/upgrading/0-to-2.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: docs
title: Upgrading from 0.x to 2.x
permalink: /docs/upgrading/0-to-2/
---
Expand Down
1 change: 0 additions & 1 deletion docs/_docs/upgrading/2-to-3.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: docs
title: Upgrading from 2.x to 3.x
permalink: /docs/upgrading/2-to-3/
---
Expand Down
1 change: 0 additions & 1 deletion docs/_docs/usage.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: docs
title: Basic Usage
permalink: /docs/usage/
---
Expand Down
1 change: 0 additions & 1 deletion docs/_docs/variables.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: docs
title: Variables
permalink: /docs/variables/
---
Expand Down
1 change: 0 additions & 1 deletion docs/_docs/windows.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: docs
title: Jekyll on Windows
permalink: /docs/windows/
---
Expand Down
1 change: 0 additions & 1 deletion docs/_posts/2013-05-06-jekyll-1-0-0-released.markdown
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: news_item
title: "Jekyll 1.0.0 Released"
date: "2013-05-06 02:12:52 +0200"
author: parkr
Expand Down
1 change: 0 additions & 1 deletion docs/_posts/2013-05-08-jekyll-1-0-1-released.markdown
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: news_item
title: "Jekyll 1.0.1 Released"
date: "2013-05-08 23:46:11 +0200"
author: parkr
Expand Down
1 change: 0 additions & 1 deletion docs/_posts/2013-05-12-jekyll-1-0-2-released.markdown
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: news_item
title: "Jekyll 1.0.2 Released"
date: "2013-05-12 14:45:00 +0200"
author: parkr
Expand Down
1 change: 0 additions & 1 deletion docs/_posts/2013-06-07-jekyll-1-0-3-released.markdown
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: news_item
title: "Jekyll 1.0.3 Released"
date: "2013-06-07 21:02:13 +0200"
author: parkr
Expand Down
1 change: 0 additions & 1 deletion docs/_posts/2013-07-14-jekyll-1-1-0-released.markdown
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: news_item
title: "Jekyll 1.1.0 Released"
date: "2013-07-14 19:38:02 +0200"
author: parkr
Expand Down
1 change: 0 additions & 1 deletion docs/_posts/2013-07-24-jekyll-1-1-1-released.markdown
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: news_item
title: "Jekyll 1.1.1 Released"
date: "2013-07-24 22:24:14 +0200"
author: parkr
Expand Down
1 change: 0 additions & 1 deletion docs/_posts/2013-07-25-jekyll-1-0-4-released.markdown
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: news_item
title: "Jekyll 1.0.4 Released"
date: "2013-07-25 09:08:38 +0200"
author: mattr-
Expand Down
1 change: 0 additions & 1 deletion docs/_posts/2013-07-25-jekyll-1-1-2-released.markdown
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: news_item
title: "Jekyll 1.1.2 Released"
date: "2013-07-25 09:08:38 +0200"
author: parkr
Expand Down
1 change: 0 additions & 1 deletion docs/_posts/2013-09-06-jekyll-1-2-0-released.markdown
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: news_item
title: "Jekyll 1.2.0 Released"
date: "2013-09-06 22:02:41 -0400"
author: parkr
Expand Down
1 change: 0 additions & 1 deletion docs/_posts/2013-09-14-jekyll-1-2-1-released.markdown
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: news_item
title: 'Jekyll 1.2.1 Released'
date: 2013-09-14 20:46:50 -0400
author: parkr
Expand Down
1 change: 0 additions & 1 deletion docs/_posts/2013-10-28-jekyll-1-3-0-rc1-released.markdown
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: news_item
title: 'Jekyll 1.3.0.rc1 Released'
date: 2013-10-28 20:14:39 -0500
author: mattr-
Expand Down
1 change: 0 additions & 1 deletion docs/_posts/2013-11-04-jekyll-1-3-0-released.markdown
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: news_item
title: 'Jekyll 1.3.0 Released'
date: 2013-11-04 21:46:02 -0600
author: mattr-
Expand Down
1 change: 0 additions & 1 deletion docs/_posts/2013-11-26-jekyll-1-3-1-released.markdown
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: news_item
title: 'Jekyll 1.3.1 Released'
date: 2013-11-26 19:52:20 -0600
author: mattr-
Expand Down
1 change: 0 additions & 1 deletion docs/_posts/2013-12-07-jekyll-1-4-0-released.markdown
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: news_item
title: 'Jekyll 1.4.0 Released'
date: 2013-12-07 13:55:28 -0600
author: mattr-
Expand Down
1 change: 0 additions & 1 deletion docs/_posts/2013-12-09-jekyll-1-4-1-released.markdown
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: news_item
title: 'Jekyll 1.4.1 Released'
date: 2013-12-09 20:44:13 -0600
author: mattr-
Expand Down
1 change: 0 additions & 1 deletion docs/_posts/2013-12-16-jekyll-1-4-2-released.markdown
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: news_item
title: 'Jekyll 1.4.2 Released'
date: 2013-12-16 19:48:13 -0500
author: parkr
Expand Down
1 change: 0 additions & 1 deletion docs/_posts/2014-01-13-jekyll-1-4-3-released.markdown
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: news_item
title: 'Jekyll 1.4.3 Released'
date: 2014-01-13 17:43:32 -0800
author: benbalter
Expand Down
Loading

0 comments on commit 9b71cf7

Please sign in to comment.