ni / semi-test-library-dotnet

Semiconductor Test Library
https://ni.github.io/semi-test-library-dotnet/
MIT License
3 stars 3 forks source link

Update gh-pages-deploy.yml Workflow to Include Docfx PDF Generation Step #100

Closed Mattjet27 closed 3 months ago

Mattjet27 commented 3 months ago

What does this Pull Request accomplish?

Updates the gh-pages-deploy.yml workflow to include an step to perform pdf generation with docfx.

It also removes the manual trigger on for the workflow as it is no longer needed.

Why should this Pull Request be merged?

This step is required for the download PDF button on the hosted GitHub pages site to work. Currently, it will return 404 page not found, since the PDF files are not being generated by the build step alone.

Reference: https://dotnet.github.io/docfx/docs/pdf.html

What testing has been done?

Manually tested this on VM, the added docfx pdf command generates the PDFs for the _site files as expected.