docs update
This commit is contained in:
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -94,6 +94,8 @@ jobs:
|
||||
echo "Found previous version: v${OLD_VERSION}"
|
||||
mkdir -p "docs/versions/v${OLD_VERSION}"
|
||||
cp docs/api.html "docs/versions/v${OLD_VERSION}/api.html"
|
||||
# Fix back link to use correct relative path for archived version
|
||||
sed -i 's|href="index.html">← Back to Home|href="../../index.html">← Back to Home|g' "docs/versions/v${OLD_VERSION}/api.html"
|
||||
echo "✓ Archived previous documentation to docs/versions/v${OLD_VERSION}/"
|
||||
else
|
||||
echo "No previous version found, skipping archival"
|
||||
|
||||
8539
docs/api.html
8539
docs/api.html
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -47,6 +47,11 @@ if [ ! -f "$VERSION_DIR/api.html" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo -e "${YELLOW}Fixing relative paths for archived version...${NC}"
|
||||
# Fix back link to use correct relative path from versions/vX.X.X/ to root
|
||||
sed -i.bak 's|href="index.html">← Back to Home|href="../../index.html">← Back to Home|g' "$VERSION_DIR/api.html"
|
||||
rm "$VERSION_DIR/api.html.bak"
|
||||
|
||||
FILE_SIZE=$(du -h "$VERSION_DIR/api.html" | cut -f1)
|
||||
|
||||
echo ""
|
||||
|
||||
Reference in New Issue
Block a user