Skip to content

Commit

Permalink
fix: replace all remaining paths referring to vuepress (starship#5859)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidkna authored Mar 24, 2024
1 parent d421f63 commit d5861f9
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .dprint.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
],
"excludes": [
"CHANGELOG.md",
"docs/.vuepress/dist/**",
"docs/.vitepress/dist/**",
"**/node_modules",
"**/*-lock.json",
".github/*",
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/format-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
4 changes: 2 additions & 2 deletions install/macos_packages/build_and_notarize.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion install/macos_packages/build_component_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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>"
}

Expand Down
4 changes: 2 additions & 2 deletions src/modules/os.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 => "➿ ",
Expand Down

0 comments on commit d5861f9

Please sign in to comment.