#26 structured AI features #74
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: "Release Docs" | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| release-docs: | |
| # if: contains(github.ref, 'tags/v') #comment if you need to have it each commit | |
| name: Releasing documentation for code (based on doxy comments) | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| steps: | |
| - name: Checkout FVA repository | |
| uses: actions/checkout@v2 #v2 to checkout submodules as well | |
| with: | |
| submodules: 'true' | |
| - name: Setup Graphviz to draw nice graphs in doc | |
| uses: ts-graphviz/setup-graphviz@v1 | |
| - name: Generate Doxygen documentation | |
| uses: mattnotmitt/doxygen-action@v1 | |
| with: | |
| #working-directory: '' # now default one | |
| doxyfile-path: './doxy.cfg' | |
| enable-latex: true | |
| - name: Pack the docs by 7zip | |
| working-directory: ./output/ | |
| run: cmake -E tar cfv ../docs.zip --format=7zip . | |
| - name: Upload docs artifact to git hub storage to use later | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| path: ./docs.zip | |
| name: docs.zip | |
| # TODO: uncomment if you want to publish the documentation on gh-pages | |
| #- name: Publish of documentation | |
| # uses: peaceiris/actions-gh-pages@v3 | |
| # with: | |
| # github_token: ${{ secrets.GITHUB_TOKEN }} | |
| # publish_dir: ./output/html | |