-
Notifications
You must be signed in to change notification settings - Fork 1
Allow custom path for doxygen #13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
obidog/wrappers/doxygen_wrapper.py
Outdated
| try: | ||
| with subprocess.Popen( | ||
| [DOXYGEN_PATH, "--version"], stdout=subprocess.PIPE | ||
| ) as clang_format_exec: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is it named clang_format_exec ?
obidog/wrappers/doxygen_wrapper.py
Outdated
|
|
||
| def build_doxygen_documentation(source_path): | ||
| if DOXYGEN_PATH is None: | ||
| log.warn("doxygen not found, could not create doxygen files") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Doxygen is mandatory, you can raise an Exception if it wasn't found
obidog/wrappers/doxygen_wrapper.py
Outdated
| version = doxygen_exec.stdout.read().decode("utf-8").strip() | ||
| try: | ||
| version = version.split()[0].split(".") | ||
| if int(version[0]) >= 1 and int(version[1]) >= 8: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1.8.18 should be the minimum version due to certain issues with previous Doxygen versions
Sygmei
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Excellent PR ! Thanks :)
close #11