From c307dd3040e8fb5e33739239c90ec249b5b1d809 Mon Sep 17 00:00:00 2001 From: Evan Morikawa Date: Thu, 1 Oct 2015 09:58:51 -0700 Subject: [PATCH] refactor(docs): move docs-templates into docs --- build/tasks/docs-task.coffee | 2 +- {docs-templates => docs/docs-templates}/_footer.html | 0 {docs-templates => docs/docs-templates}/_function.html | 0 {docs-templates => docs/docs-templates}/_header.html | 0 {docs-templates => docs/docs-templates}/_property.html | 0 {docs-templates => docs/docs-templates}/_sidebar.html | 0 {docs-templates => docs/docs-templates}/_sidebarSection.html | 0 {docs-templates => docs/docs-templates}/article.html | 0 {docs-templates => docs/docs-templates}/class.html | 0 9 files changed, 1 insertion(+), 1 deletion(-) rename {docs-templates => docs/docs-templates}/_footer.html (100%) rename {docs-templates => docs/docs-templates}/_function.html (100%) rename {docs-templates => docs/docs-templates}/_header.html (100%) rename {docs-templates => docs/docs-templates}/_property.html (100%) rename {docs-templates => docs/docs-templates}/_sidebar.html (100%) rename {docs-templates => docs/docs-templates}/_sidebarSection.html (100%) rename {docs-templates => docs/docs-templates}/article.html (100%) rename {docs-templates => docs/docs-templates}/class.html (100%) diff --git a/build/tasks/docs-task.coffee b/build/tasks/docs-task.coffee index 27ebb1d59..bff0e01e9 100644 --- a/build/tasks/docs-task.coffee +++ b/build/tasks/docs-task.coffee @@ -273,7 +273,7 @@ module.exports = (grunt) -> # Prepare to render by loading handlebars partials - templatesPath = path.resolve(__dirname, '..', '..', 'docs-templates') + templatesPath = path.resolve(__dirname, '..', '..', 'docs', 'docs-templates') grunt.file.recurse templatesPath, (abspath, root, subdir, filename) -> if filename[0] is '_' and path.extname(filename) is '.html' Handlebars.registerPartial(filename[0..-6], grunt.file.read(abspath)) diff --git a/docs-templates/_footer.html b/docs/docs-templates/_footer.html similarity index 100% rename from docs-templates/_footer.html rename to docs/docs-templates/_footer.html diff --git a/docs-templates/_function.html b/docs/docs-templates/_function.html similarity index 100% rename from docs-templates/_function.html rename to docs/docs-templates/_function.html diff --git a/docs-templates/_header.html b/docs/docs-templates/_header.html similarity index 100% rename from docs-templates/_header.html rename to docs/docs-templates/_header.html diff --git a/docs-templates/_property.html b/docs/docs-templates/_property.html similarity index 100% rename from docs-templates/_property.html rename to docs/docs-templates/_property.html diff --git a/docs-templates/_sidebar.html b/docs/docs-templates/_sidebar.html similarity index 100% rename from docs-templates/_sidebar.html rename to docs/docs-templates/_sidebar.html diff --git a/docs-templates/_sidebarSection.html b/docs/docs-templates/_sidebarSection.html similarity index 100% rename from docs-templates/_sidebarSection.html rename to docs/docs-templates/_sidebarSection.html diff --git a/docs-templates/article.html b/docs/docs-templates/article.html similarity index 100% rename from docs-templates/article.html rename to docs/docs-templates/article.html diff --git a/docs-templates/class.html b/docs/docs-templates/class.html similarity index 100% rename from docs-templates/class.html rename to docs/docs-templates/class.html