Skip to content

Commit 1a87566

Browse files
committed
2 parents 5281b40 + 1968b07 commit 1a87566

File tree

7 files changed

+20
-142
lines changed

7 files changed

+20
-142
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Unity CI
33
on: [ push, pull_request ]
44

55
permissions:
6-
contents: read
6+
contents: write
77
pages: write
88
id-token: write
99

@@ -105,11 +105,15 @@ jobs:
105105
dotnet-version: 9.x
106106

107107
- name: Install DocFX
108-
run: dotnet tool update -g docfx
108+
run: |
109+
dotnet tool update -g docfx
110+
docfx template install default
111+
docfx template install material-design
109112
110113
- name: Build Documentation
111114
working-directory: team_project # 进入项目目录
112115
run: |
116+
docfx metadata Documentation/docfx.json
113117
docfx build Documentation/docfx.json
114118
115119
- name: Upload artifact

final-report-88.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
Race through a detailed and immersive map inspired by SUSTech’s campus.
66

77
2. **Regular Racing Mode**
8-
Classic racing for speed enthusiasts.
8+
Classic time trial mode for speed enthusiasts.
99

1010
3. **Item Race**
11-
Use power-ups and items to outsmart opponents.
11+
A solo time trial mode with item boxes—collect random power-ups to boost your performance or add challenges.
1212

1313
4. **Electric Vehicles vs Security Guard (PvE Mode)**
14-
A unique player-vs-environment challenge.
14+
Outrun an AI-controlled security guard in this thrilling PvE challenge—get caught and the race is over!
1515

1616
5. **Racing with Friends**
1717
Connect with your friends via local networks and have a race together!

team_project/Documentation/docfx.json

Lines changed: 11 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -26,32 +26,23 @@
2626
}
2727
],
2828
"build": {
29+
"template": ["default", "material-design"],
30+
"exportApiNamespaceToc": true,
2931
"globalMetadata": {
30-
"_appTitle": "Example Unity documentation",
31-
"_appFooter": "Example Unity documentation",
32-
"_enableSearch": true
32+
"_appTitle": "SUSTech Racing Car Documentation",
33+
"_appFooter": "Generated by DocFX",
34+
"_enableSearch": true,
35+
36+
"_appLandingPage": "index.html",
37+
"_namespaceLayout": "NamespaceLayout.html"
3338
},
3439
"content": [
35-
{
36-
"files": [
37-
"toc.yml",
38-
"index.md"
39-
]
40-
},
4140
{
4241
"src": "api",
4342
"files": [
4443
"*.yml"
4544
],
46-
"dest": "api"
47-
},
48-
{
49-
"src": "manual",
50-
"files": [
51-
"toc.yml",
52-
"*.md"
53-
],
54-
"dest": "manual"
45+
"dest": "./"
5546
}
5647
],
5748
"overwrite": [
@@ -84,6 +75,7 @@
8475
"xrefService": [
8576
"https://xref.docs.microsoft.com/query?uid={uid}"
8677
],
87-
"dest": "../_site"
78+
"dest": "../_site",
79+
"homepage": "index.html"
8880
}
8981
}

team_project/Documentation/manual/coniunctis.md

Lines changed: 0 additions & 50 deletions
This file was deleted.

team_project/Documentation/manual/etiam.md

Lines changed: 0 additions & 68 deletions
This file was deleted.
-72.9 KB
Binary file not shown.
-43.3 KB
Binary file not shown.

0 commit comments

Comments
 (0)