diff --git a/.github/workflows/docfx.yml b/.github/workflows/docfx.yml index 1f7ed1a1..271103d4 100644 --- a/.github/workflows/docfx.yml +++ b/.github/workflows/docfx.yml @@ -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}} diff --git a/docs/_template/my-template/public/main.js b/docs/_template/my-template/public/main.js new file mode 100644 index 00000000..08cc657a --- /dev/null +++ b/docs/_template/my-template/public/main.js @@ -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' + } + ] +} \ No newline at end of file diff --git a/docs/docfx.json b/docs/docfx.json index f879f890..40e05817 100644 --- a/docs/docfx.json +++ b/docs/docfx.json @@ -35,11 +35,11 @@ "template": [ "default", "modern", - //"_template/last-modified" + "_template/last-modified" ], "postProcessors": [ "ExtractSearchIndex", - //"LastModifiedPostProcessor" + "LastModifiedPostProcessor" ] } } diff --git a/docs/toc.yml b/docs/toc.yml index 82db1929..bf0a9369 100644 --- a/docs/toc.yml +++ b/docs/toc.yml @@ -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 \ No newline at end of file