We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7726320 commit 15a0ddbCopy full SHA for 15a0ddb
src/pulp_docs/openapi.py
@@ -12,6 +12,7 @@
12
13
from mkdocs.config import load_config
14
15
+from pulp_docs.cli import get_default_mkdocs
16
from pulp_docs.plugin import ComponentOption
17
18
BASE_TMPDIR_NAME = "pulpdocs_tmp"
@@ -27,7 +28,7 @@ def filter_plugin(name: str) -> bool:
27
28
return name in plugins_filter or name == "pulpcore"
29
30
def get_plugins() -> list[ComponentOption]:
- mkdocs_yml = str(CURRENT_DIR.parent.parent / "mkdocs.yml")
31
+ mkdocs_yml = str(get_default_mkdocs())
32
pulpdocs_plugin = load_config(mkdocs_yml).plugins["PulpDocs"]
33
all_components = pulpdocs_plugin.config.components
34
return [c for c in all_components if c.rest_api]
0 commit comments