mirror of
https://github.com/Llewellynvdm/starship.git
synced 2024-12-03 18:38:23 +00:00
docs: Add a "Presets" page to the website (#783)
This commit is contained in:
parent
e53ced8221
commit
3ddb7460a6
@ -57,7 +57,8 @@ module.exports = {
|
|||||||
["/guide/", "Guide"],
|
["/guide/", "Guide"],
|
||||||
["/config/", "Configuration"],
|
["/config/", "Configuration"],
|
||||||
["/advanced-config/", "Advanced Configuration"],
|
["/advanced-config/", "Advanced Configuration"],
|
||||||
["/faq/", "Frequently Asked Questions"]
|
["/faq/", "Frequently Asked Questions"],
|
||||||
|
["/presets/", "Presets"]
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"/ja-JP/": {
|
"/ja-JP/": {
|
||||||
|
BIN
docs/.vuepress/public/nerd-font.woff2
Normal file
BIN
docs/.vuepress/public/nerd-font.woff2
Normal file
Binary file not shown.
BIN
docs/.vuepress/public/presets/nerd-font-symbols.png
Normal file
BIN
docs/.vuepress/public/presets/nerd-font-symbols.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 334 KiB |
@ -15,3 +15,12 @@
|
|||||||
|
|
||||||
.hero
|
.hero
|
||||||
margin: 150px 25px 70px
|
margin: 150px 25px 70px
|
||||||
|
|
||||||
|
@font-face
|
||||||
|
font-family: 'Nerd Font';
|
||||||
|
src: url("/nerd-font.woff2") format("woff2");
|
||||||
|
font-weight: 400;
|
||||||
|
font-style: normal
|
||||||
|
|
||||||
|
code
|
||||||
|
font-family: 'Nerd Font', source-code-pro, Menlo, Monaco, Consolas, "Courier New", monospace;
|
||||||
|
2101
docs/package-lock.json
generated
2101
docs/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -4,8 +4,8 @@
|
|||||||
"build": "vuepress build"
|
"build": "vuepress build"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vuepress/plugin-google-analytics": "^1.0.3",
|
"@vuepress/plugin-google-analytics": "^1.2.0",
|
||||||
"vuepress": "^1.0.2",
|
"vuepress": "^1.2.0",
|
||||||
"vuepress-plugin-sitemap": "^2.3.0"
|
"vuepress-plugin-sitemap": "^2.3.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
63
docs/presets/README.md
Normal file
63
docs/presets/README.md
Normal file
@ -0,0 +1,63 @@
|
|||||||
|
# Presets
|
||||||
|
|
||||||
|
Here is a collection of community-submitted configuration presets for Starship.
|
||||||
|
If you have a preset to share, please [submit a PR](https://github.com/starship/starship/edit/master/docs/presets/README.md) updating this file! 😊
|
||||||
|
|
||||||
|
## Nerd Font Symbols
|
||||||
|
|
||||||
|
This preset doesn't change anything except for the symbols used for each module.
|
||||||
|
If emojis aren't your thing, this might catch your eye!
|
||||||
|
|
||||||
|
![Screenshot of Nerd Font Symbols preset](/presets/nerd-font-symbols.png)
|
||||||
|
|
||||||
|
### Prerequisites
|
||||||
|
|
||||||
|
- A [Nerd Font](https://www.nerdfonts.com/) installed and enabled in your terminal (the example uses Fira Code Nerd Font)
|
||||||
|
|
||||||
|
### Configuration
|
||||||
|
|
||||||
|
```toml
|
||||||
|
[aws]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[battery]
|
||||||
|
full_symbol = ""
|
||||||
|
charging_symbol = ""
|
||||||
|
discharging_symbol = ""
|
||||||
|
|
||||||
|
[conda]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[git_branch]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[golang]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[hg_branch]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[java]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[memory_usage]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[nodejs]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[package]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[php]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[python]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[ruby]
|
||||||
|
symbol = " "
|
||||||
|
|
||||||
|
[rust]
|
||||||
|
symbol = " "
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user