Skip to content

Commit

Permalink
fix: datamodel doc (#2794)
Browse files Browse the repository at this point in the history
* fix: datamodel doc

* build: poetry version
  • Loading branch information
mkundu1 authored May 9, 2024
1 parent 4f24997 commit f60d79d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/rstgen.py
Original file line number Diff line number Diff line change
Expand Up @@ -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_.", "")
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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]
Expand Down

0 comments on commit f60d79d

Please sign in to comment.