Skip to content

Commit

Permalink
Update docfx config
Browse files Browse the repository at this point in the history
  • Loading branch information
Apollo3zehn committed Feb 21, 2024
1 parent df9b583 commit 5c5b93e
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 240 deletions.
39 changes: 24 additions & 15 deletions doc/docfx.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,24 +6,26 @@
"files": [
"**/*.csproj"
],
"src": "./../src"
"src": "../src"
}
],
"dest": "./api",
"dest": "api",
"filter": "filterConfig.yml",
"properties": {
"TargetFramework": "netstandard2.1"
}
},
"includePrivateMembers": false,
"disableGitFeatures": false,
"disableDefaultFilter": false,
"noRestore": false,
"namespaceLayout": "flattened",
"memberLayout": "samePage",
"EnumSortOrder": "alphabetic",
"allowCompilationErrors": false
}
],
"build": {
"content": [
{
"files": [
"*.md",
"toc.yml"
]
},
{
"files": [
"api/**.yml",
Expand All @@ -33,7 +35,9 @@
{
"files": [
"samples/**.md",
"samples/**/toc.yml"
"samples/**/toc.yml",
"toc.yml",
"*.md"
]
}
],
Expand All @@ -44,15 +48,20 @@
]
}
],
"dest": "_site",
"output": "_site",
"globalMetadata": {
"_appTitle": "FluentModbus",
"_appFooter": "Copyright © 2019 Vincent Wilms",
"_appFaviconPath": "images/icon.ico",
"_appFooter": "Copyright © 2024 Vincent Wilms",
"_appFaviconPath": "images/icon.png",
"_appLogoPath": "images/logo.svg"
},
"fileMetadataFiles": [],
"template":["default","templates/material"],
"markdownEngineName": "markdig"
"template": [
"default",
"modern"
],
"postProcessors": [],
"keepFileLink": false,
"disableGitFeatures": false
}
}
2 changes: 1 addition & 1 deletion doc/samples/modbus_tcp.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ static void DoClientWork(ModbusTcpClient client, ILogger logger)
Span<byte> data;

var sleepTime = TimeSpan.FromMilliseconds(100);
var unitIdentifier = 0xFF;
var unitIdentifier = 0x00;
var startingAddress = 0;
var registerAddress = 0;

Expand Down
21 changes: 0 additions & 21 deletions doc/templates/material/partials/head.tmpl.partial

This file was deleted.

202 changes: 0 additions & 202 deletions doc/templates/material/styles/main.css

This file was deleted.

2 changes: 1 addition & 1 deletion doc/toc.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
- name: Samples
href: samples/

- name: Api Documentation
- name: API
href: api/

0 comments on commit 5c5b93e

Please sign in to comment.