diff --git a/build/package.json b/build/package.json index 9363921a8..bfc56628b 100644 --- a/build/package.json +++ b/build/package.json @@ -30,7 +30,7 @@ "grunt-shell": "~0.3.1", "handlebars": "^3.0.2", "harmony-collections": "~0.3.8", - "highlight.js": "^8.5.0", + "highlight.js": "^8.8.0", "json-front-matter": "^1.0.0", "legal-eagle": "~0.9.0", "meta-marked": "^0.3.3", diff --git a/build/tasks/docs-render-task.coffee b/build/tasks/docs-render-task.coffee index fcde78212..29cee9bb7 100644 --- a/build/tasks/docs-render-task.coffee +++ b/build/tasks/docs-render-task.coffee @@ -133,15 +133,8 @@ module.exports = (grunt) -> sidebar.sections.push name: 'Sample Code' - items: [{ - name: 'Composer Translation' - link: 'https://github.com/nylas/edgehill-plugins/tree/master/translate' - external: true - },{ - name: 'Github Sidebar' - link: 'https://github.com/nylas/edgehill-plugins/tree/master/sidebar-github-profile' - external: true - }] + link: 'https://nylas.github.io/N1/examples' + external: true referenceSections = {} for klass in classes @@ -223,7 +216,7 @@ module.exports = (grunt) -> # Render sidebar json grunt.file.write(outputPathFor('sidebar.json'), JSON.stringify(sidebar, null, 2)) - + # Render Class Pages classTemplatePath = path.join(templatesPath, 'class.html') diff --git a/docs/templates/_sidebar.html b/docs/templates/_sidebar.html deleted file mode 100644 index 7ff56fb26..000000000 --- a/docs/templates/_sidebar.html +++ /dev/null @@ -1,4 +0,0 @@ -aside -{{#each sidebar.sections}} - {{>_sidebarSection}} -{{/each}} diff --git a/docs/templates/_sidebarSection.html b/docs/templates/_sidebarSection.html deleted file mode 100644 index a129901fb..000000000 --- a/docs/templates/_sidebarSection.html +++ /dev/null @@ -1,10 +0,0 @@ -