Skip to content

Commit

Permalink
docs(framework) Fix versioned script with new path (#4659)
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesbvll authored Dec 9, 2024
1 parent a7a61d5 commit 0730b12
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions framework/docs/build-versioned-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ current_branch=$(git rev-parse --abbrev-ref HEAD)
cd $(git rev-parse --show-toplevel)

# Clean up previous builds
rm -rf doc/build
rm -rf framework/docs/build

# Create a temporary directory and store locales and _templates files in it
tmp_dir=`mktemp -d`
cp -r doc/locales ${tmp_dir}/locales
cp -r doc/source/_templates ${tmp_dir}/_templates
cp -r framework/docs/locales ${tmp_dir}/locales
cp -r framework/docs/source/_templates ${tmp_dir}/_templates

cd doc
cd framework/docs

# Get a list of languages based on the folders in locales
languages="en `find locales/ -mindepth 1 -maxdepth 1 -type d -exec basename '{}' \;`"
Expand Down

0 comments on commit 0730b12

Please sign in to comment.