diff --git a/doc/rstgen.py b/doc/rstgen.py index 7efaec04285..f37e4d229d8 100644 --- a/doc/rstgen.py +++ b/doc/rstgen.py @@ -113,7 +113,7 @@ def _process_datamodel_path(full_name: str): Path of datamodel class. """ path_string = re.findall("core.*", full_name) - path = path_string[0].replace("core.", "") + path = path_string[0].replace("core.generated", "") path = re.sub("[0-9]", "", path) path = path.replace("Root." if "Root." in path else "Root", "") path = path.replace("datamodel_.", "") diff --git a/pyproject.toml b/pyproject.toml index 044b7e398fc..e9838fc047d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["poetry-core>=1.9.0"] +requires = ["poetry-core>=1.0.0"] build-backend = "poetry.core.masonry.api" [tool.poetry]