1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-12-11 21:57:52 +00:00

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": [ "excludes": [
"CHANGELOG.md", "CHANGELOG.md",
"docs/.vuepress/dist/**", "docs/.vitepress/dist/**",
"**/node_modules", "**/node_modules",
"**/*-lock.json", "**/*-lock.json",
".github/*", ".github/*",

View File

@ -26,7 +26,7 @@ jobs:
- name: Install | Taplo - name: Install | Taplo
run: cargo install --debug --locked --version 0.9.0 taplo-cli run: cargo install --debug --locked --version 0.9.0 taplo-cli
- name: Presets | Validate with schema - 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 # If this is not a Crowdin PR, block changes to translated documentation
block-crowdin: block-crowdin:

View File

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

View File

@ -65,7 +65,7 @@ starship_docs_dir="$2"
arch="$3" arch="$3"
pkgname="${4:-}" 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!" error "Documentation does not appear to have been built!"
fi fi
@ -87,7 +87,7 @@ unzip starship.zip
# Create the component package # Create the component package
echo ">>>> Building 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 # Create the distribution package
echo ">>>> Building Distribution Package" echo ">>>> Building Distribution Package"

View File

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

View File

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