diff --git a/README.md b/README.md index 7208287..b11fcb3 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@

Quick Jump: Pricing · Hosts · Policies · Tools

-
+
## Table of Contents @@ -135,7 +135,8 @@ Debrid ("multi-hoster") services act as paid aggregation layers between you and ![Last Updated](https://img.shields.io/badge/Last%20Updated-September%2019%2C%202025-blue?style=for-the-badge) -
+
+
[(↑ Back to Top)](#table-of-contents) @@ -148,12 +149,16 @@ Debrid ("multi-hoster") services act as paid aggregation layers between you and ### File Hosts -
+
+ +
| ⚡ For faster exploration (search + filter + side-by-side), use the interactive web app. | |------------------------------------------| -

+
+ +
| **Service Name** | **AllDebrid** | **TorBox** | **Premiumize** | **Real-Debrid** | **Debrid-Link** | **LinkSnappy** | **Mega-Debrid** | **Deepbrid** | **High-Way** | @@ -445,7 +450,7 @@ Debrid ("multi-hoster") services act as paid aggregation layers between you and | **Total = 284** | **70/284** | **104/284** | **31/284** | **40/284** | **45/284** | **19/284** | **118/284** | **80/284** | **16/284** | -
+
![Last Updated](https://img.shields.io/badge/Last%20Updated-September%2019%2C%202025-blue?style=for-the-badge) @@ -480,7 +485,9 @@ Service availability and host support can change in real time. Use these officia | **High-Way** | [high-way.me/pages/status](https://high-way.me/pages/status) | | **Offcloud** | [https://offcloud.com/list](https://offcloud.com/list) | -
+ + +
diff --git a/scripts/build-docs.sh b/scripts/build-docs.sh index 9c18a1a..3e84007 100755 --- a/scripts/build-docs.sh +++ b/scripts/build-docs.sh @@ -115,9 +115,34 @@ adjust_links_for_docs() { log_info "Adjusted links and image paths in $file" } -# 5. Copy div sections to respective docs files -copy_div_to_docs "support" "docs/index.md" -copy_div_to_docs "pricing" "docs/pricing.md" +# 5. Function to create pricing.md with support section first, then pricing section +create_pricing_with_support() { + local target_file="docs/pricing.md" + local support_content pricing_content + + # Extract both sections + support_content=$(extract_div_content "support") + pricing_content=$(extract_div_content "pricing") + + if [ $? -eq 0 ] && [ -n "$support_content" ] && [ -n "$pricing_content" ]; then + # Create file with frontmatter + support + pricing + { + # Keep the original frontmatter + head -7 "$target_file" + echo "" + echo "$support_content" + echo "" + echo "$pricing_content" + } > "${target_file}.tmp" && mv "${target_file}.tmp" "$target_file" || handle_error "Failed creating $target_file with support and pricing content" + log_info "Created $target_file with support section before pricing section" + adjust_links_for_docs "$target_file" + else + log_warn "Failed to extract support or pricing content" + fi +} + +# Copy div sections to respective docs files +create_pricing_with_support copy_div_to_docs "hosts" "docs/hosts.md" copy_div_to_docs "policies" "docs/policies.md" copy_div_to_docs "tools" "docs/tools.md"