Skip to content

Commit f08f649

Browse files
committed
update
1 parent d0a12c9 commit f08f649

File tree

77 files changed

+537
-478
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+537
-478
lines changed

.github/workflows/deploy.yml

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ name: Deploy to GitHub Pages
33
on:
44
# Allows you to run this workflow manually from the Actions tab on GitHub.
55
workflow_dispatch:
6+
# Trigger workflow when one of the data files was changed (check if separate jobs of gather-data each trigger this workflow separately)
7+
# push:
8+
# paths:
9+
# - '**/*.json'
610

711
# Allow this job to clone the repo and create a page deployment
812
permissions:
@@ -15,22 +19,21 @@ jobs:
1519
runs-on: ubuntu-latest
1620
steps:
1721
- name: Checkout your repository using git
18-
uses: actions/checkout@v3
22+
uses: actions/checkout@v4
1923
with:
2024
submodules: true
21-
- uses: oven-sh/setup-bun@v1
22-
with:
23-
bun-version: latest
24-
- name: install deps in submodule
25+
- name: Setup Bun
26+
uses: oven-sh/setup-bun@v2
27+
- name: Install dependencies
2528
run: |
29+
bun install --frozen-lockfile
2630
cd obsidian-meta-bind-plugin
2731
bun install --frozen-lockfile
2832
bun run pack:i
2933
cd ..
3034
- name: Install, build, and upload your site
31-
uses: withastro/action@v1
35+
uses: withastro/action@v3
3236
with:
33-
path: . # The root location of your Astro project inside the repository. (optional)
3437
# node-version: 18 # The specific version of Node that should be used to build your site. Defaults to 18. (optional)
3538
package-manager: bun@latest # The Node package manager that should be used to install dependencies and build your site. Automatically detected based on your lockfile. (optional)
3639

@@ -43,4 +46,4 @@ jobs:
4346
steps:
4447
- name: Deploy to GitHub Pages
4548
id: deployment
46-
uses: actions/deploy-pages@v1
49+
uses: actions/deploy-pages@v4

astro.config.mjs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -115,16 +115,6 @@ export default defineConfig({
115115
// contentRoot: './src/content/docs',
116116
// pageInclusionRules: ['!**/api/README.md', '**/api/**'],
117117
// },
118-
// // graphConfig: {
119-
// // depth: 5,
120-
// // trackVisitedPages: false,
121-
// // },
122-
// // storageLocation: 'none',
123-
// // contentRoot: './src/content/docs',
124-
// // include_sitemap: ['./api/*/**/*.md'],
125-
// // exclude_sitemap: ['**'],
126-
// // show_graph: ['api/**'],
127-
// // hide_graph: ['**', ''],
128118
// }),
129119
],
130120
}),

bun.lock

Lines changed: 71 additions & 29 deletions
Large diffs are not rendered by default.

package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,18 @@
1111
"format": "prettier --plugin prettier-plugin-astro --plugin prettier-plugin-svelte --write ."
1212
},
1313
"dependencies": {
14-
"@astrojs/starlight": "0.31.1",
15-
"astro": "5.1.9",
16-
"starlight-links-validator": "^0.14.1",
14+
"@astrojs/starlight": "0.32.0",
15+
"astro": "5.3.0",
16+
"starlight-links-validator": "^0.14.3",
1717
"starlight-site-graph": "^0.2.2",
18-
"starlight-typedoc": "^0.18.0",
19-
"typedoc": "^0.27.6",
20-
"typedoc-plugin-markdown": "^4.4.1",
21-
"typedoc-plugin-mdn-links": "^4.0.9",
18+
"starlight-typedoc": "^0.19.0",
19+
"typedoc": "^0.27.7",
20+
"typedoc-plugin-markdown": "^4.4.2",
21+
"typedoc-plugin-mdn-links": "^4.0.13",
2222
"typescript": "^5.7.3"
2323
},
2424
"devDependencies": {
25-
"prettier": "^3.4.2",
25+
"prettier": "^3.5.1",
2626
"prettier-plugin-astro": "^0.14.1",
2727
"prettier-plugin-svelte": "^3.3.3"
2828
}

src/content/docs/api/classes/FieldMountable.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ prev: false
55
title: "FieldMountable"
66
---
77

8-
Defined in: [packages/core/src/fields/FieldMountable.ts:4](https://github.com/mProjectsCode/obsidian-meta-bind-plugin/blob/43804cae2c305431d6768245a6348f2ee7f14fca/packages/core/src/fields/FieldMountable.ts#L4)
8+
Defined in: [packages/core/src/fields/FieldMountable.ts:4](https://github.com/mProjectsCode/obsidian-meta-bind-plugin/blob/164b4e159d0a9103f56c4079fbd94da824499fe4/packages/core/src/fields/FieldMountable.ts#L4)
99

1010
## Extends
1111

@@ -17,7 +17,7 @@ Defined in: [packages/core/src/fields/FieldMountable.ts:4](https://github.com/mP
1717

1818
> **new FieldMountable**(`plugin`, `uuid`, `filePath`): [`FieldMountable`](/obsidian-meta-bind-plugin-docs/api/classes/fieldmountable/)
1919
20-
Defined in: [packages/core/src/fields/FieldMountable.ts:9](https://github.com/mProjectsCode/obsidian-meta-bind-plugin/blob/43804cae2c305431d6768245a6348f2ee7f14fca/packages/core/src/fields/FieldMountable.ts#L9)
20+
Defined in: [packages/core/src/fields/FieldMountable.ts:9](https://github.com/mProjectsCode/obsidian-meta-bind-plugin/blob/164b4e159d0a9103f56c4079fbd94da824499fe4/packages/core/src/fields/FieldMountable.ts#L9)
2121

2222
#### Parameters
2323

@@ -82,15 +82,15 @@ Defined in: [packages/core/src/fields/FieldMountable.ts:9](https://github.com/mP
8282

8383
> `readonly` **plugin**: `IPlugin`
8484
85-
Defined in: [packages/core/src/fields/FieldMountable.ts:5](https://github.com/mProjectsCode/obsidian-meta-bind-plugin/blob/43804cae2c305431d6768245a6348f2ee7f14fca/packages/core/src/fields/FieldMountable.ts#L5)
85+
Defined in: [packages/core/src/fields/FieldMountable.ts:5](https://github.com/mProjectsCode/obsidian-meta-bind-plugin/blob/164b4e159d0a9103f56c4079fbd94da824499fe4/packages/core/src/fields/FieldMountable.ts#L5)
8686

8787
## Methods
8888

8989
### getFilePath()
9090

9191
> **getFilePath**(): `string`
9292
93-
Defined in: [packages/core/src/fields/FieldMountable.ts:21](https://github.com/mProjectsCode/obsidian-meta-bind-plugin/blob/43804cae2c305431d6768245a6348f2ee7f14fca/packages/core/src/fields/FieldMountable.ts#L21)
93+
Defined in: [packages/core/src/fields/FieldMountable.ts:21](https://github.com/mProjectsCode/obsidian-meta-bind-plugin/blob/164b4e159d0a9103f56c4079fbd94da824499fe4/packages/core/src/fields/FieldMountable.ts#L21)
9494

9595
#### Returns
9696

@@ -102,7 +102,7 @@ Defined in: [packages/core/src/fields/FieldMountable.ts:21](https://github.com/m
102102

103103
> **getTargetEl**(): `undefined` \| [`HTMLElement`](https://developer.mozilla.org/docs/Web/API/HTMLElement)
104104
105-
Defined in: [packages/core/src/utils/Mountable.ts:22](https://github.com/mProjectsCode/obsidian-meta-bind-plugin/blob/43804cae2c305431d6768245a6348f2ee7f14fca/packages/core/src/utils/Mountable.ts#L22)
105+
Defined in: [packages/core/src/utils/Mountable.ts:22](https://github.com/mProjectsCode/obsidian-meta-bind-plugin/blob/164b4e159d0a9103f56c4079fbd94da824499fe4/packages/core/src/utils/Mountable.ts#L22)
106106

107107
Get the element that the mountable is currently mounted to.
108108

@@ -120,7 +120,7 @@ Get the element that the mountable is currently mounted to.
120120

121121
> **getUuid**(): `string`
122122
123-
Defined in: [packages/core/src/fields/FieldMountable.ts:17](https://github.com/mProjectsCode/obsidian-meta-bind-plugin/blob/43804cae2c305431d6768245a6348f2ee7f14fca/packages/core/src/fields/FieldMountable.ts#L17)
123+
Defined in: [packages/core/src/fields/FieldMountable.ts:17](https://github.com/mProjectsCode/obsidian-meta-bind-plugin/blob/164b4e159d0a9103f56c4079fbd94da824499fe4/packages/core/src/fields/FieldMountable.ts#L17)
124124

125125
#### Returns
126126

@@ -132,7 +132,7 @@ Defined in: [packages/core/src/fields/FieldMountable.ts:17](https://github.com/m
132132

133133
> **isMounted**(): `boolean`
134134
135-
Defined in: [packages/core/src/utils/Mountable.ts:15](https://github.com/mProjectsCode/obsidian-meta-bind-plugin/blob/43804cae2c305431d6768245a6348f2ee7f14fca/packages/core/src/utils/Mountable.ts#L15)
135+
Defined in: [packages/core/src/utils/Mountable.ts:15](https://github.com/mProjectsCode/obsidian-meta-bind-plugin/blob/164b4e159d0a9103f56c4079fbd94da824499fe4/packages/core/src/utils/Mountable.ts#L15)
136136

137137
Check if the mountable is currently mounted.
138138

@@ -150,7 +150,7 @@ Check if the mountable is currently mounted.
150150

151151
> **mount**(`targetEl`): `void`
152152
153-
Defined in: [packages/core/src/utils/Mountable.ts:50](https://github.com/mProjectsCode/obsidian-meta-bind-plugin/blob/43804cae2c305431d6768245a6348f2ee7f14fca/packages/core/src/utils/Mountable.ts#L50)
153+
Defined in: [packages/core/src/utils/Mountable.ts:50](https://github.com/mProjectsCode/obsidian-meta-bind-plugin/blob/164b4e159d0a9103f56c4079fbd94da824499fe4/packages/core/src/utils/Mountable.ts#L50)
154154

155155
Mount the mountable to the given element.
156156
Will throw an error if the mountable is already mounted.
@@ -198,7 +198,7 @@ Will throw an error if the mountable is already mounted.
198198

199199
> **registerUnmountCb**(`cb`): `void`
200200
201-
Defined in: [packages/core/src/utils/Mountable.ts:91](https://github.com/mProjectsCode/obsidian-meta-bind-plugin/blob/43804cae2c305431d6768245a6348f2ee7f14fca/packages/core/src/utils/Mountable.ts#L91)
201+
Defined in: [packages/core/src/utils/Mountable.ts:91](https://github.com/mProjectsCode/obsidian-meta-bind-plugin/blob/164b4e159d0a9103f56c4079fbd94da824499fe4/packages/core/src/utils/Mountable.ts#L91)
202202

203203
Register a callback that will be called when the mountable is unmounted.
204204

@@ -245,7 +245,7 @@ Register a callback that will be called when the mountable is unmounted.
245245

246246
> **unmount**(): `void`
247247
248-
Defined in: [packages/core/src/utils/Mountable.ts:70](https://github.com/mProjectsCode/obsidian-meta-bind-plugin/blob/43804cae2c305431d6768245a6348f2ee7f14fca/packages/core/src/utils/Mountable.ts#L70)
248+
Defined in: [packages/core/src/utils/Mountable.ts:70](https://github.com/mProjectsCode/obsidian-meta-bind-plugin/blob/164b4e159d0a9103f56c4079fbd94da824499fe4/packages/core/src/utils/Mountable.ts#L70)
249249

250250
Unmount the mountable from the current element.
251251

src/content/docs/api/classes/Mountable.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ prev: false
55
title: "Mountable"
66
---
77

8-
Defined in: [packages/core/src/utils/Mountable.ts:1](https://github.com/mProjectsCode/obsidian-meta-bind-plugin/blob/43804cae2c305431d6768245a6348f2ee7f14fca/packages/core/src/utils/Mountable.ts#L1)
8+
Defined in: [packages/core/src/utils/Mountable.ts:1](https://github.com/mProjectsCode/obsidian-meta-bind-plugin/blob/164b4e159d0a9103f56c4079fbd94da824499fe4/packages/core/src/utils/Mountable.ts#L1)
99

1010
## Extended by
1111

@@ -17,7 +17,7 @@ Defined in: [packages/core/src/utils/Mountable.ts:1](https://github.com/mProject
1717

1818
> **new Mountable**(): [`Mountable`](/obsidian-meta-bind-plugin-docs/api/classes/mountable/)
1919
20-
Defined in: [packages/core/src/utils/Mountable.ts:6](https://github.com/mProjectsCode/obsidian-meta-bind-plugin/blob/43804cae2c305431d6768245a6348f2ee7f14fca/packages/core/src/utils/Mountable.ts#L6)
20+
Defined in: [packages/core/src/utils/Mountable.ts:6](https://github.com/mProjectsCode/obsidian-meta-bind-plugin/blob/164b4e159d0a9103f56c4079fbd94da824499fe4/packages/core/src/utils/Mountable.ts#L6)
2121

2222
#### Returns
2323

@@ -29,7 +29,7 @@ Defined in: [packages/core/src/utils/Mountable.ts:6](https://github.com/mProject
2929

3030
> **getTargetEl**(): `undefined` \| [`HTMLElement`](https://developer.mozilla.org/docs/Web/API/HTMLElement)
3131
32-
Defined in: [packages/core/src/utils/Mountable.ts:22](https://github.com/mProjectsCode/obsidian-meta-bind-plugin/blob/43804cae2c305431d6768245a6348f2ee7f14fca/packages/core/src/utils/Mountable.ts#L22)
32+
Defined in: [packages/core/src/utils/Mountable.ts:22](https://github.com/mProjectsCode/obsidian-meta-bind-plugin/blob/164b4e159d0a9103f56c4079fbd94da824499fe4/packages/core/src/utils/Mountable.ts#L22)
3333

3434
Get the element that the mountable is currently mounted to.
3535

@@ -43,7 +43,7 @@ Get the element that the mountable is currently mounted to.
4343

4444
> **isMounted**(): `boolean`
4545
46-
Defined in: [packages/core/src/utils/Mountable.ts:15](https://github.com/mProjectsCode/obsidian-meta-bind-plugin/blob/43804cae2c305431d6768245a6348f2ee7f14fca/packages/core/src/utils/Mountable.ts#L15)
46+
Defined in: [packages/core/src/utils/Mountable.ts:15](https://github.com/mProjectsCode/obsidian-meta-bind-plugin/blob/164b4e159d0a9103f56c4079fbd94da824499fe4/packages/core/src/utils/Mountable.ts#L15)
4747

4848
Check if the mountable is currently mounted.
4949

@@ -57,7 +57,7 @@ Check if the mountable is currently mounted.
5757

5858
> **mount**(`targetEl`): `void`
5959
60-
Defined in: [packages/core/src/utils/Mountable.ts:50](https://github.com/mProjectsCode/obsidian-meta-bind-plugin/blob/43804cae2c305431d6768245a6348f2ee7f14fca/packages/core/src/utils/Mountable.ts#L50)
60+
Defined in: [packages/core/src/utils/Mountable.ts:50](https://github.com/mProjectsCode/obsidian-meta-bind-plugin/blob/164b4e159d0a9103f56c4079fbd94da824499fe4/packages/core/src/utils/Mountable.ts#L50)
6161

6262
Mount the mountable to the given element.
6363
Will throw an error if the mountable is already mounted.
@@ -101,7 +101,7 @@ Will throw an error if the mountable is already mounted.
101101

102102
> **registerUnmountCb**(`cb`): `void`
103103
104-
Defined in: [packages/core/src/utils/Mountable.ts:91](https://github.com/mProjectsCode/obsidian-meta-bind-plugin/blob/43804cae2c305431d6768245a6348f2ee7f14fca/packages/core/src/utils/Mountable.ts#L91)
104+
Defined in: [packages/core/src/utils/Mountable.ts:91](https://github.com/mProjectsCode/obsidian-meta-bind-plugin/blob/164b4e159d0a9103f56c4079fbd94da824499fe4/packages/core/src/utils/Mountable.ts#L91)
105105

106106
Register a callback that will be called when the mountable is unmounted.
107107

@@ -144,7 +144,7 @@ Register a callback that will be called when the mountable is unmounted.
144144

145145
> **unmount**(): `void`
146146
147-
Defined in: [packages/core/src/utils/Mountable.ts:70](https://github.com/mProjectsCode/obsidian-meta-bind-plugin/blob/43804cae2c305431d6768245a6348f2ee7f14fca/packages/core/src/utils/Mountable.ts#L70)
147+
Defined in: [packages/core/src/utils/Mountable.ts:70](https://github.com/mProjectsCode/obsidian-meta-bind-plugin/blob/164b4e159d0a9103f56c4079fbd94da824499fe4/packages/core/src/utils/Mountable.ts#L70)
148148

149149
Unmount the mountable from the current element.
150150

src/content/docs/api/classes/NotePosition.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ prev: false
55
title: "NotePosition"
66
---
77

8-
Defined in: [packages/core/src/config/APIConfigs.ts:62](https://github.com/mProjectsCode/obsidian-meta-bind-plugin/blob/43804cae2c305431d6768245a6348f2ee7f14fca/packages/core/src/config/APIConfigs.ts#L62)
8+
Defined in: [packages/core/src/config/APIConfigs.ts:62](https://github.com/mProjectsCode/obsidian-meta-bind-plugin/blob/164b4e159d0a9103f56c4079fbd94da824499fe4/packages/core/src/config/APIConfigs.ts#L62)
99

1010
## Constructors
1111

1212
### new NotePosition()
1313

1414
> **new NotePosition**(`linePosition`): [`NotePosition`](/obsidian-meta-bind-plugin-docs/api/classes/noteposition/)
1515
16-
Defined in: [packages/core/src/config/APIConfigs.ts:65](https://github.com/mProjectsCode/obsidian-meta-bind-plugin/blob/43804cae2c305431d6768245a6348f2ee7f14fca/packages/core/src/config/APIConfigs.ts#L65)
16+
Defined in: [packages/core/src/config/APIConfigs.ts:65](https://github.com/mProjectsCode/obsidian-meta-bind-plugin/blob/164b4e159d0a9103f56c4079fbd94da824499fe4/packages/core/src/config/APIConfigs.ts#L65)
1717

1818
#### Parameters
1919

@@ -50,15 +50,15 @@ Defined in: [packages/core/src/config/APIConfigs.ts:65](https://github.com/mProj
5050

5151
> **linePosition**: `undefined` \| [`LinePosition`](/obsidian-meta-bind-plugin-docs/api/interfaces/lineposition/)
5252
53-
Defined in: [packages/core/src/config/APIConfigs.ts:63](https://github.com/mProjectsCode/obsidian-meta-bind-plugin/blob/43804cae2c305431d6768245a6348f2ee7f14fca/packages/core/src/config/APIConfigs.ts#L63)
53+
Defined in: [packages/core/src/config/APIConfigs.ts:63](https://github.com/mProjectsCode/obsidian-meta-bind-plugin/blob/164b4e159d0a9103f56c4079fbd94da824499fe4/packages/core/src/config/APIConfigs.ts#L63)
5454

5555
## Methods
5656

5757
### getPosition()
5858

5959
> **getPosition**(): `undefined` \| [`LinePosition`](/obsidian-meta-bind-plugin-docs/api/interfaces/lineposition/)
6060
61-
Defined in: [packages/core/src/config/APIConfigs.ts:69](https://github.com/mProjectsCode/obsidian-meta-bind-plugin/blob/43804cae2c305431d6768245a6348f2ee7f14fca/packages/core/src/config/APIConfigs.ts#L69)
61+
Defined in: [packages/core/src/config/APIConfigs.ts:69](https://github.com/mProjectsCode/obsidian-meta-bind-plugin/blob/164b4e159d0a9103f56c4079fbd94da824499fe4/packages/core/src/config/APIConfigs.ts#L69)
6262

6363
#### Returns
6464

0 commit comments

Comments
 (0)