Skip to content

Commit

Permalink
DocFX update
Browse files Browse the repository at this point in the history
  • Loading branch information
Aragas committed Jan 7, 2024
1 parent cfc63ca commit ded755c
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docfx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: DocFX Setup
uses: butr/actions-docfx-setup@v3
uses: butr/actions-docfx-setup@v4
with:
docfx-version: 2.74.1
github-token: ${{secrets.GITHUB_TOKEN}}
Expand Down
15 changes: 15 additions & 0 deletions docs/_template/my-template/public/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
export default {
defaultTheme: 'dark',
iconLinks: [
{
icon: 'github',
href: 'https://github.com/BUTR/Bannerlord.UIExtenderEx',
title: 'GitHub'
},
{
icon: 'discord',
href: 'https://discord.gg/unBY2twS3V',
title: 'Discord'
}
]
}
4 changes: 2 additions & 2 deletions docs/docfx.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@
"template": [
"default",
"modern",
//"_template/last-modified"
"_template/last-modified"
],
"postProcessors": [
"ExtractSearchIndex",
//"LastModifiedPostProcessor"
"LastModifiedPostProcessor"
]
}
}
3 changes: 0 additions & 3 deletions docs/toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,3 @@
href: https://moddocs.bannerlord.com/
- name: Community Documentation
href: https://docs.bannerlordmodding.com/

- name: BUTR Discord
href: https://discord.gg/unBY2twS3V

0 comments on commit ded755c

Please sign in to comment.