Skip to content

ENH: simplifying the function readXYZ #136

ENH: simplifying the function readXYZ

ENH: simplifying the function readXYZ #136

Workflow file for this run

name: "Build d-SEAMS API Docs"
on: [push, pull_request]
jobs:
build_apidocs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.4
- name: Get external tags
run: |
mkdir -p tags
cd tags
curl https://upload.cppreference.com/mwiki/images/f/f8/cppreference-doxygen-web.tag.xml -o cppreference-doxygen-web.tag.xml
- name: Get Theme
run: |
wget https://github.com/HaoZeke/doxyYoda/releases/download/0.0.2/doxyYoda_0.0.2.tar.gz
tar xf doxyYoda_0.0.2.tar.gz
- uses: cachix/install-nix-action@v20
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: cachix/cachix-action@v12
with:
name: dseams
- run: nix-shell --run "doxygen Doxyfile-prj.cfg"
- run: |
find docs/ -type f -name "*" -print0 | xargs -0 sed -i '' -e 's/>Pages</>Wiki</g' || true
- name: Deploy Documentation
if: ${{ (github.ref == 'refs/heads/main' && github.repository == 'd-SEAMS/seams-core') || (github.ref == 'refs/heads/master' && github.repository == 'd-SEAMS/seams-core')}}
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/html