Compare commits

..
Author SHA1 Message Date
MervinPraison 1eabeb4b25 Release v0.2.38 2026-08-19 01:05:53 +00:00
3 changed files with 5 additions and 23 deletions

No files matched your search

-3
View File
@@ -77,9 +77,6 @@ jobs:
--package all \
--docs-root $(pwd)/praisonai-docs \
--source-root $(pwd)/praisonai-source
- name: Sync SDK reference navigation
run: python3 praisonai-docs/scripts/sync_sdk_reference_nav.py
env:
PYTHONPATH: $(pwd)/praisonai-tools
+4 -19
View File
@@ -3125,15 +3125,7 @@ class ReferenceDocsGenerator:
layout: LayoutType = LayoutType.GRANULAR
):
self.docs_root = Path(docs_root)
# Mintlify subpath hosting uses docs/docs.json (see PraisonAIDocs migrate script).
docs_json_in_docs = self.docs_root / "docs" / "docs.json"
docs_json_at_root = self.docs_root / "docs.json"
if docs_json_in_docs.exists():
self.docs_json_path = docs_json_in_docs
elif docs_json_at_root.exists():
self.docs_json_path = docs_json_at_root
else:
self.docs_json_path = docs_json_in_docs
self.docs_json_path = self.docs_root / "docs.json"
self.layout = layout
# Base source root - default to local development path if not provided
@@ -3335,16 +3327,9 @@ class ReferenceDocsGenerator:
with open(self.docs_json_path, 'w') as f:
json.dump(docs_config, f, indent=2)
if self.layout == LayoutType.GRANULAR:
page_count = sum(len(group.get('pages', [])) for group in package_group['pages'])
else:
page_count = len(package_group['pages'])
print(f" Updated docs.json: {page_count} pages for {package_name}")
except Exception as exc:
print(f" Error updating docs.json for {package_name}: {exc}")
raise
except Exception:
pass
if __name__ == "__main__":
import argparse
+1 -1
View File
@@ -1,6 +1,6 @@
[project]
name = "praisonai-tools"
version = "0.2.37"
version = "0.2.38"
description = "Extended tools for PraisonAI Agents"
authors = [
{name = "Mervin Praison"}