docs: fix broken links after rename(overview->general)

This commit is contained in:
lnu 2023-10-16 07:31:32 +02:00 committed by Jan De Dobbeleer
parent d1debcfd6a
commit 0c196e0f58
5 changed files with 10 additions and 23 deletions

View file

@ -3,7 +3,7 @@
"$id": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"type": "object",
"title": "The Oh My Posh theme definition",
"description": "https://ohmyposh.dev/docs/configuration/overview",
"description": "https://ohmyposh.dev/docs/configuration/general",
"definitions": {
"color": {
"anyOf": [
@ -3295,13 +3295,13 @@
"final_space": {
"type": "boolean",
"title": "Final Space",
"description": "https://ohmyposh.dev/docs/configuration/overview#general-settings",
"description": "https://ohmyposh.dev/docs/configuration/general#general-settings",
"default": true
},
"disable_cursor_positioning": {
"type": "boolean",
"title": "Disable Cursor Positioning",
"description": "https://ohmyposh.dev/docs/configuration/overview#general-settings",
"description": "https://ohmyposh.dev/docs/configuration/general#general-settings",
"default": false
},
"shell_integration": {
@ -3312,7 +3312,7 @@
"pwd": {
"type": "string",
"title": "Enable OSC99/7/51",
"description": "https://ohmyposh.dev/docs/configuration/overview#general-settings",
"description": "https://ohmyposh.dev/docs/configuration/general#general-settings",
"default": ""
},
"console_title_template": {
@ -3328,7 +3328,7 @@
"type": "array",
"title": "Block array",
"default": [],
"description": "https://ohmyposh.dev/docs/configuration/overview#blocks",
"description": "https://ohmyposh.dev/docs/configuration/general#blocks",
"items": {
"$ref": "#/definitions/block"
}

View file

@ -275,12 +275,11 @@ Inside the WSL, you can find your Windows user's home folder here: `/mnt/c/Users
Maybe there's a theme you like, but you don't fancy the colors. Or, maybe there's a segment you
want to tweak/add, or replace some of the icons with a different one. Whatever the case, **read through
available options first**, by starting with the [configuration guide][configuration].
available options first**, by starting with the [configuration][configuration].
You can export the current theme (default, or set via `--config`) to the format you like (`json`, `yaml`, or `toml`)
which can be used to tweak and store as your own custom theme.
```bash
oh-my-posh config export --output ~/.mytheme.omp.json
```
@ -298,7 +297,7 @@ The [configuration][configuration] section covers the basic building blocks and
segments section covers how to configure each available segment.
[themes]: themes.md
[configuration]: configuration/overview.mdx
[configuration]: configuration/general.mdx
[prompt]: prompt.mdx
[jandedobbeleer]: /docs/themes#jandedobbeleer
[json-schema]: https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json

View file

@ -114,6 +114,5 @@ The `minimal` themes do not make use of Nerd Font icons.
[nerdfonts]: https://www.nerdfonts.com/
[meslo]: https://github.com/ryanoasis/nerd-fonts/releases/download/v3.0.2/Meslo.zip
[themes]: https://github.com/JanDeDobbeleer/oh-my-posh/tree/main/themes
[font-thread]: https://github.com/JanDeDobbeleer/oh-my-posh/issues/145#issuecomment-730162622
[configuration]: /docs/configuration/overview
[configuration]: /docs/installation/customize
[wt-issue-8993]: https://github.com/microsoft/terminal/issues/8993

View file

@ -58,10 +58,4 @@ curl -s https://ohmyposh.dev/install.sh | bash -s -- -d ~/bin
<Next />
[fonts]: /docs/installation/fonts
[scoop]: https://scoop.sh/
[wt]: https://github.com/microsoft/terminal
[iterm2]: https://www.iterm2.com/
[powershell]: https://www.powershellgallery.com/packages/oh-my-posh
[configuration]: /docs/configuration/overview
[themes]: /docs/themes
[fonts]: /docs/installation/fonts

View file

@ -25,9 +25,4 @@ To display all icons, we recommend the use of a [Nerd Font][fonts].
<Next />
[256-colors]: /docs/configuration/colors#standard-colors
[fonts]: /docs/installation/fonts
[scoop]: https://scoop.sh/
[wt]: https://github.com/microsoft/terminal
[iterm2]: https://www.iterm2.com/
[powershell]: https://www.powershellgallery.com/packages/oh-my-posh
[configuration]: /docs/configuration/overview
[fonts]: /docs/installation/fonts