Skip to content

Commit 2d2ccc2

Browse files
committed
Add GitHub icon
1 parent f51e1b7 commit 2d2ccc2

File tree

3 files changed

+19
-1
lines changed

3 files changed

+19
-1
lines changed

docs/docfx.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@
3939
"output": "_site",
4040
"template": [
4141
"default",
42-
"modern"
42+
"modern",
43+
"template"
4344
],
4445
"globalMetadata": {
4546
"_appLogoPath": "styles/img/favicon.png",

docs/template/public/main.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/* From https://github.com/dotnet/docfx/discussions/9644 */
2+
3+
body {
4+
--bs-link-color-rgb: 66, 184, 131 !important;
5+
--bs-link-hover-color-rgb: 64, 180, 128 !important;
6+
}

docs/template/public/main.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// From https://github.com/dotnet/docfx/discussions/9644
2+
3+
export default {
4+
iconLinks: [
5+
{
6+
icon: 'github',
7+
href: 'https://github.com/json-api-dotnet/JsonApiDotNetCore',
8+
title: 'GitHub'
9+
}
10+
]
11+
}

0 commit comments

Comments
 (0)