From 985e10835fd7783168d68592db1e9967f521921e Mon Sep 17 00:00:00 2001 From: Anthony Truskinger Date: Tue, 16 Feb 2021 23:20:16 +1000 Subject: [PATCH] Minor fixes to docs corrects invocation of publish docs script fixes a bad reference to technical's toc --- .github/workflows/docs.yml | 2 +- build/generate_docs.ps1 | 2 +- docs/pdf/toc.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index fa90ac48f..386d3f7df 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -55,7 +55,7 @@ jobs: shell: pwsh env: NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} - run: ./build/publish_docs.ps1 --prod:('${{ github.event_name }}' -eq 'push') + run: ./build/publish_docs.ps1 -prod:('${{ github.event_name }}' -eq 'push') - name: Publish deploy URL to a Github Status uses: Sibz/github-status-action@v1 diff --git a/build/generate_docs.ps1 b/build/generate_docs.ps1 index 0cb5473db..60cb27ac6 100644 --- a/build/generate_docs.ps1 +++ b/build/generate_docs.ps1 @@ -39,7 +39,7 @@ try { $xref_content = @" {"references":[{"uid":"invariant_ap_manual_ref","name":"Download AP PDF","href":"$pdf_name","fullName":"PDF Download for AP.exe docs version ${Env:AP_Version}"}]} "@ - Set-Content -Encoding utf8NoBOM -Path "pdf_xrefmap.yml" -Value $xref_content + $xref_content | Set-Content -Encoding utf8NoBOM -Path "pdf_xrefmap.yml" -Force log "Building docs" "Build docs" diff --git a/docs/pdf/toc.yml b/docs/pdf/toc.yml index 16f7aa535..8dabfb2ca 100644 --- a/docs/pdf/toc.yml +++ b/docs/pdf/toc.yml @@ -7,4 +7,4 @@ - name: Guides href: ../guides/toc.yml - name: Technical - href: ../technical.yml \ No newline at end of file + href: ../technical/toc.yml \ No newline at end of file