From e57cd0031d5325ff19d567092024b058dc467a21 Mon Sep 17 00:00:00 2001 From: Parker Moore Date: Thu, 31 Jul 2014 04:34:38 -0400 Subject: [PATCH] Use site.docs instead of site.pages. --- site/_config.yml | 4 ++++ site/{docs => _docs}/assets.md | 0 site/{docs => _docs}/collections.md | 0 site/{docs => _docs}/configuration.md | 0 site/{docs => _docs}/continuous-integration.md | 0 site/{docs => _docs}/contributing.md | 0 site/{docs => _docs}/datafiles.md | 0 site/{docs => _docs}/deployment-methods.md | 0 site/{docs => _docs}/drafts.md | 0 site/{docs => _docs}/extras.md | 0 site/{docs => _docs}/frontmatter.md | 0 site/{docs => _docs}/github-pages.md | 0 site/{docs => _docs}/history.md | 0 site/{docs => _docs}/index.md | 0 site/{docs => _docs}/installation.md | 0 site/{docs => _docs}/migrations.md | 0 site/{docs => _docs}/pages.md | 0 site/{docs => _docs}/pagination.md | 0 site/{docs => _docs}/permalinks.md | 0 site/{docs => _docs}/plugins.md | 0 site/{docs => _docs}/posts.md | 0 site/{docs => _docs}/quickstart.md | 0 site/{docs => _docs}/resources.md | 0 site/{docs => _docs}/sites.md | 0 site/{docs => _docs}/structure.md | 0 site/{docs => _docs}/templates.md | 0 site/{docs => _docs}/troubleshooting.md | 0 site/{docs => _docs}/upgrading.md | 0 site/{docs => _docs}/usage.md | 0 site/{docs => _docs}/variables.md | 0 site/{docs => _docs}/windows.md | 0 site/_includes/docs_option.html | 2 +- site/_includes/docs_ul.html | 2 +- 33 files changed, 6 insertions(+), 2 deletions(-) rename site/{docs => _docs}/assets.md (100%) rename site/{docs => _docs}/collections.md (100%) rename site/{docs => _docs}/configuration.md (100%) rename site/{docs => _docs}/continuous-integration.md (100%) rename site/{docs => _docs}/contributing.md (100%) rename site/{docs => _docs}/datafiles.md (100%) rename site/{docs => _docs}/deployment-methods.md (100%) rename site/{docs => _docs}/drafts.md (100%) rename site/{docs => _docs}/extras.md (100%) rename site/{docs => _docs}/frontmatter.md (100%) rename site/{docs => _docs}/github-pages.md (100%) rename site/{docs => _docs}/history.md (100%) rename site/{docs => _docs}/index.md (100%) rename site/{docs => _docs}/installation.md (100%) rename site/{docs => _docs}/migrations.md (100%) rename site/{docs => _docs}/pages.md (100%) rename site/{docs => _docs}/pagination.md (100%) rename site/{docs => _docs}/permalinks.md (100%) rename site/{docs => _docs}/plugins.md (100%) rename site/{docs => _docs}/posts.md (100%) rename site/{docs => _docs}/quickstart.md (100%) rename site/{docs => _docs}/resources.md (100%) rename site/{docs => _docs}/sites.md (100%) rename site/{docs => _docs}/structure.md (100%) rename site/{docs => _docs}/templates.md (100%) rename site/{docs => _docs}/troubleshooting.md (100%) rename site/{docs => _docs}/upgrading.md (100%) rename site/{docs => _docs}/usage.md (100%) rename site/{docs => _docs}/variables.md (100%) rename site/{docs => _docs}/windows.md (100%) diff --git a/site/_config.yml b/site/_config.yml index 44c2772e..3af1bfe6 100644 --- a/site/_config.yml +++ b/site/_config.yml @@ -7,3 +7,7 @@ excerpt_separator: noifniof3nioaniof3nioafafinoafnoif repository: https://github.com/jekyll/jekyll help_url: https://github.com/jekyll/jekyll-help google_analytics_id: UA-50755011-1 + +collections: + docs: + output: true diff --git a/site/docs/assets.md b/site/_docs/assets.md similarity index 100% rename from site/docs/assets.md rename to site/_docs/assets.md diff --git a/site/docs/collections.md b/site/_docs/collections.md similarity index 100% rename from site/docs/collections.md rename to site/_docs/collections.md diff --git a/site/docs/configuration.md b/site/_docs/configuration.md similarity index 100% rename from site/docs/configuration.md rename to site/_docs/configuration.md diff --git a/site/docs/continuous-integration.md b/site/_docs/continuous-integration.md similarity index 100% rename from site/docs/continuous-integration.md rename to site/_docs/continuous-integration.md diff --git a/site/docs/contributing.md b/site/_docs/contributing.md similarity index 100% rename from site/docs/contributing.md rename to site/_docs/contributing.md diff --git a/site/docs/datafiles.md b/site/_docs/datafiles.md similarity index 100% rename from site/docs/datafiles.md rename to site/_docs/datafiles.md diff --git a/site/docs/deployment-methods.md b/site/_docs/deployment-methods.md similarity index 100% rename from site/docs/deployment-methods.md rename to site/_docs/deployment-methods.md diff --git a/site/docs/drafts.md b/site/_docs/drafts.md similarity index 100% rename from site/docs/drafts.md rename to site/_docs/drafts.md diff --git a/site/docs/extras.md b/site/_docs/extras.md similarity index 100% rename from site/docs/extras.md rename to site/_docs/extras.md diff --git a/site/docs/frontmatter.md b/site/_docs/frontmatter.md similarity index 100% rename from site/docs/frontmatter.md rename to site/_docs/frontmatter.md diff --git a/site/docs/github-pages.md b/site/_docs/github-pages.md similarity index 100% rename from site/docs/github-pages.md rename to site/_docs/github-pages.md diff --git a/site/docs/history.md b/site/_docs/history.md similarity index 100% rename from site/docs/history.md rename to site/_docs/history.md diff --git a/site/docs/index.md b/site/_docs/index.md similarity index 100% rename from site/docs/index.md rename to site/_docs/index.md diff --git a/site/docs/installation.md b/site/_docs/installation.md similarity index 100% rename from site/docs/installation.md rename to site/_docs/installation.md diff --git a/site/docs/migrations.md b/site/_docs/migrations.md similarity index 100% rename from site/docs/migrations.md rename to site/_docs/migrations.md diff --git a/site/docs/pages.md b/site/_docs/pages.md similarity index 100% rename from site/docs/pages.md rename to site/_docs/pages.md diff --git a/site/docs/pagination.md b/site/_docs/pagination.md similarity index 100% rename from site/docs/pagination.md rename to site/_docs/pagination.md diff --git a/site/docs/permalinks.md b/site/_docs/permalinks.md similarity index 100% rename from site/docs/permalinks.md rename to site/_docs/permalinks.md diff --git a/site/docs/plugins.md b/site/_docs/plugins.md similarity index 100% rename from site/docs/plugins.md rename to site/_docs/plugins.md diff --git a/site/docs/posts.md b/site/_docs/posts.md similarity index 100% rename from site/docs/posts.md rename to site/_docs/posts.md diff --git a/site/docs/quickstart.md b/site/_docs/quickstart.md similarity index 100% rename from site/docs/quickstart.md rename to site/_docs/quickstart.md diff --git a/site/docs/resources.md b/site/_docs/resources.md similarity index 100% rename from site/docs/resources.md rename to site/_docs/resources.md diff --git a/site/docs/sites.md b/site/_docs/sites.md similarity index 100% rename from site/docs/sites.md rename to site/_docs/sites.md diff --git a/site/docs/structure.md b/site/_docs/structure.md similarity index 100% rename from site/docs/structure.md rename to site/_docs/structure.md diff --git a/site/docs/templates.md b/site/_docs/templates.md similarity index 100% rename from site/docs/templates.md rename to site/_docs/templates.md diff --git a/site/docs/troubleshooting.md b/site/_docs/troubleshooting.md similarity index 100% rename from site/docs/troubleshooting.md rename to site/_docs/troubleshooting.md diff --git a/site/docs/upgrading.md b/site/_docs/upgrading.md similarity index 100% rename from site/docs/upgrading.md rename to site/_docs/upgrading.md diff --git a/site/docs/usage.md b/site/_docs/usage.md similarity index 100% rename from site/docs/usage.md rename to site/_docs/usage.md diff --git a/site/docs/variables.md b/site/_docs/variables.md similarity index 100% rename from site/docs/variables.md rename to site/_docs/variables.md diff --git a/site/docs/windows.md b/site/_docs/windows.md similarity index 100% rename from site/docs/windows.md rename to site/_docs/windows.md diff --git a/site/_includes/docs_option.html b/site/_includes/docs_option.html index 57b76e2d..c2593971 100644 --- a/site/_includes/docs_option.html +++ b/site/_includes/docs_option.html @@ -3,7 +3,7 @@ {% for item in items %} {% assign item_url = item | prepend:"/docs/" | append:"/" %} - {% for p in site.pages %} + {% for p in site.docs %} {% if p.url == item_url %} {% endif %} diff --git a/site/_includes/docs_ul.html b/site/_includes/docs_ul.html index b778df17..366abe9d 100644 --- a/site/_includes/docs_ul.html +++ b/site/_includes/docs_ul.html @@ -10,7 +10,7 @@ {% assign c = "" %} {% endif %} - {% for p in site.pages %} + {% for p in site.docs %} {% if p.url == item_url %}
  • {{ p.title }}
  • {% endif %}