fix: replace all remaining paths referring to vuepress (#5859)

This commit is contained in:
David Knaack 2024-03-24 08:03:55 +01:00 committed by GitHub
parent d421f63785
commit d5861f9f97
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 8 additions and 8 deletions

View File

@ -14,7 +14,7 @@
],
"excludes": [
"CHANGELOG.md",
"docs/.vuepress/dist/**",
"docs/.vitepress/dist/**",
"**/node_modules",
"**/*-lock.json",
".github/*",

View File

@ -26,7 +26,7 @@ jobs:
- name: Install | Taplo
run: cargo install --debug --locked --version 0.9.0 taplo-cli
- name: Presets | Validate with schema
run: taplo lint --schema "file://${GITHUB_WORKSPACE}/.github/config-schema.json" docs/.vuepress/public/presets/toml/*.toml
run: taplo lint --schema "file://${GITHUB_WORKSPACE}/.github/config-schema.json" docs/public/presets/toml/*.toml
# If this is not a Crowdin PR, block changes to translated documentation
block-crowdin:

View File

@ -15,7 +15,7 @@ include = [
"build.rs",
"LICENSE",
"/README.md",
"docs/.vuepress/public/presets/toml/",
"docs/public/presets/toml/",
".github/config-schema.json",
]
keywords = ["prompt", "shell", "bash", "fish", "zsh"]

View File

@ -65,7 +65,7 @@ starship_docs_dir="$2"
arch="$3"
pkgname="${4:-}"
if [[ ! -d "$starship_docs_dir/.vuepress/dist" ]]; then
if [[ ! -d "$starship_docs_dir/.vitepress/dist" ]]; then
error "Documentation does not appear to have been built!"
fi
@ -87,7 +87,7 @@ unzip starship.zip
# Create the component package
echo ">>>> Building Component Package"
bash "$script_dir/build_component_package.sh" "starship" "$starship_docs_dir/.vuepress/dist"
bash "$script_dir/build_component_package.sh" "starship" "$starship_docs_dir/.vitepress/dist"
# Create the distribution package
echo ">>>> Building Distribution Package"

View File

@ -13,7 +13,7 @@ usage() {
echo "Assumes that the following items already exist:"
echo " - A starship binary which has already been notarized"
echo " - Documentation created by \`npm run build\`, usually in a dist"
echo " directory at <repo>/docs/.vuepress/dist"
echo " directory at <repo>/docs/.vitepress/dist"
echo "Usage: $0 <path-to-starship-binary> <path-to-dist-directory>"
}

View File

@ -327,8 +327,8 @@ mod tests {
// - crate::modules::os::tests
// - docs/config/README.md/#Configuration/#OS/#Options
// - docs/config/README.md/#Configuration/#OS/#Example
// - docs/.vuepress/public/presets/toml/plain-text-symbols.toml
// - dosc/.vuepress/public/presets/toml/nerd-font-symbols.toml
// - docs/public/presets/toml/plain-text-symbols.toml
// - dosc/public/presets/toml/nerd-font-symbols.toml
// - .github/config-schema.json
let _ = |t: Type| match t {
Type::AIX => "",