Implement doc building

This commit is contained in:
Victor Zverovich
2024-06-09 13:17:13 -07:00
parent d4a8d26c55
commit ab6b257a39
2 changed files with 21 additions and 6 deletions

View File

@ -2,6 +2,7 @@
# Copyright (c) 2012 - present, Victor Zverovich
import os
from pathlib import Path
import xml.etree.ElementTree as et
from mkdocstrings.handlers.base import BaseHandler
from typing import Any, Mapping, Optional
@ -156,7 +157,7 @@ class CxxHandler(BaseHandler):
# Run doxygen.
cmd = ['doxygen', '-']
doc_dir = os.path.dirname(os.path.dirname(os.path.dirname(__file__)))
doc_dir = Path(__file__).parents[3]
include_dir = os.path.join(os.path.dirname(doc_dir), 'include', 'fmt')
self._ns2doxyxml = {}
self._doxyxml_dir = 'doxyxml'