Skip to content

Commit e60daec

Browse files
chore: adjust docs layout
1 parent 5c2f135 commit e60daec

File tree

6 files changed

+13
-20
lines changed

6 files changed

+13
-20
lines changed

docs/docs/configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
id: configure
33
title: Configuration
4-
sidebar_label: Configuration
4+
sidebar_label: ⚙️ Configuration
55
---
66

77
Oh my Posh renders your prompt based on the definition of _blocks_ (like Lego) which contain or more _segments_.

docs/docs/installation.mdx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
id: installation
33
title: Installation
4-
sidebar_label: Installation
4+
sidebar_label: 🚀 Installation
55
---
66

77
import Tabs from "@theme/Tabs";
@@ -203,7 +203,7 @@ for file in ~/.poshthemes/*.omp.json; do echo "$file\n"; oh-my-posh --config $fi
203203

204204
If you have no idea which shell you're currently using, Oh my Posh has a utility switch that will you tell you.
205205

206-
```shell
206+
```bash
207207
oh-my-posh --print-shell
208208
```
209209

@@ -237,13 +237,13 @@ Once added, reload your profile for the changes to take effect.
237237

238238
Add the following to `~/.zshrc`:
239239

240-
```zshrc
240+
```bash
241241
eval "$(oh-my-posh --init --shell zsh --config ~/.poshthemes/jandedobbeleer.omp.json)"
242242
```
243243

244244
Once added, reload your profile for the changes to take effect.
245245

246-
```zsh
246+
```bash
247247
source ~/.zshrc
248248
```
249249

@@ -252,7 +252,7 @@ source ~/.zshrc
252252

253253
Add the following to `~/.bashrc` (or `~/.profile` on MacOS):
254254

255-
```bashrc
255+
```bash
256256
eval "$(oh-my-posh --init --shell bash --config ~/.poshthemes/jandedobbeleer.omp.json)"
257257
```
258258

@@ -273,13 +273,13 @@ Or, when using `~/.profile`.
273273

274274
Redefine `fish_prompt` in `~/.config/fish/config.fish`:
275275

276-
```fish
276+
```bash
277277
oh-my-posh --init --shell fish --config ~/.poshthemes/jandedobbeleer.omp.json | source
278278
```
279279

280280
Once added, reload your config for the changes to take effect.
281281

282-
```fish
282+
```bash
283283
. ~/.config/fish/config.fish
284284
```
285285

docs/docs/introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
id: introduction
33
title: Introduction
4-
sidebar_label: Introduction
4+
sidebar_label: 👋 Introduction
55
slug: /
66
---
77

docs/docs/themes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
id: themes
33
title: Themes
4-
sidebar_label: Themes
4+
sidebar_label: 🎨 Themes
55
---
66

77
### [Agnoster]

docs/docs/upgrading.md

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,12 @@
11
---
22
id: upgrading
33
title: Upgrading
4-
sidebar_label: Upgrading from V2
4+
sidebar_label: 🤘 Upgrading from V2
55
---
66

77
Just like V2, V3 is available in the [PowerShell gallery][psgallery]. Due to its nature, it's only
88
available as a prerelease while we work out the kinks and get it on par with V2.
99

10-
:::info Powershell 5
11-
Due to being unable to maintain everything, the decision was made to drop active support for non-cross platform
12-
tooling. That's why V3 will only work as of Powershell 6 when it comes to the module.
13-
If you want to install this for Powershell 5 (and below), feel free to look at the [manual installation][manual] process
14-
which should get you up and running in no time.
15-
:::
16-
1710
## V2's problem statement
1811

1912
V2 has Powershell module files as [themes][themesv2]. That way of working was inspired from [oh-my-zsh][omz] and other

docs/docusaurus.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ module.exports = {
1010
themeConfig: {
1111
sidebarCollapsible: false,
1212
prism: {
13-
theme: require("prism-react-renderer/themes/github"),
14-
darkTheme: require("prism-react-renderer/themes/dracula"),
13+
theme: require("prism-react-renderer/themes/duotoneLight"),
14+
darkTheme: require("prism-react-renderer/themes/oceanicNext"),
1515
},
1616
navbar: {
1717
title: "Oh my Posh",

0 commit comments

Comments
 (0)