diff --git a/.github/workflows/docfx.yml b/.github/workflows/docfx.yml index 556f434..e46ef08 100644 --- a/.github/workflows/docfx.yml +++ b/.github/workflows/docfx.yml @@ -9,14 +9,20 @@ jobs: runs-on: ubuntu-latest name: Publish Documentation steps: - - uses: actions/checkout@v3 - - uses: nikeee/docfx-action@v1.0.0 - name: Build Documentation - with: - args: docfx_project/docfx.json - - uses: maxheld83/ghpages@master - name: Publish Documentation on GitHub Pages - env: - BUILD_DIR: docfx_project/_site - GH_PAT: ${{ secrets.GH_PAT }} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Checkout + uses: actions/checkout@v3 + + - name: Copy favicon + run: cp brandin_Icon.png docfx_project/images/favicon.png + + - name: Build documentation + uses: nikeee/docfx-action@v1.0.0 + with: + args: docfx_project/docfx.json + + - name: Publish documentation on GitHub Pages + uses: maxheld83/ghpages@master + env: + BUILD_DIR: docfx_project/_site + GH_PAT: ${{ secrets.GH_PAT }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/docfx_project/docfx.json b/docfx_project/docfx.json index 304c063..4cc5662 100644 --- a/docfx_project/docfx.json +++ b/docfx_project/docfx.json @@ -51,7 +51,19 @@ } ], "dest": "_site", - "globalMetadataFiles": [], + "globalMetadata": { + "_appTitle": "X10D", + "_appName": "X10D", + "_appFaviconPath": "images/favicon.png", + "_appLogoPath": "images/favicon.png", + "_appFooter": "DocFX + Singulink = ♥", + "_copyrightFooter": "© Singulink. All rights reserved.", + "_enableSearch": true, + "_disableSideFilter": false, + "_enableNewTab": true, + "_disableContribution": false, + "_disableBreadcrumb": false, + }, "fileMetadataFiles": [], "template": [ "default", "templates/singulinkfx"