mirror of
https://github.com/langchain-ai/docs.git
synced 2026-07-19 16:33:35 -04:00
delete reference/ (#3109)
delete folder relocate `packages.yml` and update corresponding scripts
This commit is contained in:
@@ -102,7 +102,7 @@ jobs:
|
||||
echo "This file is auto-generated by pipeline/tools/partner_pkg_table.py"
|
||||
echo "Please do not manually edit this file. If you need to make changes:"
|
||||
echo "1. Update the generation script at pipeline/tools/partner_pkg_table.py"
|
||||
echo "2. Or update the package metadata in reference/packages.yml"
|
||||
echo "2. Or update the package metadata in packages.yml"
|
||||
echo "3. Then run: uv run python pipeline/tools/partner_pkg_table.py"
|
||||
exit 1
|
||||
else
|
||||
|
||||
@@ -43,7 +43,7 @@ jobs:
|
||||
with:
|
||||
name: packages-yml
|
||||
path: |
|
||||
reference/packages.yml
|
||||
packages.yml
|
||||
src/oss/python/integrations/providers/overview.mdx
|
||||
retention-days: 1
|
||||
|
||||
@@ -71,7 +71,7 @@ jobs:
|
||||
git config --global user.email "github-actions[bot]@users.noreply.github.com"
|
||||
|
||||
# Check if there are changes
|
||||
if git diff --quiet reference/packages.yml src/oss/python/integrations/providers/overview.mdx; then
|
||||
if git diff --quiet packages.yml src/oss/python/integrations/providers/overview.mdx; then
|
||||
echo "No changes to commit"
|
||||
exit 0
|
||||
fi
|
||||
@@ -81,7 +81,7 @@ jobs:
|
||||
git checkout -b "$BRANCH_NAME"
|
||||
|
||||
# Commit changes
|
||||
git add reference/packages.yml src/oss/python/integrations/providers/overview.mdx
|
||||
git add packages.yml src/oss/python/integrations/providers/overview.mdx
|
||||
git commit -m "$(cat <<'EOF'
|
||||
chore: update package download counts
|
||||
|
||||
@@ -103,7 +103,7 @@ jobs:
|
||||
Automated update of package download statistics from pepy.tech
|
||||
|
||||
## Details
|
||||
- Updates download counts in `reference/packages.yml`
|
||||
- Updates download counts in `packages.yml`
|
||||
- Regenerates provider overview page at `src/oss/python/integrations/providers/overview.mdx`
|
||||
- Generated by GitHub Actions workflow `update-package-downloads.yml`
|
||||
- Scheduled to run every Sunday at 11:59 PM UTC
|
||||
|
||||
Reference in New Issue
Block a user