Skip to content

Commit

Permalink
Print output path for doxygen and sphinx documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
saurabheights committed Nov 13, 2023
1 parent 6696c1b commit 640d714
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/make_docs.py
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,7 @@ def run(self):
env=sphinx_env,
stdout=sys.stdout,
stderr=sys.stderr)
print(f"Sphinx docs are generated at {build_dir}/index.html")


class DoxygenDocsBuilder:
Expand All @@ -449,10 +450,12 @@ def run(self):
cmd = ["doxygen", "Doxyfile"]
print('Calling: "%s"' % " ".join(cmd))
subprocess.check_call(cmd, stdout=sys.stdout, stderr=sys.stderr)
output_path = os.path.join(self.html_output_dir, "html", "cpp_api")
shutil.copytree(
os.path.join("doxygen", "html"),
os.path.join(self.html_output_dir, "html", "cpp_api"),
output_path,
)
print(f"Doxygen docs are generated at {output_path}/index.html")

if os.path.exists(doxygen_temp_dir):
shutil.rmtree(doxygen_temp_dir)
Expand Down

0 comments on commit 640d714

Please sign in to comment.