diff --git a/.github/workflows/doxygen.yml b/.github/workflows/doxygen.yml index 20bf23c..2f3d097 100644 --- a/.github/workflows/doxygen.yml +++ b/.github/workflows/doxygen.yml @@ -20,30 +20,14 @@ jobs: - name: Install Graphviz (if needed for diagrams) run: sudo apt-get install graphviz -y - - name: Install LaTeX for PDF generation - run: sudo apt-get install -y texlive-full - - - name: Generate Documentation (HTML and PDF) - run: | + - name: Generate Documentation + run: cd doxygen doxygen Doxyfile - cd latex - make - - - name: Archive the generated PDF - if: github.ref == 'refs/heads/main' - uses: actions/upload-artifact@v3 - with: - name: documentation-pdf - path: doxygen/latex/refman.pdf - - name: Deploy to GitHub Pages (for HTML documentation) + - name: Deploy to GitHub Pages if: github.ref == 'refs/heads/main' uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./doxige/html - publish_branch: gh-pages - - - name: Copy PDF to GitHub Pages directory - run: cp doxygen/latex/refman.pdf ./doxygen/html/documentation.pdf \ No newline at end of file + publish_dir: ./docs \ No newline at end of file diff --git a/doxygen/Doxyfile b/doxygen/Doxyfile index b675d3e..1b4f646 100644 --- a/doxygen/Doxyfile +++ b/doxygen/Doxyfile @@ -1184,7 +1184,7 @@ GENERATE_HTML = YES # The default directory is: html. # This tag requires that the tag GENERATE_HTML is set to YES. -HTML_OUTPUT = html +HTML_OUTPUT = docs # The HTML_FILE_EXTENSION tag can be used to specify the file extension for each # generated HTML page (for example: .htm, .php, .asp). @@ -1737,7 +1737,7 @@ EXTRA_SEARCH_MAPPINGS = # If the GENERATE_LATEX tag is set to YES, doxygen will generate LaTeX output. # The default value is: YES. -GENERATE_LATEX = YES +GENERATE_LATEX = # The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. If a # relative path is entered the value of OUTPUT_DIRECTORY will be put in front of