Skip to content

Commit 9d531a1

Browse files
committed
add start of docs
1 parent ae67f4d commit 9d531a1

35 files changed

+450
-3
lines changed

.github/workflows/dotnet.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,21 @@ jobs:
5555
name: packages
5656
path: "${{env.BUILD_PATH}}"
5757

58+
- name: Install docfx
59+
if: success() && github.event_name != 'pull_request' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v'))
60+
run: dotnet tool update -g docfx
61+
62+
- name: Create Documentation
63+
if: success() && github.event_name != 'pull_request' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v'))
64+
run: docfx docs/docfx.json
65+
66+
- name: Upload Documentation
67+
if: success() && github.event_name != 'pull_request' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v'))
68+
uses: actions/upload-pages-artifact@v3
69+
with:
70+
name: github-pages
71+
path: "docs/_site/"
72+
5873
deploy:
5974
runs-on: ubuntu-latest
6075
needs: build
@@ -87,3 +102,21 @@ jobs:
87102
echo "${0##*/}": Pushing $package...
88103
dotnet nuget push $package --source https://api.nuget.org/v3/index.json --api-key ${{ secrets.NUGET_KEY }} --skip-duplicate
89104
done
105+
106+
pages:
107+
runs-on: ubuntu-latest
108+
needs: build
109+
if: success() && github.event_name != 'pull_request' && (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/v'))
110+
111+
permissions:
112+
pages: write
113+
id-token: write
114+
115+
steps:
116+
- name: Deploy Documentation
117+
id: deployment
118+
uses: actions/deploy-pages@v4
119+
120+
environment:
121+
name: github-pages
122+
url: ${{ steps.deployment.outputs.page_url }}

docs/assets/logo.png

4.89 KB
Loading

docs/docfx.json

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
{
2+
"metadata": [
3+
{
4+
"src": [
5+
{
6+
"files": [
7+
"**/*.csproj"
8+
],
9+
"exclude": [
10+
"**/bin/**",
11+
"**/obj/**"
12+
],
13+
"src": "../src"
14+
}
15+
],
16+
"dest": "reference",
17+
"properties": {
18+
"TargetFramework": "net9.0"
19+
}
20+
}
21+
],
22+
"build": {
23+
"content": [
24+
"**/*.{md,yml}"
25+
],
26+
"resource": [
27+
"**/assets/**"
28+
],
29+
"postProcessors": [
30+
"ExtractSearchIndex"
31+
],
32+
"globalMetadata": {
33+
"_appTitle": "Arbiter",
34+
"_appName": "Arbiter",
35+
"_appFooter": "Copyright © 2025 LoreSoft",
36+
"_appLogoPath": "assets/logo.png",
37+
"_appFaviconPath": "assets/logo.png",
38+
"_enableSearch": true
39+
},
40+
"sitemap": {
41+
"baseUrl": "https://loresoft.com/Arbiter",
42+
"priority": 0.5,
43+
"changefreq": "daily"
44+
},
45+
"output": "_site",
46+
"template": [
47+
"default",
48+
"modern",
49+
"template"
50+
]
51+
}
52+
}

docs/guide/behaviors/abstracts.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Behavior Abstracts
2+
3+
Abstract base classes for behaviors

docs/guide/behaviors/audit.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Audit Behavior
2+
3+
Behavior for automatically setting created and updated properties

docs/guide/behaviors/caching.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Caching Behavior

docs/guide/behaviors/delete.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Soft Delete Behavior

docs/guide/behaviors/tenant.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Multi Tenant Behavior

docs/guide/behaviors/validation.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Validation Behavior

docs/guide/commands/abstracts.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Command Abstracts
2+
3+
Abstract base classes for commands

0 commit comments

Comments
 (0)