DocFast session 82: found BUG-085/086, examples URL fix in progress

This commit is contained in:
Hoid 2026-02-23 10:03:50 +00:00
parent d4a1f48585
commit 10482eb8c9
5 changed files with 78 additions and 5 deletions

View file

@ -900,3 +900,18 @@ Container restart appears to have been clean. All services came back online prop
- **Fix needed (immediate):** Apply fixes to `public/src/index.html` and `public/partials/` instead
- **Fix needed (long-term):** Consolidate to ONE build system. Either remove `templates/` or remove `public/src/`.
- **Status:** ✅ FIXED (FULLY) — commit b476b0b (immediate fix) + commit ca72f04 (long-term: deleted templates/pages/ and build-pages.js, consolidated to single build-html.cjs system).
## BUG-085: Examples page uses non-existent api.docfast.dev subdomain
- **Date:** 2026-02-23
- **Severity:** HIGH
- **Issue:** Node.js, Python, Go, PHP examples on /examples page reference `https://api.docfast.dev/v1/convert/html` and `https://api.docfast.dev/v1/convert/markdown`. The `api.docfast.dev` subdomain does not exist — correct URL is `https://docfast.dev/v1/...`. Developers following examples will get DNS errors.
- **Affected:** staging.docfast.dev/examples (and production once deployed)
- **Fix:** Replace all `api.docfast.dev` with `docfast.dev` in `public/src/examples.html`
- **Status:** 🔧 IN PROGRESS
## BUG-086: Examples page references non-existent SDK packages
- **Date:** 2026-02-23
- **Severity:** MEDIUM
- **Issue:** Go example says `go get github.com/docfast/docfast-go` (404 on GitHub). PHP example says `composer require docfast/docfast-php` (doesn't exist on Packagist). SDKs haven't been published yet — blocked on npm/PyPI/Go/Packagist tokens.
- **Fix:** Either publish SDKs or change examples to use plain HTTP (curl/fetch) without SDK install instructions until packages are published.
- **Status:** OPEN — blocked on SDK publishing tokens from investor