mirror of
https://github.com/slint-ui/slint.git
synced 2025-12-23 09:19:32 +00:00
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.
This commit is contained in:
parent
1278a6aeaf
commit
fcc6364bd1
1 changed files with 1 additions and 8 deletions
9
.github/workflows/nightly_snapshot.yaml
vendored
9
.github/workflows/nightly_snapshot.yaml
vendored
|
|
@ -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: |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue