Skip to content

Commit

Permalink
Merge pull request #7 from raspberrypi/page-node
Browse files Browse the repository at this point in the history
Re-implement page rendering
  • Loading branch information
nathan-contino authored Aug 20, 2024
2 parents da3821a + 28b49db commit 020b5a4
Show file tree
Hide file tree
Showing 24 changed files with 450 additions and 314 deletions.
4 changes: 2 additions & 2 deletions cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ def main():
if is_child:
result = Node(
BeautifulSoup(xml, "xml").doxygen, xmldir=xmldir
).to_asciidoc()
).to_asciidoc(depth=1)
else:
result = DoxygenindexNode(
BeautifulSoup(xml, "xml").doxygenindex, xmldir=xmldir
).to_asciidoc()
).to_asciidoc(depth=2)
if output_filename is not None:
with open(output_filename, "w", encoding="utf-8") as output:
output.write(result)
Expand Down
Loading

0 comments on commit 020b5a4

Please sign in to comment.