Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .github/workflows/update-septic-docs-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
with:
add-paths: |
packages/septic/public/*
packages/septic/package.json
packages/extension/package.json
labels: "documentation"
branch: "septic-documentation-${{ env.REF }}"
title: "docs: update Septic documentation for ${{ env.REF }}"
Expand Down
3 changes: 2 additions & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,10 @@
"configurations": [
{
"name": "Update Documentation",
"type": "python",
"type": "debugpy",

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why debugpy instead of python? Needed just to verify something, or intended as permanent solution?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"python" is going to be depreciated and we get a warning in vscode to switch

"request": "launch",
"program": "${workspaceRoot}/scripts/main.py",
"args": ["latest"],
"console": "integratedTerminal",
"justMyCode": true
},
Expand Down
4 changes: 3 additions & 1 deletion scripts/src/parse_doxygen.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,9 @@ def parse_object_doxygen_doc(doxygen: str) -> Optional[SepticObject]:
attr = parse_attribute(attr_dox)
if attr:
attributes.append(attr)
return SepticObject(name, description, attributes, parents)
return SepticObject(
name=name, description=description, attributes=attributes, parents=parents
)


def parse_attribute(attribute: str) -> Optional[Attribute]:
Expand Down
7 changes: 5 additions & 2 deletions scripts/src/versioning.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,11 @@ def get_existing_versions(path: Path):
dir_match = re.match(r"v(\d+)_(\d+)", dir.split("\\")[-1])
if not dir_match:
continue
meta = read_meta_file(path / dir / meta_info_name)
versions.append(tuple(int(x) for x in meta["version"].split(".")))
try:
meta = read_meta_file(path / dir / meta_info_name)
versions.append(tuple(int(x) for x in meta["version"].split(".")))
except Exception as e:
print(f"Error reading meta file for {dir}: {e}")
return versions


Expand Down
Loading