From fcc6364bd1e12bbb07100b4673c816d849150dd4 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Thu, 6 Nov 2025 21:56:55 +0100 Subject: [PATCH] CI: Fix docs publishing There's no more a need to fix up the docs structure, when build_docs already produces the correct directory structure. --- .github/workflows/nightly_snapshot.yaml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/workflows/nightly_snapshot.yaml b/.github/workflows/nightly_snapshot.yaml index b2f8b1670a..7d6b278802 100644 --- a/.github/workflows/nightly_snapshot.yaml +++ b/.github/workflows/nightly_snapshot.yaml @@ -439,7 +439,7 @@ jobs: else version="development snapshot" fi - sed -i "s/VERSION/$version/g" ../docs/slint/index.html + sed -i "s/VERSION/$version/g" ../docs/index.html rm -rf $output_path/docs mv ../docs . @@ -447,13 +447,6 @@ jobs: # Fix up link to Slint language documentation sed -i "s!https://slint.dev/releases/.*/docs/!../../!" $output_path/docs/rust/slint/*.html - mkdir -p $output_path/docs/node - cp -a ../api/node/docs/* $output_path/docs/node/ - mkdir -p $output_path/docs/python - cp -a ../api/python/slint/docs/* $output_path/docs/python/ - mkdir -p $output_path/docs/slint - cp -a ../docs/astro/dist/* $output_path/docs/slint/ - - name: Adjust redirections if: github.event.inputs.release == 'true' run: |