Skip to content

Commit 4c338eb

Browse files
authored
Merge pull request #19 from harp-tech/modern-theme
Add docfx-tools template and update website layout
2 parents 3d9aef9 + f76fdd0 commit 4c338eb

39 files changed

Lines changed: 2276 additions & 223 deletions

.config/dotnet-tools.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,11 @@
33
"isRoot": true,
44
"tools": {
55
"docfx": {
6-
"version": "2.73.1",
6+
"version": "2.78.2",
77
"commands": [
88
"docfx"
9-
]
9+
],
10+
"rollForward": false
1011
}
1112
}
1213
}

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Setup .NET Core SDK
2828
uses: actions/setup-dotnet@v4
2929
with:
30-
dotnet-version: 7.x
30+
dotnet-version: 8.x
3131

3232
- name: Custom Build Steps
3333
run: .\build.ps1

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,6 @@
4040
[submodule "python"]
4141
path = python
4242
url = https://github.com/harp-tech/harp-python.git
43+
[submodule "docfx-tools"]
44+
path = docfx-tools
45+
url = https://github.com/bonsai-rx/docfx-tools.git

articles/intro.md

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

articles/toc.yml

Lines changed: 21 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,24 @@
1-
- name: About
2-
items:
3-
- name: What is Harp
4-
href: about.md
1+
- name: Get started
2+
- name: Basic Concepts
3+
href: about.md
4+
- name: Quick Start
5+
href: ../index.md
56
- name: Protocol
6-
items:
7-
- name: Binary Protocol
8-
href: ~/protocol/BinaryProtocol-8bit.md
9-
- name: Common Registers
10-
href: ~/protocol/Device.md
11-
- name: Synchronization Clock
12-
href: ~/protocol/SynchronizationClock.md
7+
- name: Binary Protocol
8+
href: ../protocol/BinaryProtocol-8bit.md
9+
- name: Common Registers
10+
href: ../protocol/Device.md
11+
- name: Synchronization Clock
12+
href: ../protocol/SynchronizationClock.md
1313
- name: Control Interface
14-
items:
15-
- name: Quickstart
16-
href: intro.md
17-
- name: Operators
18-
href: operators.md
19-
- name: Firmware
20-
href: firmware.md
21-
- name: Logging
22-
href: logging.md
23-
- name: Message Manipulation
24-
href: message-manipulation.md
14+
- name: Operators
15+
href: operators.md
16+
- name: Firmware
17+
href: firmware.md
18+
- name: Logging
19+
href: logging.md
20+
- name: Message Manipulation
21+
href: message-manipulation.md
2522
- name: Data Interface
26-
items:
27-
- name: Python
28-
href: python.md
23+
- name: Python
24+
href: python.md

docfx-tools

Submodule docfx-tools added at 0ab0799

docfx.json

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@
1616
],
1717
"dest": "api",
1818
"filter": "filter.yml",
19-
"enumSortOrder": "declaringOrder",
20-
"disableGitFeatures": false,
21-
"disableDefaultFilter": false
19+
"enumSortOrder": "declaringOrder"
2220
}
2321
],
2422
"build": {
@@ -47,8 +45,6 @@
4745
"resource": [
4846
{
4947
"files": [
50-
"logo.svg",
51-
"favicon.ico",
5248
"src/device.*/Assets/*.png",
5349
"src/device.*/Assets/*.jpg",
5450
"protocol/assets/**",
@@ -78,7 +74,7 @@
7874
"globalMetadata": {
7975
"_enableNewTab": true,
8076
"_enableSearch": true,
81-
"_appFooter": "<span>&copy; 2023 harp-tech and Contributors</span> - <span>Licensed under <a href=\"https://creativecommons.org/licenses/by-sa/4.0/\">CC BY-SA 4.0</a>.</span> - <span>Made with <a href=\"https://dotnet.github.io/docfx\">docfx</a></span>",
77+
"_appFooter": "<span>&copy; 2025 harp-tech and Contributors</span> - <span>Licensed under <a href=\"https://creativecommons.org/licenses/by-sa/4.0/\">CC BY-SA 4.0</a>.</span> - <span>Made with <a href=\"https://dotnet.github.io/docfx\">docfx</a></span>",
8278
"_gitContribute": {
8379
"repo": "https://github.com/harp-tech/harp-tech.github.io",
8480
"branch": "main",
@@ -91,9 +87,9 @@
9187
"template": [
9288
"default",
9389
"modern",
90+
"docfx-tools/template",
9491
"template"
9592
],
96-
"postProcessors": [ "ExtractSearchIndex" ],
9793
"markdownEngineName": "markdig",
9894
"markdownEngineProperties": {
9995
"markdigExtensions": [

0 commit comments

Comments
 (0)