Skip to content

Commit 42a7f01

Browse files
committed
chores
1 parent cb5a221 commit 42a7f01

File tree

7 files changed

+99
-126
lines changed

7 files changed

+99
-126
lines changed

apps/desktop/src-tauri/Cargo.toml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,3 @@ tokio = { workspace = true, features = ["rt-multi-thread", "macros"] }
9494
tokio-stream = { workspace = true }
9595

9696
hound = { workspace = true }
97-
98-
[profile.dev]
99-
incremental = true
100-
opt-level = 0
101-
debug = true
102-
103-
[profile.dev.package."*"]
104-
opt-level = 1
105-
debug = false

apps/docs/.vitepress/theme/index.js

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@ import "./global.css";
77

88
import Card from "../components/Card.vue";
99
import Contributors from "../components/Contributors.vue";
10-
import ExtensionsTable from "../components/ExtensionsTable.vue";
11-
import ExtensionTags from "../components/ExtensionTags.vue";
1210
import Image from "../components/Image.vue";
1311
import PluginCommands from "../components/PluginCommands.vue";
1412
import PluginLink from "../components/PluginLink.vue";
@@ -21,15 +19,13 @@ export default {
2119
extends: DefaultTheme,
2220
enhanceApp({ app }) {
2321
app.use(FloatingVue);
24-
app.component("ExtensionTags", ExtensionTags);
25-
app.component("ExtensionsTable", ExtensionsTable);
26-
app.component("PluginsTable", PluginsTable);
27-
app.component("PluginLink", PluginLink);
28-
app.component("PluginSourceList", PluginSourceList);
29-
app.component("Contributors", Contributors);
30-
app.component("TitleWithContributors", TitleWithContributors);
3122
app.component("Card", Card);
23+
app.component("Contributors", Contributors);
3224
app.component("Image", Image);
3325
app.component("PluginCommands", PluginCommands);
26+
app.component("PluginLink", PluginLink);
27+
app.component("PluginSourceList", PluginSourceList);
28+
app.component("PluginsTable", PluginsTable);
29+
app.component("TitleWithContributors", TitleWithContributors);
3430
},
3531
};

apps/docs/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"typedoc": "^0.27.9",
1616
"unocss": "^66.1.1",
1717
"vite-plugin-posthog": "^2.1.0",
18-
"vitepress": "2.0.0-alpha.2",
18+
"vitepress": "2.0.0-alpha.5",
1919
"vue": "^3.5.13",
2020
"zod": "^3.24.4"
2121
},

apps/docs/plugins/index.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,4 @@ Every `Plugin` in `Hyprnote` is actually a [Tauri plugin](https://v2.tauri.app/d
88

99
Most likely, you'll be interested in plugins when you're **developing an `extension`** and want to use **TypeScript bindings** exposed by specific `plugin`.
1010

11-
Unlike [extensions](/extensions/index.md), all plugins are **enabled by default**. The only exception is platform-specific plugins like [apple-calendar](/plugins/apple-calendar).
12-
1311
<PluginsTable :data="data" />

apps/docs/plugins/listener.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,6 @@ id: listener
88

99
**{{ $frontmatter.description }}**
1010

11-
## Notes
12-
13-
- From [extensions](/extensions/index.md) perspective, `subscribe` command is all you need for most cases.
14-
- <a :href="sessionEvent">SessionEvent</a> will be received to the channel you provided.
15-
- It's safe to call `subscribe` multiple times, or before `start_session` is called.
16-
1711
## Commands
1812

1913
```ts-vue

apps/docs/plugins/template.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,12 @@ Also, there are [a few built-in filters and functions](https://github.com/fastre
1414

1515
## Notes
1616

17-
Template must be registered before rendering.
18-
1917
```ts
2018
await commands.registerTemplate("<TEMPLATE_NAME>", "<TEMPLATE_CONTENT>");
2119
const rendered = await commands.render("<TEMPLATE_NAME>", { a: 1 });
2220
```
2321

24-
For templates included in [extensions](/extensions/index.md), [`init`](https://github.com/fastrepl/hyprnote/blob/main/extensions/types.ts) function is perfect place to register them.
22+
Template must be registered before rendering.
2523

2624
```ts
2725
export default {

0 commit comments

Comments
 (0)