From d61d4272ce27b2a39fb38fe915c3dffde30f1a04 Mon Sep 17 00:00:00 2001 From: Geoffrey Booth Date: Sun, 11 Dec 2016 00:13:44 -0800 Subject: [PATCH 1/4] Watch subtemplates --- Cakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cakefile b/Cakefile index 1e3633dc..2ff6bb5e 100644 --- a/Cakefile +++ b/Cakefile @@ -223,7 +223,7 @@ task 'doc:site', 'watch and continually rebuild the documentation for the websit fs.symlinkSync "v#{majorVersion}/index.html", 'docs/index.html' catch exception - for target in [indexFile, examplesSourceFolder, sectionsSourceFolder] + for target in [indexFile, versionedSourceFolder, examplesSourceFolder, sectionsSourceFolder] fs.watch target, interval: 200, renderIndex log 'watching...' , green From ece610d6821fb2c4e7b49552c4b9321bf6b1d3bd Mon Sep 17 00:00:00 2001 From: Geoffrey Booth Date: Sun, 11 Dec 2016 00:18:46 -0800 Subject: [PATCH 2/4] Revert "Split body into nav and body" This reverts commit ec9e559ec0c3f350bd009afd437652347789b180. --- docs/v1/index.html | 2 +- documentation/index.html | 1 - documentation/v1/body.html | 82 ++++++++++++++++++++++++++++++++++++++ documentation/v1/nav.html | 81 ------------------------------------- 4 files changed, 83 insertions(+), 83 deletions(-) delete mode 100644 documentation/v1/nav.html diff --git a/docs/v1/index.html b/docs/v1/index.html index afdf6d2f..78418b7e 100644 --- a/docs/v1/index.html +++ b/docs/v1/index.html @@ -516,6 +516,7 @@ pre .xml .cdata { +
@@ -604,7 +605,6 @@ pre .xml .cdata {
-
diff --git a/documentation/index.html b/documentation/index.html index 77e20e38..03fb9572 100644 --- a/documentation/index.html +++ b/documentation/index.html @@ -16,7 +16,6 @@ <%= include('styles.html') %> -<%= include('nav.html') %> <%= include('body.html') %> diff --git a/documentation/v1/body.html b/documentation/v1/body.html index 1f3751d6..f9a711b6 100644 --- a/documentation/v1/body.html +++ b/documentation/v1/body.html @@ -1,3 +1,85 @@ +
+ + +
<%= htmlFor('introduction', 'top') %> <%= htmlFor('overview') %> diff --git a/documentation/v1/nav.html b/documentation/v1/nav.html deleted file mode 100644 index 2580c04d..00000000 --- a/documentation/v1/nav.html +++ /dev/null @@ -1,81 +0,0 @@ -
- - From 9c9058ebb4f9ec70c239bd38b8db19d01e4a6f2d Mon Sep 17 00:00:00 2001 From: Geoffrey Booth Date: Sun, 11 Dec 2016 01:06:11 -0800 Subject: [PATCH 3/4] Add marked --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index bf5ab1b1..cfab9880 100644 --- a/package.json +++ b/package.json @@ -43,6 +43,7 @@ "google-closure-compiler-js": "^20161024.0.0", "highlight.js": "~9.8.0", "jison": ">=0.4.17", + "marked": "^0.3.6", "underscore": "~1.8.3" } } From b2bf505e4ce5f5a224181a12c8179aac480e2cd0 Mon Sep 17 00:00:00 2001 From: Geoffrey Booth Date: Sun, 11 Dec 2016 01:06:21 -0800 Subject: [PATCH 4/4] Update gitignore --- .gitignore | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 4ed75b7f..3749e736 100644 --- a/.gitignore +++ b/.gitignore @@ -3,8 +3,6 @@ presentation test.coffee test.litcoffee parser.output -test/fixtures/underscore test/*.js -examples/beautiful_code/parse.coffee -*.gem /node_modules +npm-debug.log