diff --git a/.github/workflows/mkdoxy-test-demos.yaml b/.github/workflows/mkdoxy-test-demos.yaml
index e7df08ad..8d09ba83 100644
--- a/.github/workflows/mkdoxy-test-demos.yaml
+++ b/.github/workflows/mkdoxy-test-demos.yaml
@@ -8,7 +8,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest] # windows-latest, macos-latest requires doxygen to be installed manually
- python-version: ["3.9", "3.10", "3.11"]
+ python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v3
diff --git a/.github/workflows/mkdoxy-test-repo.yaml b/.github/workflows/mkdoxy-test-repo.yaml
index 81a93d27..c008dce6 100644
--- a/.github/workflows/mkdoxy-test-repo.yaml
+++ b/.github/workflows/mkdoxy-test-repo.yaml
@@ -8,7 +8,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest] # windows-latest, macos-latest requires doxygen to be installed manually
- python-version: ["3.9", "3.10", "3.11"]
+ python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v3
diff --git a/.idea/misc.xml b/.idea/misc.xml
index a6218fed..a0641c7e 100644
--- a/.idea/misc.xml
+++ b/.idea/misc.xml
@@ -4,4 +4,4 @@
-
\ No newline at end of file
+
diff --git a/.idea/workspace.xml b/.idea/workspace.xml
index c759aebb..bd58b38f 100644
--- a/.idea/workspace.xml
+++ b/.idea/workspace.xml
@@ -5,16 +5,7 @@
-
-
-
-
-
-
-
-
-
-
+
@@ -69,7 +60,7 @@
"RunOnceActivity.ShowReadmeOnStart": "true",
"SHARE_PROJECT_CONFIGURATION_FILES": "true",
"WebServerToolWindowFactoryState": "false",
- "git-widget-placeholder": "main",
+ "git-widget-placeholder": "doxygen-config-file",
"last_opened_file_path": "/Users/kuba/Documents/git/kuba/mkdoxy/mkdoxy-base/mkdoxy-main/tests/data",
"node.js.detected.package.eslint": "true",
"node.js.detected.package.tslint": "true",
@@ -324,7 +315,7 @@
-
+
1674630349699
@@ -640,4 +631,4 @@
-
\ No newline at end of file
+
diff --git a/demo-projects/animal/Doxyfile b/demo-projects/animal/Doxyfile
index 20dc954b..f8cc2640 100644
--- a/demo-projects/animal/Doxyfile
+++ b/demo-projects/animal/Doxyfile
@@ -4,4 +4,4 @@ RECURSIVE = YES
EXAMPLE_PATH = examples
SHOW_NAMESPACES = YES
GENERATE_HTML = NO
-GENERATE_LATEX = YES
\ No newline at end of file
+GENERATE_LATEX = YES
diff --git a/docs/usage/advanced.md b/docs/usage/advanced.md
index a5dd5cb6..d4ec5a71 100644
--- a/docs/usage/advanced.md
+++ b/docs/usage/advanced.md
@@ -48,4 +48,4 @@ plugins:
doxy-cfg-file: path/to/Doxyfile # relative path to the Doxygen configuration file (relative to the mkdocs.yml file)
doxy-cfg: # standard doxygen configuration (key: value)
FILE_PATTERNS: ... # other configuration options - merge (this will override the configuration from the Doxyfile)
-```
\ No newline at end of file
+```
diff --git a/mkdoxy/doxyrun.py b/mkdoxy/doxyrun.py
index ef901857..428a1919 100644
--- a/mkdoxy/doxyrun.py
+++ b/mkdoxy/doxyrun.py
@@ -252,8 +252,10 @@ def getOutputFolder(self) -> PurePath:
class DoxygenBinPathNotValid(Exception):
pass
+
class DoxygenCustomConfigNotFound(Exception):
pass
+
class DoxygenCustomConfigNotValid(Exception):
- pass
\ No newline at end of file
+ pass
diff --git a/setup.py b/setup.py
index 945e8a06..d8b3353b 100755
--- a/setup.py
+++ b/setup.py
@@ -33,12 +33,13 @@ def requirements():
install_requires=["mkdocs"],
extras_require={
"dev": [
- "mkdocs-material==9.1.18",
+ "mkdocs-material~=9.1.18",
"Jinja2~=3.1.2",
"mkdocs-open-in-new-tab~=1.0.2",
"pathlib~=1.0.1",
"path~=16.7.1",
"isort~=5.12.0",
+ "pytest~=6.2.5",
],
},
classifiers=[
diff --git a/tests/data/Doxyfile b/tests/data/Doxyfile
index 1fb9542e..ac135f69 100644
--- a/tests/data/Doxyfile
+++ b/tests/data/Doxyfile
@@ -4,4 +4,4 @@ RECURSIVE = YES
EXAMPLE_PATH = examples
SHOW_NAMESPACES = YES
GENERATE_HTML = NO
-GENERATE_LATEX = NO
\ No newline at end of file
+GENERATE_LATEX = NO
diff --git a/tests/test_doxyrun.py b/tests/test_doxyrun.py
index e86f9d8e..3a88c5be 100644
--- a/tests/test_doxyrun.py
+++ b/tests/test_doxyrun.py
@@ -1,4 +1,6 @@
from mkdoxy.doxyrun import DoxygenRun
+
+
def test_dox_dict2str():
dox_dict = {
"DOXYFILE_ENCODING": "UTF-8",
@@ -23,6 +25,7 @@ def test_dox_dict2str():
assert result == expected_result
+
# Sets the Doxygen configuration using a custom config file
def test_set_doxy_cfg_custom_file():
dox_dict = {}
@@ -74,4 +77,4 @@ def test_str2dox_dict():
"GENERATE_LATEX": False,
}
- assert result == expected_result
\ No newline at end of file
+ assert result == expected_result