Skip to content

Commit 71a711f

Browse files
committed
[Docs] Disable Jekyll on GitHub pages
1 parent b7f4543 commit 71a711f

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/docs.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,12 @@ jobs:
216216
run: dotnet build -t:docfx --no-restore
217217
shell: powershell
218218
working-directory: ${{ env.WORKSPACE_PATH }}
219-
env:
220-
DOCFX_BASE_URL: ${{ steps.pages.outputs.base_url }}
219+
working-directory: ${{ env.WORKSPACE_PATH }}
220+
221+
222+
- name: Create .nojekyll
223+
run: New-Item -Path "${{ env.WORKSPACE_PATH }}/docs/_build/_site/.nojekyll" -ItemType File -Force
224+
shell: powershell
221225

222226
- name: Upload Pages artifact
223227
uses: actions/upload-pages-artifact@v3

docs/_build/docfx/footer.html.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515
</style>
1616
<div class="container-xxl">
1717
<div class="flex-fill">
18-
<span>© 2022-{{YEAR}} Videre Project. Licensed under <a href="/LICENSE">Apache-2.0</a>.</span>
18+
<span>© 2022-{{YEAR}} Videre Project. Licensed under <a href="https://github.com/videre-project/MTGOSDK/blob/main/LICENSE">Apache-2.0</a>.</span>
1919
</div>
2020
</div>

0 commit comments

Comments
 (0)