Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/pulp_docs/openapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

from mkdocs.config import load_config

from pulp_docs.cli import get_default_mkdocs
from pulp_docs.plugin import ComponentOption

BASE_TMPDIR_NAME = "pulpdocs_tmp"
Expand All @@ -27,7 +28,7 @@ def filter_plugin(name: str) -> bool:
return name in plugins_filter or name == "pulpcore"

def get_plugins() -> list[ComponentOption]:
mkdocs_yml = str(CURRENT_DIR.parent.parent / "mkdocs.yml")
mkdocs_yml = str(get_default_mkdocs())
pulpdocs_plugin = load_config(mkdocs_yml).plugins["PulpDocs"]
all_components = pulpdocs_plugin.config.components
return [c for c in all_components if c.rest_api]
Expand Down