mirror of
https://github.com/starship/starship.git
synced 2024-11-21 15:53:38 +01:00
fix: replace all remaining paths referring to vuepress (#5859)
This commit is contained in:
parent
d421f63785
commit
d5861f9f97
@ -14,7 +14,7 @@
|
||||
],
|
||||
"excludes": [
|
||||
"CHANGELOG.md",
|
||||
"docs/.vuepress/dist/**",
|
||||
"docs/.vitepress/dist/**",
|
||||
"**/node_modules",
|
||||
"**/*-lock.json",
|
||||
".github/*",
|
||||
|
2
.github/workflows/format-workflow.yml
vendored
2
.github/workflows/format-workflow.yml
vendored
@ -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:
|
||||
|
@ -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"]
|
||||
|
@ -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"
|
||||
|
@ -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>"
|
||||
}
|
||||
|
||||
|
@ -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 => "➿ ",
|
||||
|
Loading…
Reference in New Issue
Block a user