Skip to content

Commit

Permalink
fix(process.py): Fix to support Doxygen 1.10 and 1.11 (#141)
Browse files Browse the repository at this point in the history
Signed-off-by: Aniket Salve <[email protected]>
  • Loading branch information
aniketsalve22 authored Jun 28, 2024
1 parent 7e8ab21 commit 19b5d5e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ RUN apt-get update \
&& rm -rf /var/lib/apt/lists/*

# Update doxygen to latest
RUN wget -c https://www.doxygen.nl/files/doxygen-1.9.6.linux.bin.tar.gz -O /tmp/doxygen.tar.gz \
RUN wget -c https://www.doxygen.nl/files/doxygen-1.11.0.linux.bin.tar.gz -O /tmp/doxygen.tar.gz \
&& mkdir -p /tmp/doxygen \
&& tar -xzvf /tmp/doxygen.tar.gz --strip-components=1 -C /tmp/doxygen/ \
&& mv /tmp/doxygen/bin/* /usr/bin \
Expand Down
3 changes: 3 additions & 0 deletions doxysphinx/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,9 @@ def _get_doxy_htmls_to_process_with_hashes(self, doxygen_html_dir: Path) -> Iter
processed.
"""
for html_file in doxygen_html_dir.glob("*.html"):
# For Doxygen>=1.10.0 this file can be skipped
if html_file.name == "doxygen_crawl.html":
continue
rst_file = html_file.with_suffix(".rst")

hash_from_html = hash_blake2b(html_file)
Expand Down

0 comments on commit 19b5d5e

Please sign in to comment.