Skip to content

Commit

Permalink
Merge pull request #112 from dustinlagoy/configurable-api-path
Browse files Browse the repository at this point in the history
  • Loading branch information
JakubAndrysek authored Nov 22, 2024
2 parents 517ff74 + 2762ccd commit db75455
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mkdoxy/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ class MkDoxy(BasePlugin):
("full-doc", config_options.Type(bool, default=True)),
("debug", config_options.Type(bool, default=False)),
# ('ignore-errors', config_options.Type(bool, default=False)),
("api-path", config_options.Type(str, default=".")),
("doxy-cfg", config_options.Type(dict, default={}, required=False)),
("doxy-cfg-file", config_options.Type(str, default="", required=False)),
("template-dir", config_options.Type(str, default="", required=False)),
Expand Down Expand Up @@ -148,7 +149,7 @@ def tempDir(siteDir: str, tempDir: str, projectName: str) -> str:
generatorBase=self.generatorBase[project_name],
tempDoxyDir=tempDirApi,
siteDir=config["site_dir"],
apiPath=project_name,
apiPath=project_data.get("api-path", project_name),
doxygen=self.doxygen[project_name],
useDirectoryUrls=config["use_directory_urls"],
)
Expand Down

0 comments on commit db75455

Please sign in to comment.