diff --git a/.github/workflows/manual_docs_to_dev.yml b/.github/workflows/manual_docs_to_dev.yml index cba52e354e..0c2fc3cfe1 100644 --- a/.github/workflows/manual_docs_to_dev.yml +++ b/.github/workflows/manual_docs_to_dev.yml @@ -24,6 +24,7 @@ jobs: run: | sed -i "s/version_tag/${{ steps.short-sha.outputs.sha }}/g" main/User_config.h sed -i "s/version_tag/${{ steps.short-sha.outputs.sha }}/g" docs/.vuepress/config.js + sed -i "s|base: '/'|base: '/dev/'|g" docs/.vuepress/config.js - name: Run PlatformIO run: platformio run - name: Prepare Release Assets diff --git a/docs/.vuepress/config.js b/docs/.vuepress/config.js index faba84b471..0685f7e1ce 100644 --- a/docs/.vuepress/config.js +++ b/docs/.vuepress/config.js @@ -22,6 +22,7 @@ module.exports = { smoothScroll: true, repo: '1technophile/OpenMQTTGateway', docsDir: 'docs', + base: '/', docsBranch: 'development', lastUpdated: 'Last Updated', editLinks: true,