From c04307d91afd47838bed30b6eca16b33285bacef Mon Sep 17 00:00:00 2001 From: Tim Lancina Date: Tue, 15 Sep 2015 13:37:48 -0500 Subject: [PATCH] chore(docs): update paths for doc menu refactor --- scripts/docs/processors/jekyll.js | 6 +++--- scripts/docs/templates/api_menu.template.html | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/docs/processors/jekyll.js b/scripts/docs/processors/jekyll.js index 502859b19c..04f5093ac0 100644 --- a/scripts/docs/processors/jekyll.js +++ b/scripts/docs/processors/jekyll.js @@ -11,20 +11,20 @@ module.exports = function jekyll(renderDocsProcessor){ docType: 'api-menu', id: 'api-menu', template: 'api_menu.template.html', - outputPath: '_includes/v2_api_menu.html' + outputPath: '_includes/v2/api_menu.html' }); //TODO autogenerate this docs.push({ docType: 'api-menu-version', id: 'api-menu-version', template: 'api_menu_version.template.html', - outputPath: '_includes/v2_api_menu_' + currentVersion + '.html' + outputPath: '_includes/v2/api_menu_' + currentVersion + '.html' }); docs.push({ docType: 'api-version-select', id: 'api-version-select', template: 'api_version_select.template.html', - outputPath: '_includes/v2_api_version_select.html' + outputPath: '_includes/v2/api_version_select.html' }); } } diff --git a/scripts/docs/templates/api_menu.template.html b/scripts/docs/templates/api_menu.template.html index e0f1471405..75452d3d2f 100644 --- a/scripts/docs/templates/api_menu.template.html +++ b/scripts/docs/templates/api_menu.template.html @@ -5,10 +5,10 @@ <@ else @> {% elsif page.versionHref == "<$ ver.href $>" %} <@ endif @> - {% include v2_api_menu_<$ ver.name $>.html %} + {% include v2/api_menu_<$ ver.name $>.html %} <@ endif @> <@ endfor @> <# make the last case always be to show latest version #> {% else %} - {% include v2_api_menu_<$ version.latest.name $>.html %} + {% include v2/api_menu_<$ version.latest.name $>.html %} {% endif %}