Skip to content

Conversation

@PierrickLP
Copy link
Contributor

close #11

try:
with subprocess.Popen(
[DOXYGEN_PATH, "--version"], stdout=subprocess.PIPE
) as clang_format_exec:
Copy link
Member

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 ?


def build_doxygen_documentation(source_path):
if DOXYGEN_PATH is None:
log.warn("doxygen not found, could not create doxygen files")
Copy link
Member

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

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:
Copy link
Member

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

Copy link
Member

@Sygmei Sygmei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent PR ! Thanks :)

@Sygmei Sygmei merged commit 5e7afff into master Oct 25, 2020
@Sygmei Sygmei deleted the Allow_custom_path_for_doxygen branch October 25, 2020 00:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow custom path for doxygen

3 participants