Skip to content

Commit 5ed139a

Browse files
dphuang2benjibc
andauthored
Initial commit for adapters for langfuse and HF (#13)
* Initial commit for adapters for langfuse and HF * fix types * fix unittests --------- Co-authored-by: benjibc <[email protected]>
1 parent 438074a commit 5ed139a

File tree

17 files changed

+3284
-97
lines changed

17 files changed

+3284
-97
lines changed

Makefile

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -38,32 +38,6 @@ validate-docs:
3838
exit 1; \
3939
fi
4040

41-
# Sync docs to ~/home/docs with links under 'evaluators'
42-
sync-docs:
43-
@echo "Syncing docs to ~/home/docs with links under 'evaluators'..."
44-
@mkdir -p ~/home/docs/evaluators
45-
@# Create a temp directory for processed files
46-
@rm -rf /tmp/eval-protocol-docs-processed
47-
@mkdir -p /tmp/eval-protocol-docs-processed
48-
@# Copy all docs files to temp directory
49-
@cp -r ./docs/* /tmp/eval-protocol-docs-processed/
50-
@# Only update links in the main documentation home file
51-
@if [ -f /tmp/eval-protocol-docs-processed/documentation_home.mdx ]; then \
52-
sed -i -E 's/\[([^]]+)\]\(([^)]+\.mdx?)\)/[\1](evaluators\/\2)/g' /tmp/eval-protocol-docs-processed/documentation_home.mdx; \
53-
sed -i -E 's/\[([^]]+)\]\(\/([^)]+\.mdx?)\)/[\1](\/evaluators\/\2)/g' /tmp/eval-protocol-docs-processed/documentation_home.mdx; \
54-
sed -i -E 's/\.md\)/\.mdx)/g' /tmp/eval-protocol-docs-processed/documentation_home.mdx; \
55-
fi
56-
@# Copy processed files to destination
57-
@rsync -av --delete /tmp/eval-protocol-docs-processed/ ~/home/docs/evaluators/
58-
@echo "Docs synced successfully to ~/home/docs/evaluators"
59-
@# Validate all documentation links
60-
@echo "Validating documentation links..."
61-
@if [ -f ~/home/docs/scripts/validate_links.py ]; then \
62-
cd ~/home/docs && python scripts/validate_links.py; \
63-
else \
64-
echo "Warning: Link validation script not found at ~/home/docs/scripts/validate_links.py"; \
65-
fi
66-
6741
# Version management commands using versioneer
6842
version:
6943
@echo "Current version information:"

0 commit comments

Comments
 (0)