From 4fae58b16bd838c61d77cbd040ab9473593cf2eb Mon Sep 17 00:00:00 2001 From: Chris Chapman Date: Wed, 9 Nov 2016 02:23:56 -0700 Subject: [PATCH] Consolidate specifications datasource. Fixes #52 --- .gitmodules | 2 +- Rules.rb | 1 + items/static/specifications | 1 + nanoc.yaml | 5 ----- specifications | 1 - 5 files changed, 3 insertions(+), 7 deletions(-) create mode 160000 items/static/specifications delete mode 160000 specifications diff --git a/.gitmodules b/.gitmodules index 087ef664..329d619c 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,5 +1,5 @@ [submodule "specifications"] - path = specifications + path = items/static/specifications url = git@github.com:pentandra/specifications.git [submodule "benefit-reports"] path = items/static/company/benefit-reports diff --git a/Rules.rb b/Rules.rb index 643251d4..52ecb1f0 100644 --- a/Rules.rb +++ b/Rules.rb @@ -4,6 +4,7 @@ ignore '/**/_*' ignore '/_*/**/*' ignore '/**/README.md' +ignore '/**/LICENSE' include_rules 'rules/javascripts' include_rules 'rules/stylesheets' diff --git a/items/static/specifications b/items/static/specifications new file mode 160000 index 00000000..a4c907c2 --- /dev/null +++ b/items/static/specifications @@ -0,0 +1 @@ +Subproject commit a4c907c2f28bbb74c28f5a2c9273e043b842f713 diff --git a/nanoc.yaml b/nanoc.yaml index 95f80013..419526d1 100644 --- a/nanoc.yaml +++ b/nanoc.yaml @@ -55,11 +55,6 @@ data_sources: - type: company company_metafile: 'etc/company.yaml' - - type: filesystem - items_root: /static/specifications - content_dir: specifications/playground - layouts_dir: specifications/layouts - # Config for Nanoc environments environments: diff --git a/specifications b/specifications deleted file mode 160000 index 43031bf9..00000000 --- a/specifications +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 43031bf9af775dcab982c286277c4e48ed66d095