Skip to content

Commit

Permalink
Fix sed command for markdownlint
Browse files Browse the repository at this point in the history
  • Loading branch information
AnneCYH committed Nov 1, 2024
1 parent 8c40f1a commit a29b506
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ sed -i "s|requirements:\s*sp-docs/\.sphinx/requirements\.txt|requirements: $inst
echo "Updating contribution guide..."
sed -i "s|DOCDIR|$install_directory|g" "$temp_directory/sp-files/contributing.rst"
[ "$install_directory" != "." ] && sed -i "s/Makefile.sp/$install_directory\/Makefile.sp/" "$temp_directory/sp-files/.github/workflows/sphinx-python-dependency-build-checks.yml"
[ "$install_directory" != "." ] && sed -i "s/.sphinx\/.markdownlint.json/$install_directory\/.sphinx\.markdownlint.json/" "$temp_directory/sp-files/.github/workflows/markdown-style-checks.yml"
[ "$install_directory" != "." ] && sed -i "s/.sphinx\/.markdownlint.json/$install_directory\/.sphinx\/.markdownlint.json/" "$temp_directory/sp-files/.github/workflows/markdown-style-checks.yml"

# Update the GitHub folder path in the configuration file
echo "Updating conf.py configuration..."
Expand Down

0 comments on commit a29b506

Please sign in to comment.