From d5861f9f974147d307c319865890cbb3e50dbe5a Mon Sep 17 00:00:00 2001 From: David Knaack Date: Sun, 24 Mar 2024 08:03:55 +0100 Subject: [PATCH] fix: replace all remaining paths referring to vuepress (#5859) --- .dprint.json | 2 +- .github/workflows/format-workflow.yml | 2 +- Cargo.toml | 2 +- install/macos_packages/build_and_notarize.sh | 4 ++-- install/macos_packages/build_component_package.sh | 2 +- src/modules/os.rs | 4 ++-- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.dprint.json b/.dprint.json index 1ff7dd682..fe3d49a0c 100644 --- a/.dprint.json +++ b/.dprint.json @@ -14,7 +14,7 @@ ], "excludes": [ "CHANGELOG.md", - "docs/.vuepress/dist/**", + "docs/.vitepress/dist/**", "**/node_modules", "**/*-lock.json", ".github/*", diff --git a/.github/workflows/format-workflow.yml b/.github/workflows/format-workflow.yml index 34636ad3f..a6b1f6409 100644 --- a/.github/workflows/format-workflow.yml +++ b/.github/workflows/format-workflow.yml @@ -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: diff --git a/Cargo.toml b/Cargo.toml index e91dda0fb..a9fa8ed71 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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"] diff --git a/install/macos_packages/build_and_notarize.sh b/install/macos_packages/build_and_notarize.sh index d3f12193e..768b09350 100644 --- a/install/macos_packages/build_and_notarize.sh +++ b/install/macos_packages/build_and_notarize.sh @@ -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" diff --git a/install/macos_packages/build_component_package.sh b/install/macos_packages/build_component_package.sh index 807e50567..2ac4daa3d 100644 --- a/install/macos_packages/build_component_package.sh +++ b/install/macos_packages/build_component_package.sh @@ -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 /docs/.vuepress/dist" + echo " directory at /docs/.vitepress/dist" echo "Usage: $0 " } diff --git a/src/modules/os.rs b/src/modules/os.rs index 93b83dc70..c8447fb90 100644 --- a/src/modules/os.rs +++ b/src/modules/os.rs @@ -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 => "➿ ",