Commit Graph

9 Commits

Author SHA1 Message Date
generall 6507dbe5f9 Use custom domain on production deploys
On the production deploy, DEPLOY_PRIME_URL is the branch permalink
(main--qdrant-skills.netlify.app) rather than the custom domain, so
preferring it produced links to the Netlify subdomain instead of
skills.qdrant.tech. Key off Netlify's CONTEXT: use URL (the custom
domain) on production, and only prefer DEPLOY_PRIME_URL on deploy
previews and branch deploys so those stay self-consistent.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-03 09:29:38 +02:00
generall 65417dd301 Absolutize root-relative links instead of skipping them
build.sh strips the search.qdrant.tech domain off /md/ links, leaving
them root-relative; make_absolute then skipped all "/"-prefixed URLs, so
those links never had the skills.qdrant.tech domain re-attached. Treat
root-relative links as relative-to-site-root and resolve them to an
absolute URL, leaving only in-page anchors and scheme-carrying links
(http, https, mailto) untouched.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-03 08:01:13 +02:00
generall 3b4064d440 Use Netlify deploy domain and proper URL joining for links
Read BASE_URL from Netlify's DEPLOY_PRIME_URL/URL env vars (falling back
to the production domain for local builds) instead of hard-coding it, so
branch deploys and deploy previews produce self-consistent links. Apply
the same fallback chain in the sitemap generator.

Build absolute links with urllib.parse.urljoin/urlsplit, which correctly
resolves relative paths and preserves fragments and query strings.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-03 07:54:05 +02:00
István Zoltán Szabó cc812373e4 Add absolute link rewriting to build and test it. 2026-05-29 10:56:33 +02:00
qdrant-claw-bot b861a956db use skills.qdrant.tech as default sitemap base URL
Made-with: Cursor
2026-04-23 09:39:47 +00:00
qdrant-claw-bot 334bdba939 add sitemap.xml generation during build
* add scripts/generate_sitemap.sh that discovers all .md files and
  produces a standard sitemap.xml in public/
* call the script from build.sh after copying skills
* scope the text/markdown content-type header to /*.md so sitemap.xml
  is served as application/xml

Made-with: Cursor
2026-04-23 09:38:28 +00:00
Thierry Damiba e4d95ff30a fix eval grader to use numbered assertion matching (#33)
old grader matched by substring (first 40 chars of assertion text),
which silently failed when the grader rephrased assertions. new
approach uses numbered assertions for unambiguous matching.

Co-authored-by: thierrypdamiba <thierrypdamiba@users.noreply.github.com>
2026-03-30 19:51:28 -07:00
Thierry Damiba 278342215c add skill eval pipeline on push to main (#26)
Co-authored-by: thierrypdamiba <thierrypdamiba@users.noreply.github.com>
2026-03-30 16:45:54 -07:00
Thierry Damiba 2c79773ae4 add skill linter and CI validation (#25)
* add skill linter and CI validation

* add push-to-main trigger to linter

---------

Co-authored-by: thierrypdamiba <thierrypdamiba@users.noreply.github.com>
2026-03-30 16:45:40 -07:00