Skip to content

Commit

Permalink
docs: add tip for every section
Browse files Browse the repository at this point in the history
  • Loading branch information
kraanzu committed Nov 4, 2024
1 parent e062cb4 commit 031cb66
Showing 1 changed file with 24 additions and 1 deletion.
25 changes: 24 additions & 1 deletion site/docs/extra/moving_from_v2.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ Below, I'll split parts of it and provide you with newer format \

## Colors

:::tip :bulb: TIP
Check out [`Theme`](../configuration/theme.md) for more info
:::

### Old

```py
Expand All @@ -50,7 +54,6 @@ orange = "#d08770"

Dooit now has a dedicated theme api for colors so that the colors will match properly with everything

Check out [`Theme`](../configuration/theme.md) for available colors

```py
from dooit.ui.api import DooitAPI, subscribe
Expand All @@ -63,6 +66,10 @@ def foo(api: DooitAPI, _):

## Dashboard

:::tip :bulb: TIP
Check out [`Dashboard`](../configuration/dashboard.md) for more info
:::

:::info :grey_exclamation: NOTE
I have removed the ascii dashboard section from old config since it takes too much lines of code
For that please check out [`Dashboard`](../configuration/dashboard.md) section and [`Sample configs from Dooit Extras`](https://dooit-org.github.io/dooit-extras/configs/nord.html)
Expand Down Expand Up @@ -108,6 +115,10 @@ def dashboard_setup(api: DooitAPI, _):

## Bar

:::tip :bulb: TIP
Check out [`Bar`](../configuration/bar.md) for more info
:::

:::info :grey_exclamation: NOTE
The function `get_message` is now of no use hence removed. \
Dooit will now flash any kind of messages covering the whole bar
Expand Down Expand Up @@ -171,6 +182,10 @@ def setup(api: DooitAPI, _):

## Layout

:::tip :bulb: TIP
Check out [`Layouts`](../configuration/layout.md) for more info
:::

Dooit now provides a layout api to order your columns

### Old
Expand Down Expand Up @@ -199,6 +214,10 @@ def layout_setup(api: DooitAPI, _):

## Formatting

:::tip :bulb: TIP
Check out [`Formatters`](../configuration/formatter.md) for more info
:::

Formatting for workspaces and todos is now even more customizable! \
You can use dooit formatters to custom format your items :D

Expand Down Expand Up @@ -251,6 +270,10 @@ TODO = {

## Keybindings

:::tip :bulb: TIP
Check out [`Keys`](../configuration/keys.md) for more info
:::

Keybidings now are much more easier to understand and implement + now you get support for custom keybindings executing some custom code

You can get a full list of available api functions [`here`]()
Expand Down

0 comments on commit 031cb66

Please sign in to comment.