This directory contains a standalone static version of the Logister documentation intended for deployment on Cloudflare Pages.
index.htmland subdirectoryindex.htmlfiles provide the static documentation pages.assets/site.csscontains the docs-specific theme and layout styles.assets/site.jsprovides mobile navigation, collapsible sidebar sections, Pagefind search loading, analytics loading, and copy-to-clipboard behavior for code blocks.functions/assets/analytics-config.js/index.jsserves runtime analytics and Probo Cookie Banner configuration from Cloudflare Pages secrets.assets/logister-logo.svgis copied locally so the docs do not depend on the app asset pipeline.openapi.yamlandpostman/logister-api.postman_collection.jsonare copied fromdocs/bybin/build-cloudflare-docs.pagefind/is generated bybin/build-cloudflare-docsand ignored in git.
Use cloudflare-docs as the project root or output directory and deploy it as a plain static site. Before deploying, install JavaScript dependencies and run the metadata/search build so sitemap.xml, robots.txt, API artifacts, and the Pagefind search index are current.
npm ci
LOGISTER_DOCS_URL=https://docs.example.com bin/build-cloudflare-docsLOGISTER_DOCS_URL defaults to https://docs.logister.org. DOCS_SITEMAP_LASTMOD can be set when you want to pin sitemap lastmod during a release.
To preview the static docs locally with Cloudflare Pages behavior, run this from the repo root:
wrangler pages dev cloudflare-docsThat serves the cloudflare-docs/ directory locally so you can verify layout, navigation, search, copy buttons, sitemap, robots, and other static-site behavior before deploying.
The repository now includes a dedicated workflow at .github/workflows/cloudflare-docs-deploy.yml.
It deploys automatically when changes land on main under:
cloudflare-docs/**
Set these GitHub repository settings before enabling it:
- Secret:
CLOUDFLARE_API_TOKEN - Secret:
CLOUDFLARE_ACCOUNT_ID - Variable:
CLOUDFLARE_PAGES_PROJECT
The workflow runs npm ci and bin/build-cloudflare-docs first, then deploys this directory directly with:
wrangler pages deploy cloudflare-docs --project-name=<project>
Optional GitHub repository variables:
LOGISTER_DOCS_URLsets the public docs host used in generated metadata.DOCS_SITEMAP_LASTMODpins the sitemap date for a release.
Set optional docs runtime values as Cloudflare Pages secrets:
wrangler pages secret put DOCS_PROBO_COOKIE_BANNER_ID --project-name=logister-docs
wrangler pages secret put DOCS_PROBO_COOKIE_BANNER_BASE_URL --project-name=logister-docs
wrangler pages secret put DOCS_PROBO_COOKIE_BANNER_POSITION --project-name=logister-docs
wrangler pages secret put DOCS_ANALYTICS_COOKIE_CATEGORY --project-name=logister-docs
wrangler pages secret put DOCS_GOOGLE_TAG_ID --project-name=logister-docs
wrangler pages secret put DOCS_CLOUDFLARE_WEB_ANALYTICS_TOKEN --project-name=logister-docsDocs analytics will not load unless both DOCS_PROBO_COOKIE_BANNER_ID and DOCS_PROBO_COOKIE_BANNER_BASE_URL are configured. Values served through /assets/analytics-config.js are visible to browsers at runtime, so do not put server-only credentials there.
For the Rails app itself, keep using .env.sample as the operator map. The public deployment page includes a full entry-by-entry reference for Rails, PostgreSQL, Redis, Sidekiq, Amazon SES SMTP, S3-compatible archive storage, ClickHouse, Turnstile, analytics, and Cloudflare Pages docs variables:
This static export mirrors the current public docs pages from the main Logister app:
- Overview
- Getting started
- Product guide
- Metrics reference
- Use cases and comparisons
- Self-hosted error monitoring
- Sentry, Bugsnag, and Bugzilla alternatives
- Rails, Python, .NET, JavaScript, Android, iOS, and CFML error monitoring use cases
- Docker registry self-hosting
- Error assignment and team triage
- Amazon SES alert emails and digests
- Self-hosting
- Local development
- Deployment config
- ClickHouse
- S3-compatible telemetry archive storage through the deployment and self-hosting guides
- HTTP API
- API reference with Swagger UI, OpenAPI YAML, and a Postman collection
- Pagefind text search across article content
- Ruby integration
- .NET integration
- Python integration
- JavaScript integration
- Android integration with Maven Central coordinates
org.logister:logister-android - iOS integration with Swift Package Manager URL
https://github.com/taimoorq/logister-ios.git - CFML integration
llms.txtandllms-full.txt
When you add or change docs pages in this folder:
- update any repeated sidebar or footer integration links if navigation changed
- keep sidebar groups as
<div class="sidebar-group"><p class="sidebar-label">...</p>...</div>;assets/site.jsturns those groups into accessible collapsible sections at runtime - run
bin/build-cloudflare-docswhen you add a new public page sositemap.xmlandrobots.txtstay aligned - keep article content inside
<article class="article" data-pagefind-body>so Pagefind indexes page content without sidebars and navigation - preview locally with
wrangler pages dev cloudflare-docs - deploy through the GitHub Actions workflow or
wrangler pages deploy cloudflare-docs --project-name=<project>