diff --git a/.gitignore b/.gitignore index 15c484e4c39..fc68eb07c10 100644 --- a/.gitignore +++ b/.gitignore @@ -10,10 +10,8 @@ *.logrt /build -/docs/en_single_page/ -/docs/ru_single_page/ -/docs/venv/ -/docs/build/ +/docs/build +/docs/tools/venv/ /docs/en/development/build/ /docs/ru/development/build/ diff --git a/docs/build.sh b/docs/build.sh deleted file mode 100755 index e19499aedab..00000000000 --- a/docs/build.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/bash -set -e - -if [ $# -lt 1 ]; then - LANGS="ru en" -elif [[ $# -eq 1 ]]; then - LANGS=$1 -fi - -for lang in $LANGS; do - echo -e "\n\nLANG=$lang. Creating single page source" - mkdir $lang'_single_page' 2>/dev/null || true - cp -r $lang/images $lang'_single_page' - ./concatenate.py $lang - echo -e "\n\nLANG=$lang. Building multipage..." - mkdocs build -f mkdocs_$lang.yml - echo -e "\n\nLANG=$lang. Building single page..." - mkdocs build -f mkdocs_$lang'_single_page.yml' -done diff --git a/docs/mkdocs_en.yml b/docs/mkdocs_en.yml index 6714035db8b..a9fb556e930 100644 --- a/docs/mkdocs_en.yml +++ b/docs/mkdocs_en.yml @@ -19,7 +19,7 @@ markdown_extensions: theme: name: null - custom_dir: 'mkdocs-material-theme' + custom_dir: 'tools/mkdocs-material-theme' language: 'en' feature: tabs: false diff --git a/docs/mkdocs_en_single_page.yml b/docs/mkdocs_en_single_page.yml index 7173e4353ec..0749a977cc6 100644 --- a/docs/mkdocs_en_single_page.yml +++ b/docs/mkdocs_en_single_page.yml @@ -17,7 +17,7 @@ markdown_extensions: theme: name: null - custom_dir: 'mkdocs-material-theme' + custom_dir: 'tools/mkdocs-material-theme' language: 'en' feature: tabs: false diff --git a/docs/mkdocs_ru.yml b/docs/mkdocs_ru.yml index 2b3e7310948..93d2c0b4a36 100644 --- a/docs/mkdocs_ru.yml +++ b/docs/mkdocs_ru.yml @@ -18,7 +18,7 @@ markdown_extensions: theme: name: null - custom_dir: 'mkdocs-material-theme' + custom_dir: 'tools/mkdocs-material-theme' language: 'ru' feature: tabs: false diff --git a/docs/mkdocs_ru_single_page.yml b/docs/mkdocs_ru_single_page.yml index 9b314177b60..0327c5329bf 100644 --- a/docs/mkdocs_ru_single_page.yml +++ b/docs/mkdocs_ru_single_page.yml @@ -17,7 +17,7 @@ markdown_extensions: theme: name: null - custom_dir: 'mkdocs-material-theme' + custom_dir: 'tools/mkdocs-material-theme' language: 'ru' feature: tabs: false diff --git a/docs/tools/build.sh b/docs/tools/build.sh new file mode 100755 index 00000000000..d10decdd620 --- /dev/null +++ b/docs/tools/build.sh @@ -0,0 +1,22 @@ +#!/bin/bash +set -e +BASE_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" > /dev/null && pwd)" +DOCS_DIR="${BASE_DIR}/.." +if [ $# -lt 1 ]; then + LANGS="ru en" +elif [[ $# -eq 1 ]]; then + LANGS=$1 +fi + +for lang in $LANGS; do + cd ${DOCS_DIR} + echo -e "\n\nLANG=$lang. Creating single page source" + mkdir $lang'_single_page' 2>/dev/null || true + cp -r $lang/images $lang'_single_page' + ./tools/concatenate.py $lang + echo -e "\n\nLANG=$lang. Building multipage..." + mkdocs build -f mkdocs_$lang.yml + echo -e "\n\nLANG=$lang. Building single page..." + mkdocs build -f mkdocs_$lang'_single_page.yml' + rm -rf $lang'_single_page' +done diff --git a/docs/concatenate.py b/docs/tools/concatenate.py similarity index 100% rename from docs/concatenate.py rename to docs/tools/concatenate.py diff --git a/docs/create_contents.py b/docs/tools/create_contents.py similarity index 100% rename from docs/create_contents.py rename to docs/tools/create_contents.py diff --git a/docs/mkdocs-material-theme/404.html b/docs/tools/mkdocs-material-theme/404.html similarity index 100% rename from docs/mkdocs-material-theme/404.html rename to docs/tools/mkdocs-material-theme/404.html diff --git a/docs/mkdocs-material-theme/__init__.py b/docs/tools/mkdocs-material-theme/__init__.py similarity index 100% rename from docs/mkdocs-material-theme/__init__.py rename to docs/tools/mkdocs-material-theme/__init__.py diff --git a/docs/mkdocs-material-theme/assets/images/favicon.ico b/docs/tools/mkdocs-material-theme/assets/images/favicon.ico similarity index 100% rename from docs/mkdocs-material-theme/assets/images/favicon.ico rename to docs/tools/mkdocs-material-theme/assets/images/favicon.ico diff --git a/docs/mkdocs-material-theme/assets/images/icons/bitbucket.4ebea66e.svg b/docs/tools/mkdocs-material-theme/assets/images/icons/bitbucket.4ebea66e.svg similarity index 100% rename from docs/mkdocs-material-theme/assets/images/icons/bitbucket.4ebea66e.svg rename to docs/tools/mkdocs-material-theme/assets/images/icons/bitbucket.4ebea66e.svg diff --git a/docs/mkdocs-material-theme/assets/images/icons/github.a4034fb1.svg b/docs/tools/mkdocs-material-theme/assets/images/icons/github.a4034fb1.svg similarity index 100% rename from docs/mkdocs-material-theme/assets/images/icons/github.a4034fb1.svg rename to docs/tools/mkdocs-material-theme/assets/images/icons/github.a4034fb1.svg diff --git a/docs/mkdocs-material-theme/assets/images/icons/gitlab.d80e5efc.svg b/docs/tools/mkdocs-material-theme/assets/images/icons/gitlab.d80e5efc.svg similarity index 100% rename from docs/mkdocs-material-theme/assets/images/icons/gitlab.d80e5efc.svg rename to docs/tools/mkdocs-material-theme/assets/images/icons/gitlab.d80e5efc.svg diff --git a/docs/mkdocs-material-theme/assets/javascripts/application.5165553b.js b/docs/tools/mkdocs-material-theme/assets/javascripts/application.5165553b.js similarity index 100% rename from docs/mkdocs-material-theme/assets/javascripts/application.5165553b.js rename to docs/tools/mkdocs-material-theme/assets/javascripts/application.5165553b.js diff --git a/docs/mkdocs-material-theme/assets/javascripts/lunr/lunr.da.js b/docs/tools/mkdocs-material-theme/assets/javascripts/lunr/lunr.da.js similarity index 100% rename from docs/mkdocs-material-theme/assets/javascripts/lunr/lunr.da.js rename to docs/tools/mkdocs-material-theme/assets/javascripts/lunr/lunr.da.js diff --git a/docs/mkdocs-material-theme/assets/javascripts/lunr/lunr.de.js b/docs/tools/mkdocs-material-theme/assets/javascripts/lunr/lunr.de.js similarity index 100% rename from docs/mkdocs-material-theme/assets/javascripts/lunr/lunr.de.js rename to docs/tools/mkdocs-material-theme/assets/javascripts/lunr/lunr.de.js diff --git a/docs/mkdocs-material-theme/assets/javascripts/lunr/lunr.du.js b/docs/tools/mkdocs-material-theme/assets/javascripts/lunr/lunr.du.js similarity index 100% rename from docs/mkdocs-material-theme/assets/javascripts/lunr/lunr.du.js rename to docs/tools/mkdocs-material-theme/assets/javascripts/lunr/lunr.du.js diff --git a/docs/mkdocs-material-theme/assets/javascripts/lunr/lunr.es.js b/docs/tools/mkdocs-material-theme/assets/javascripts/lunr/lunr.es.js similarity index 100% rename from docs/mkdocs-material-theme/assets/javascripts/lunr/lunr.es.js rename to docs/tools/mkdocs-material-theme/assets/javascripts/lunr/lunr.es.js diff --git a/docs/mkdocs-material-theme/assets/javascripts/lunr/lunr.fi.js b/docs/tools/mkdocs-material-theme/assets/javascripts/lunr/lunr.fi.js similarity index 100% rename from docs/mkdocs-material-theme/assets/javascripts/lunr/lunr.fi.js rename to docs/tools/mkdocs-material-theme/assets/javascripts/lunr/lunr.fi.js diff --git a/docs/mkdocs-material-theme/assets/javascripts/lunr/lunr.fr.js b/docs/tools/mkdocs-material-theme/assets/javascripts/lunr/lunr.fr.js similarity index 100% rename from docs/mkdocs-material-theme/assets/javascripts/lunr/lunr.fr.js rename to docs/tools/mkdocs-material-theme/assets/javascripts/lunr/lunr.fr.js diff --git a/docs/mkdocs-material-theme/assets/javascripts/lunr/lunr.hu.js b/docs/tools/mkdocs-material-theme/assets/javascripts/lunr/lunr.hu.js similarity index 100% rename from docs/mkdocs-material-theme/assets/javascripts/lunr/lunr.hu.js rename to docs/tools/mkdocs-material-theme/assets/javascripts/lunr/lunr.hu.js diff --git a/docs/mkdocs-material-theme/assets/javascripts/lunr/lunr.it.js b/docs/tools/mkdocs-material-theme/assets/javascripts/lunr/lunr.it.js similarity index 100% rename from docs/mkdocs-material-theme/assets/javascripts/lunr/lunr.it.js rename to docs/tools/mkdocs-material-theme/assets/javascripts/lunr/lunr.it.js diff --git a/docs/mkdocs-material-theme/assets/javascripts/lunr/lunr.jp.js b/docs/tools/mkdocs-material-theme/assets/javascripts/lunr/lunr.jp.js similarity index 100% rename from docs/mkdocs-material-theme/assets/javascripts/lunr/lunr.jp.js rename to docs/tools/mkdocs-material-theme/assets/javascripts/lunr/lunr.jp.js diff --git a/docs/mkdocs-material-theme/assets/javascripts/lunr/lunr.multi.js b/docs/tools/mkdocs-material-theme/assets/javascripts/lunr/lunr.multi.js similarity index 100% rename from docs/mkdocs-material-theme/assets/javascripts/lunr/lunr.multi.js rename to docs/tools/mkdocs-material-theme/assets/javascripts/lunr/lunr.multi.js diff --git a/docs/mkdocs-material-theme/assets/javascripts/lunr/lunr.no.js b/docs/tools/mkdocs-material-theme/assets/javascripts/lunr/lunr.no.js similarity index 100% rename from docs/mkdocs-material-theme/assets/javascripts/lunr/lunr.no.js rename to docs/tools/mkdocs-material-theme/assets/javascripts/lunr/lunr.no.js diff --git a/docs/mkdocs-material-theme/assets/javascripts/lunr/lunr.pt.js b/docs/tools/mkdocs-material-theme/assets/javascripts/lunr/lunr.pt.js similarity index 100% rename from docs/mkdocs-material-theme/assets/javascripts/lunr/lunr.pt.js rename to docs/tools/mkdocs-material-theme/assets/javascripts/lunr/lunr.pt.js diff --git a/docs/mkdocs-material-theme/assets/javascripts/lunr/lunr.ro.js b/docs/tools/mkdocs-material-theme/assets/javascripts/lunr/lunr.ro.js similarity index 100% rename from docs/mkdocs-material-theme/assets/javascripts/lunr/lunr.ro.js rename to docs/tools/mkdocs-material-theme/assets/javascripts/lunr/lunr.ro.js diff --git a/docs/mkdocs-material-theme/assets/javascripts/lunr/lunr.ru.js b/docs/tools/mkdocs-material-theme/assets/javascripts/lunr/lunr.ru.js similarity index 100% rename from docs/mkdocs-material-theme/assets/javascripts/lunr/lunr.ru.js rename to docs/tools/mkdocs-material-theme/assets/javascripts/lunr/lunr.ru.js diff --git a/docs/mkdocs-material-theme/assets/javascripts/lunr/lunr.stemmer.support.js b/docs/tools/mkdocs-material-theme/assets/javascripts/lunr/lunr.stemmer.support.js similarity index 100% rename from docs/mkdocs-material-theme/assets/javascripts/lunr/lunr.stemmer.support.js rename to docs/tools/mkdocs-material-theme/assets/javascripts/lunr/lunr.stemmer.support.js diff --git a/docs/mkdocs-material-theme/assets/javascripts/lunr/lunr.sv.js b/docs/tools/mkdocs-material-theme/assets/javascripts/lunr/lunr.sv.js similarity index 100% rename from docs/mkdocs-material-theme/assets/javascripts/lunr/lunr.sv.js rename to docs/tools/mkdocs-material-theme/assets/javascripts/lunr/lunr.sv.js diff --git a/docs/mkdocs-material-theme/assets/javascripts/lunr/lunr.tr.js b/docs/tools/mkdocs-material-theme/assets/javascripts/lunr/lunr.tr.js similarity index 100% rename from docs/mkdocs-material-theme/assets/javascripts/lunr/lunr.tr.js rename to docs/tools/mkdocs-material-theme/assets/javascripts/lunr/lunr.tr.js diff --git a/docs/mkdocs-material-theme/assets/javascripts/lunr/tinyseg.js b/docs/tools/mkdocs-material-theme/assets/javascripts/lunr/tinyseg.js similarity index 100% rename from docs/mkdocs-material-theme/assets/javascripts/lunr/tinyseg.js rename to docs/tools/mkdocs-material-theme/assets/javascripts/lunr/tinyseg.js diff --git a/docs/mkdocs-material-theme/assets/javascripts/modernizr.1aa3b519.js b/docs/tools/mkdocs-material-theme/assets/javascripts/modernizr.1aa3b519.js similarity index 100% rename from docs/mkdocs-material-theme/assets/javascripts/modernizr.1aa3b519.js rename to docs/tools/mkdocs-material-theme/assets/javascripts/modernizr.1aa3b519.js diff --git a/docs/mkdocs-material-theme/assets/stylesheets/application-palette.792431c1.css b/docs/tools/mkdocs-material-theme/assets/stylesheets/application-palette.792431c1.css similarity index 100% rename from docs/mkdocs-material-theme/assets/stylesheets/application-palette.792431c1.css rename to docs/tools/mkdocs-material-theme/assets/stylesheets/application-palette.792431c1.css diff --git a/docs/mkdocs-material-theme/assets/stylesheets/application.ac64251e.css b/docs/tools/mkdocs-material-theme/assets/stylesheets/application.ac64251e.css similarity index 100% rename from docs/mkdocs-material-theme/assets/stylesheets/application.ac64251e.css rename to docs/tools/mkdocs-material-theme/assets/stylesheets/application.ac64251e.css diff --git a/docs/mkdocs-material-theme/assets/stylesheets/custom.css b/docs/tools/mkdocs-material-theme/assets/stylesheets/custom.css similarity index 100% rename from docs/mkdocs-material-theme/assets/stylesheets/custom.css rename to docs/tools/mkdocs-material-theme/assets/stylesheets/custom.css diff --git a/docs/mkdocs-material-theme/base.html b/docs/tools/mkdocs-material-theme/base.html similarity index 100% rename from docs/mkdocs-material-theme/base.html rename to docs/tools/mkdocs-material-theme/base.html diff --git a/docs/mkdocs-material-theme/main.html b/docs/tools/mkdocs-material-theme/main.html similarity index 100% rename from docs/mkdocs-material-theme/main.html rename to docs/tools/mkdocs-material-theme/main.html diff --git a/docs/mkdocs-material-theme/mkdocs_theme.yml b/docs/tools/mkdocs-material-theme/mkdocs_theme.yml similarity index 100% rename from docs/mkdocs-material-theme/mkdocs_theme.yml rename to docs/tools/mkdocs-material-theme/mkdocs_theme.yml diff --git a/docs/mkdocs-material-theme/partials/footer.html b/docs/tools/mkdocs-material-theme/partials/footer.html similarity index 100% rename from docs/mkdocs-material-theme/partials/footer.html rename to docs/tools/mkdocs-material-theme/partials/footer.html diff --git a/docs/mkdocs-material-theme/partials/header.html b/docs/tools/mkdocs-material-theme/partials/header.html similarity index 100% rename from docs/mkdocs-material-theme/partials/header.html rename to docs/tools/mkdocs-material-theme/partials/header.html diff --git a/docs/mkdocs-material-theme/partials/hero.html b/docs/tools/mkdocs-material-theme/partials/hero.html similarity index 100% rename from docs/mkdocs-material-theme/partials/hero.html rename to docs/tools/mkdocs-material-theme/partials/hero.html diff --git a/docs/mkdocs-material-theme/partials/integrations/analytics.html b/docs/tools/mkdocs-material-theme/partials/integrations/analytics.html similarity index 100% rename from docs/mkdocs-material-theme/partials/integrations/analytics.html rename to docs/tools/mkdocs-material-theme/partials/integrations/analytics.html diff --git a/docs/mkdocs-material-theme/partials/integrations/disqus.html b/docs/tools/mkdocs-material-theme/partials/integrations/disqus.html similarity index 100% rename from docs/mkdocs-material-theme/partials/integrations/disqus.html rename to docs/tools/mkdocs-material-theme/partials/integrations/disqus.html diff --git a/docs/mkdocs-material-theme/partials/language.html b/docs/tools/mkdocs-material-theme/partials/language.html similarity index 100% rename from docs/mkdocs-material-theme/partials/language.html rename to docs/tools/mkdocs-material-theme/partials/language.html diff --git a/docs/mkdocs-material-theme/partials/language/da.html b/docs/tools/mkdocs-material-theme/partials/language/da.html similarity index 100% rename from docs/mkdocs-material-theme/partials/language/da.html rename to docs/tools/mkdocs-material-theme/partials/language/da.html diff --git a/docs/mkdocs-material-theme/partials/language/de.html b/docs/tools/mkdocs-material-theme/partials/language/de.html similarity index 100% rename from docs/mkdocs-material-theme/partials/language/de.html rename to docs/tools/mkdocs-material-theme/partials/language/de.html diff --git a/docs/mkdocs-material-theme/partials/language/en.html b/docs/tools/mkdocs-material-theme/partials/language/en.html similarity index 100% rename from docs/mkdocs-material-theme/partials/language/en.html rename to docs/tools/mkdocs-material-theme/partials/language/en.html diff --git a/docs/mkdocs-material-theme/partials/language/es.html b/docs/tools/mkdocs-material-theme/partials/language/es.html similarity index 100% rename from docs/mkdocs-material-theme/partials/language/es.html rename to docs/tools/mkdocs-material-theme/partials/language/es.html diff --git a/docs/mkdocs-material-theme/partials/language/fr.html b/docs/tools/mkdocs-material-theme/partials/language/fr.html similarity index 100% rename from docs/mkdocs-material-theme/partials/language/fr.html rename to docs/tools/mkdocs-material-theme/partials/language/fr.html diff --git a/docs/mkdocs-material-theme/partials/language/it.html b/docs/tools/mkdocs-material-theme/partials/language/it.html similarity index 100% rename from docs/mkdocs-material-theme/partials/language/it.html rename to docs/tools/mkdocs-material-theme/partials/language/it.html diff --git a/docs/mkdocs-material-theme/partials/language/ja.html b/docs/tools/mkdocs-material-theme/partials/language/ja.html similarity index 100% rename from docs/mkdocs-material-theme/partials/language/ja.html rename to docs/tools/mkdocs-material-theme/partials/language/ja.html diff --git a/docs/mkdocs-material-theme/partials/language/kr.html b/docs/tools/mkdocs-material-theme/partials/language/kr.html similarity index 100% rename from docs/mkdocs-material-theme/partials/language/kr.html rename to docs/tools/mkdocs-material-theme/partials/language/kr.html diff --git a/docs/mkdocs-material-theme/partials/language/no.html b/docs/tools/mkdocs-material-theme/partials/language/no.html similarity index 100% rename from docs/mkdocs-material-theme/partials/language/no.html rename to docs/tools/mkdocs-material-theme/partials/language/no.html diff --git a/docs/mkdocs-material-theme/partials/language/pl.html b/docs/tools/mkdocs-material-theme/partials/language/pl.html similarity index 100% rename from docs/mkdocs-material-theme/partials/language/pl.html rename to docs/tools/mkdocs-material-theme/partials/language/pl.html diff --git a/docs/mkdocs-material-theme/partials/language/pt.html b/docs/tools/mkdocs-material-theme/partials/language/pt.html similarity index 100% rename from docs/mkdocs-material-theme/partials/language/pt.html rename to docs/tools/mkdocs-material-theme/partials/language/pt.html diff --git a/docs/mkdocs-material-theme/partials/language/ru.html b/docs/tools/mkdocs-material-theme/partials/language/ru.html similarity index 100% rename from docs/mkdocs-material-theme/partials/language/ru.html rename to docs/tools/mkdocs-material-theme/partials/language/ru.html diff --git a/docs/mkdocs-material-theme/partials/language/sv.html b/docs/tools/mkdocs-material-theme/partials/language/sv.html similarity index 100% rename from docs/mkdocs-material-theme/partials/language/sv.html rename to docs/tools/mkdocs-material-theme/partials/language/sv.html diff --git a/docs/mkdocs-material-theme/partials/language/zh-Hant.html b/docs/tools/mkdocs-material-theme/partials/language/zh-Hant.html similarity index 100% rename from docs/mkdocs-material-theme/partials/language/zh-Hant.html rename to docs/tools/mkdocs-material-theme/partials/language/zh-Hant.html diff --git a/docs/mkdocs-material-theme/partials/language/zh.html b/docs/tools/mkdocs-material-theme/partials/language/zh.html similarity index 100% rename from docs/mkdocs-material-theme/partials/language/zh.html rename to docs/tools/mkdocs-material-theme/partials/language/zh.html diff --git a/docs/mkdocs-material-theme/partials/nav-item.html b/docs/tools/mkdocs-material-theme/partials/nav-item.html similarity index 100% rename from docs/mkdocs-material-theme/partials/nav-item.html rename to docs/tools/mkdocs-material-theme/partials/nav-item.html diff --git a/docs/mkdocs-material-theme/partials/nav.html b/docs/tools/mkdocs-material-theme/partials/nav.html similarity index 100% rename from docs/mkdocs-material-theme/partials/nav.html rename to docs/tools/mkdocs-material-theme/partials/nav.html diff --git a/docs/mkdocs-material-theme/partials/search.html b/docs/tools/mkdocs-material-theme/partials/search.html similarity index 100% rename from docs/mkdocs-material-theme/partials/search.html rename to docs/tools/mkdocs-material-theme/partials/search.html diff --git a/docs/mkdocs-material-theme/partials/social.html b/docs/tools/mkdocs-material-theme/partials/social.html similarity index 100% rename from docs/mkdocs-material-theme/partials/social.html rename to docs/tools/mkdocs-material-theme/partials/social.html diff --git a/docs/mkdocs-material-theme/partials/source.html b/docs/tools/mkdocs-material-theme/partials/source.html similarity index 100% rename from docs/mkdocs-material-theme/partials/source.html rename to docs/tools/mkdocs-material-theme/partials/source.html diff --git a/docs/mkdocs-material-theme/partials/tabs-item.html b/docs/tools/mkdocs-material-theme/partials/tabs-item.html similarity index 100% rename from docs/mkdocs-material-theme/partials/tabs-item.html rename to docs/tools/mkdocs-material-theme/partials/tabs-item.html diff --git a/docs/mkdocs-material-theme/partials/tabs.html b/docs/tools/mkdocs-material-theme/partials/tabs.html similarity index 100% rename from docs/mkdocs-material-theme/partials/tabs.html rename to docs/tools/mkdocs-material-theme/partials/tabs.html diff --git a/docs/mkdocs-material-theme/partials/toc-item.html b/docs/tools/mkdocs-material-theme/partials/toc-item.html similarity index 100% rename from docs/mkdocs-material-theme/partials/toc-item.html rename to docs/tools/mkdocs-material-theme/partials/toc-item.html diff --git a/docs/mkdocs-material-theme/partials/toc.html b/docs/tools/mkdocs-material-theme/partials/toc.html similarity index 100% rename from docs/mkdocs-material-theme/partials/toc.html rename to docs/tools/mkdocs-material-theme/partials/toc.html diff --git a/docs/requirements.txt b/docs/tools/requirements.txt similarity index 100% rename from docs/requirements.txt rename to docs/tools/requirements.txt diff --git a/docs/validate_headers_structures_in_md.py b/docs/tools/validate_headers_structures_in_md.py similarity index 100% rename from docs/validate_headers_structures_in_md.py rename to docs/tools/validate_headers_structures_in_md.py diff --git a/website/gulpfile.js b/website/gulpfile.js index 6529654d27b..f2f850bc434 100644 --- a/website/gulpfile.js +++ b/website/gulpfile.js @@ -58,7 +58,7 @@ gulp.task('reference', [], function () { }); gulp.task('docs', [], function () { - run('cd ' + docsDir + '; ./build.sh'); + run('cd ' + docsDir + '/tools; ./build.sh'); return gulp.src(paths.docs) .pipe(gulp.dest(outputDir + '/../docs')) });