mirror of
https://github.com/pyTooling/Actions.git
synced 2026-02-12 02:56:56 +08:00
Replacing BuildTheDocs.
This commit is contained in:
9
.btd.yml
9
.btd.yml
@@ -1,9 +0,0 @@
|
|||||||
input: doc
|
|
||||||
output: _build
|
|
||||||
requirements: requirements.txt
|
|
||||||
target: gh-pages
|
|
||||||
formats: [ html ]
|
|
||||||
images:
|
|
||||||
base: btdi/sphinx:pytooling
|
|
||||||
latex: btdi/latex
|
|
||||||
theme: https://codeload.GitHub.com/buildthedocs/sphinx.theme/tar.gz/v1
|
|
||||||
25
.github/workflows/_Checking_Pipeline.yml
vendored
25
.github/workflows/_Checking_Pipeline.yml
vendored
@@ -117,11 +117,34 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).documentation_html }}
|
artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).documentation_html }}
|
||||||
|
|
||||||
|
HTMLDocumentation:
|
||||||
|
uses: pyTooling/Actions/.github/workflows/SphinxDocumentation.yml@py313
|
||||||
|
needs:
|
||||||
|
- UnitTestingParams
|
||||||
|
# - VerifyDocs
|
||||||
|
with:
|
||||||
|
python_version: ${{ needs.UnitTestingParams.outputs.python_version }}
|
||||||
|
# unittest_xml_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).unittesting_xml }}
|
||||||
|
# coverage_json_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).codecoverage_json }}
|
||||||
|
html_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).documentation_html }}
|
||||||
|
latex_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).documentation_latex }}
|
||||||
|
|
||||||
|
PDFDocumentation:
|
||||||
|
uses: pyTooling/Actions/.github/workflows/LaTeXDocumentation.yml@r1
|
||||||
|
needs:
|
||||||
|
- UnitTestingParams
|
||||||
|
- HTMLDocumentation
|
||||||
|
with:
|
||||||
|
document: actions
|
||||||
|
latex_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).documentation_latex }}
|
||||||
|
pdf_artifact: ${{ fromJson(needs.UnitTestingParams.outputs.artifact_names).documentation_pdf }}
|
||||||
|
|
||||||
PublishToGitHubPages:
|
PublishToGitHubPages:
|
||||||
uses: pyTooling/Actions/.github/workflows/PublishToGitHubPages.yml@py313
|
uses: pyTooling/Actions/.github/workflows/PublishToGitHubPages.yml@py313
|
||||||
needs:
|
needs:
|
||||||
- UnitTestingParams
|
- UnitTestingParams
|
||||||
- BuildTheDocs
|
- HTMLDocumentation
|
||||||
|
- PDFDocumentation
|
||||||
# - Coverage
|
# - Coverage
|
||||||
- PublishCoverageResults
|
- PublishCoverageResults
|
||||||
- StaticTypeCheck
|
- StaticTypeCheck
|
||||||
|
|||||||
@@ -186,7 +186,6 @@ extensions = [
|
|||||||
# SphinxContrib extensions
|
# SphinxContrib extensions
|
||||||
"sphinxcontrib.mermaid",
|
"sphinxcontrib.mermaid",
|
||||||
# Other extensions
|
# Other extensions
|
||||||
"sphinx_fontawesome",
|
|
||||||
"sphinx_autodoc_typehints",
|
"sphinx_autodoc_typehints",
|
||||||
"sphinx_inline_tabs",
|
"sphinx_inline_tabs",
|
||||||
"autoapi.sphinx",
|
"autoapi.sphinx",
|
||||||
|
|||||||
Reference in New Issue
Block a user