Skip to content

Commit

Permalink
Merge branch 'main' into post_processor_refacto
Browse files Browse the repository at this point in the history
  • Loading branch information
gmalinve committed Apr 11, 2024
2 parents 7fd4007 + e9c7290 commit 82d3661
Show file tree
Hide file tree
Showing 15 changed files with 15 additions and 126 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/build_documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,12 @@ jobs:
run: |
make -C doc pdf-no-examples
- name: Add assets to HTML docs
run: |
zip -r documentation-html.zip ./doc/_build/html
mv documentation-html.zip ./doc/_build/html/_static/assets/download/
cp doc/_build/latex/PyAEDT-Documentation-*.pdf ./doc/_build/html/_static/assets/download/pyaedt.pdf
- name: Upload documentation PDF artifact
uses: actions/upload-artifact@v4
with:
Expand Down
6 changes: 6 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,12 @@ repos:
- id: blacken-docs
additional_dependencies: [black==24.3.0]

# This validates our pre-commit.ci configuration
- repo: https://github.com/pre-commit-ci/pre-commit-ci-config
rev: v1.6.1
hooks:
- id: check-pre-commit-ci-config


# - repo: https://github.com/numpy/numpydoc
# rev: v1.6.0
Expand Down
2 changes: 1 addition & 1 deletion doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ phtml-no-examples:
pdf:
@$(SPHINXBUILD) -M latex "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
cd $(BUILDDIR)/latex && latexmk -r latexmkrc -pdf *.tex -interaction=nonstopmode || true
(test -f $(BUILDDIR)/latex/pyaedt.pdf && echo pdf exists) || exit 1
(test -f $(BUILDDIR)/latex/PyAEDT-Documentation-*.pdf && echo pdf exists) || exit 1

pdf-no-examples:
export PYAEDT_SKIP_EXAMPLE="1"
Expand Down
1 change: 1 addition & 0 deletions doc/source/_static/assets/download/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Downloadable assets are stored here.
Binary file removed doc/source/_static/assets/index_api.png
Binary file not shown.
23 changes: 0 additions & 23 deletions doc/source/_static/assets/index_api.svg

This file was deleted.

Binary file removed doc/source/_static/assets/index_contribute.png
Binary file not shown.
19 changes: 0 additions & 19 deletions doc/source/_static/assets/index_contribute.svg

This file was deleted.

Binary file removed doc/source/_static/assets/index_examples.png
Binary file not shown.
22 changes: 0 additions & 22 deletions doc/source/_static/assets/index_examples.svg

This file was deleted.

Binary file removed doc/source/_static/assets/index_getting_started.png
Binary file not shown.
25 changes: 0 additions & 25 deletions doc/source/_static/assets/index_getting_started.svg

This file was deleted.

Binary file removed doc/source/_static/assets/index_user_guide.png
Binary file not shown.
36 changes: 0 additions & 36 deletions doc/source/_static/assets/index_user_guide.svg

This file was deleted.

1 change: 1 addition & 0 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,7 @@ def setup(app):
},
{
"name": "Download documentation in PDF",
# NOTE: Changes to this URL must be reflected in CICD documentation build
"url": f"https://{cname}/version/{switcher_version}/_static/assets/download/pyaedt.pdf",
# noqa: E501
"icon": "fa fa-file-pdf fa-fw",
Expand Down

0 comments on commit 82d3661

Please sign in to comment.