Skip to content

Commit 82fcc1d

Browse files
committed
feat: updated images and releases page
1 parent 1172c7f commit 82fcc1d

File tree

139 files changed

+3136
-1493
lines changed

Some content is hidden

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

139 files changed

+3136
-1493
lines changed

.github/workflows/release.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,30 @@
1-
name: CI/CD Release
2-
run-name: Release
1+
name: Publish Docs
32

43
on:
54
push:
65
branches:
76
- main
7+
workflow_dispatch:
88

99
permissions:
1010
contents: write
1111
id-token: write
1212

1313
jobs:
14-
site-release:
14+
publish-website:
1515
name: Deploy
1616
runs-on: ubuntu-latest
1717
steps:
1818
- name: Checkout repository 🛎️
1919
uses: actions/checkout@v4
2020

2121
- name: Setup Bun 📦
22-
uses: sliit-foss/actions/bun/setup@v1.1
22+
uses: oven-sh/setup-bun@v2
23+
with:
24+
bun-version: 1.2.13
25+
26+
- name: Install dependencies 🔧
27+
run: bun install
2328

2429
- name: Deploy 🚀
2530
run: |

.prettierrc

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"printWidth": 120,
3+
"bracketSameLine": true,
4+
"bracketSpacing": true,
5+
"singleQuote": true,
6+
"quoteProps": "consistent",
7+
"trailingComma": "none",
8+
"plugins": [
9+
"@ianvs/prettier-plugin-sort-imports"
10+
],
11+
"importOrderParserPlugins": [
12+
"typescript",
13+
"jsx",
14+
"decorators-legacy"
15+
],
16+
"importOrder": [
17+
"^(react|@react*(.*)$)",
18+
"^(@docusaurus)",
19+
"<THIRD_PARTY_MODULES>",
20+
"^(@/*(.*)$)",
21+
"^[./]",
22+
"^(?!.*[.]css$)[./].*$",
23+
".css$"
24+
]
25+
}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ This command generates static content into the `build` directory and can be serv
2626

2727
### Deployment
2828

29-
Deployment is done automatically by GitHub Actions. The `gh-pages` branch is used to host the website.
29+
Deployment is done automatically by GitHub Actions. The `gh-pages` branch is used to host the website.

babel.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module.exports = {
2-
presets: [require.resolve('@docusaurus/core/lib/babel/preset')],
2+
presets: [require.resolve('@docusaurus/core/lib/babel/preset')]
33
};

bun.lock

Lines changed: 2775 additions & 0 deletions
Large diffs are not rendered by default.

bun.lockb

-446 KB
Binary file not shown.

commitlint.config.cjs

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
module.exports = {
2+
extends: ['@commitlint/config-conventional'],
3+
rules: {
4+
'type-enum': [
5+
2,
6+
'always',
7+
[
8+
'feat!',
9+
'feat',
10+
'fix',
11+
'patch',
12+
'chore',
13+
'build',
14+
'perf',
15+
'refactor',
16+
'revert',
17+
'ci',
18+
'style',
19+
'test',
20+
'docs',
21+
'debug',
22+
'wip'
23+
]
24+
],
25+
'type-case': [0],
26+
'subject-case': [0]
27+
}
28+
};

docs/auditing/enable-auditing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ CastleModel.EnableAuditing()
1818

1919
## TODO
2020

21-
- [ ] Implement concurrency control to make sure that the same audit log is not written multiple times.
21+
- [ ] Implement concurrency control to make sure that the same audit log is not written multiple times.

docs/auditing/the-audit-model.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ sidebar_position: 2
44

55
# The Audit Model
66

7-
The Audit model is a special model that is used to log changes to other models. It is used to track changes to documents in the database.
7+
The Audit model is a special model that is used to log changes to other models. It is used to track changes to documents in the database.
88

99
```go
1010
var AuditModel = NewModel[Audit]("Audit", NewSchema(map[string]Field{
@@ -35,4 +35,4 @@ The above fields can be described as follows:
3535

3636
- **Document**: The document that was changed. This is a map of field names to their values.
3737

38-
- **User**: The user who made the change. This is read from the context key `user` and you are responsible for setting it. The context can be passed into the `EnableAuditing` method when auditing is enabled.
38+
- **User**: The user who made the change. This is read from the context key `user` and you are responsible for setting it. The context can be passed into the `EnableAuditing` method when auditing is enabled.

docs/benchmarks/cyclomatic-complexity/connect.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ Compares the cyclomatic complexity of connecting to a MongoDB database using Ele
88

99
## Results
1010

11-
<img width="672" alt="image" src="https://github.com/user-attachments/assets/cdea52e4-001b-43af-8698-157ea3cd6aa7"/>
11+
<img width="672" alt="image" src="https://github.com/user-attachments/assets/cdea52e4-001b-43af-8698-157ea3cd6aa7"/>

0 commit comments

Comments
 (0)