diff --git a/.github/workflows/docsy.yml b/.github/workflows/docsy.yml index 0a5ddc4f4..751d21580 100644 --- a/.github/workflows/docsy.yml +++ b/.github/workflows/docsy.yml @@ -39,11 +39,10 @@ jobs: echo ${{steps.git-branch.outputs.git-branch}} cd site npm i - hugo --minify --baseURL https://docs.gocrane.io/${{steps.git-branch.outputs.git-branch}}-docsy + hugo --minify - name: Deploy uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: site/public - destination_dir: ${{steps.git-branch.outputs.git-branch}}-docsy diff --git a/site/config.toml b/site/config.toml index 51207f809..b4b23cf70 100644 --- a/site/config.toml +++ b/site/config.toml @@ -112,6 +112,11 @@ time_format_blog = "02.01.2006" weight = -98 pre = "" url = "https://github.com/gocrane/crane" + [[menu.main]] + name = "Live Demo" + weight = -97 + pre = "" + url = "http://dashboard.gocrane.io/" [params] copyright = "The Crane Authors" @@ -133,18 +138,6 @@ archived_version = false # current doc set. version = "0.8.0" -[[params.versions]] - version = "main" - url = "https://docs.gocrane.io/main-docsy" - -[[params.versions]] - version = "release-0.7" - url = "https://docs.gocrane.io/release-0.7" - -[[params.versions]] - version = "release-0.4" - url = "https://docs.gocrane.io/release-0.4/" - # Repository configuration (URLs for in-page links to opening issues and suggesting changes) github_repo = "https://github.com/gocrane/crane" # An optional link to a related project repo. For example, the sibling repository where your product code lives. diff --git a/site/content/en/docs/Tutorials/timeseriees-forecasting-by-dsp.md b/site/content/en/docs/Tutorials/timeseriees-forecasting-by-dsp.md index f9de79724..37e475428 100644 --- a/site/content/en/docs/Tutorials/timeseriees-forecasting-by-dsp.md +++ b/site/content/en/docs/Tutorials/timeseriees-forecasting-by-dsp.md @@ -1,5 +1,5 @@ --- -title: "DSP 预测算法" +title: "DSP Algorithm" description: "Introduction for DSP Algorithm" weight: 16 ---