Repository navigation
Remove access code - #726
Merged
reshmabidikar merged 12 commits intoNov 20, 2026
Merged
reshmabidikar merged 12 commits into
reshmabidikar merged 12 commits into
Conversation
- Template: canonical link to the /latest/ URL on every page; pages with the kb-noindex attribute get meta robots noindex instead. - scripts/canonicalize_versions.rb, run by update_gh-pages.sh: old version directories on gh-pages are not rebuilt, so the script writes a canonical link to the same page under /latest/ (or noindex when there is no equivalent, see scripts/canonical-overrides.txt) into their HTML. Idempotent. Also adds a self canonical to /latest/ pages that are not rebuilt from this branch. - scripts/generate_sitemap.rb, run by make.sh: sitemap.xml with /latest/ pages only, lastmod from git history (omitted in shallow clones). publish.yml fetches full history for it. - static/robots.txt (allow all, sitemap location), static/_headers (noindex on *.pages.dev hosts and /errors/*), static/_redirects (renamed database migrations page). - userguide/site/404.adoc: Cloudflare Pages returns 404.html with a 404 status for missing paths instead of the home page with 200. - make.sh: set -e (the shebang flag is ignored by "bash make.sh"), site-root files assembled in build/root; update_gh-pages.sh and cloudflare_deploy.sh copy them to the site root. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014mAnVCTfXeAj6TfPfuw2ps
Ruby 3.2.2 is not available on ubuntu-latest (ubuntu-26.04) runners. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014mAnVCTfXeAj6TfPfuw2ps
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014mAnVCTfXeAj6TfPfuw2ps
New pages: Aviate Members, Aviate Single Sign-On, Aviate Access Control (permission model, enabling it, built-in and example roles, permission reference). Add the required permissions to the wallet, coupons, metering, health and authentication pages. Replace the insider preview RBAC page, which described a different model. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Clarify token acquisition instructions for Aviate members with email/password login. Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Aviate: document members, single sign-on and access control
Indexing: canonical links, robots.txt, sitemap, 404 page and preview noindex
…ing-update Updated for branding
Contributor
There was a problem hiding this comment.
🟡 Changes recommended
The change introduces an access-code gate for Insider Preview guides and leaves the retired RBAC guide publicly accessible and indexable with a conflicting role model.
5 open issues
Remove the access-code gate from Insider Preview guides · New Remove the retired guide from current and latest published output · New Remove trailing pipes that create extra table cells · New Clarify that branding keys override all tenant email types · New Replace the unrelated rendering example with account-field guidance · New
What changed in this PR
This PR expands Aviate access-management documentation and improves documentation publishing and search indexing. It also revises the email notification guide and adds an Insider Preview access-code gate.
Changes:
- Replace the preview RBAC guide with access-control, membership, and single sign-on documentation.
- Add canonical URLs, sitemap generation, crawler directives, redirects, and a custom 404 page.
- Expand email customization instructions and update documentation navigation.
| File | Description |
|---|---|
userguide/tutorials/email-notification-plugin.adoc |
Reorganizes setup and adds branding customization guidance. |
userguide/site/404.adoc |
Adds a non-indexable missing-page document. |
userguide/preview/aviate-rbac.adoc |
Removes the previous preview RBAC guide. |
userguide/aviate/aviate-wallet.adoc |
Documents wallet endpoint permissions. |
userguide/aviate/aviate-sso.adoc |
Adds organization SSO setup and troubleshooting. |
userguide/aviate/aviate-metering.adoc |
Documents metering permissions. |
userguide/aviate/aviate-members.adoc |
Adds organization membership management guidance. |
userguide/aviate/aviate-health.adoc |
Documents health endpoint permissions. |
userguide/aviate/aviate-coupons.adoc |
Adds coupon permission requirements. |
userguide/aviate/aviate-authentication.adoc |
Clarifies the authentication endpoint’s permission requirement. |
userguide/aviate/aviate-access-control.adoc |
Adds roles, enforcement setup, and permission references. |
update_gh-pages.sh |
Publishes root assets and canonicalizes versioned pages. |
static/robots.txt |
Allows crawling and advertises the sitemap. |
static/_redirects |
Redirects the renamed database migration guide. |
static/_headers |
Adds indexing restrictions for deployment aliases and error paths. |
scripts/generate_sitemap.rb |
Generates latest-page URLs and source modification dates. |
scripts/canonicalize_versions.rb |
Adds canonical or noindex tags to published versions. |
scripts/canonical-overrides.txt |
Maps renamed and retired historical pages. |
README.md |
Documents root assets and canonicalization. |
make.sh |
Enables fail-fast execution and generates site-root files. |
javascripts/kb.js |
Adds the Insider Preview access-code gate. |
html5/document.html.slim |
Adds canonical URLs and optional noindex metadata. |
html5/_main_toc.html.slim |
Links new Aviate guides and removes the preview RBAC entry. |
cloudflare_deploy.sh |
Copies generated root assets into deployments. |
.github/workflows/publish.yml |
Fetches full history for sitemap modification dates. |
Review effort: Balanced
Comment on lines
+194
to
+195
| const ACCESS_KEY = 'insider-access'; | ||
| const ACCESS_CODE = 'aviate2026'; |
| cp -f $BUILD/build/root/* $BUILD/killbill-docs/ | ||
|
|
||
| # Canonical link (or noindex) in every version directory, self canonical on older /latest/ pages | ||
| ruby $DIR/scripts/canonicalize_versions.rb $BUILD/killbill-docs $DIR/scripts/canonical-overrides.txt |
Comment on lines
+476
to
+479
| | Key | Description | | ||
| | `EMAIL_TEMPLATE_COMPANY_INFO` | Email-template-level company information (overrides `COMPANY_INFO`) | | ||
| | `EMAIL_TEMPLATE_LOGO_INFO` | Email-template-level logo (overrides `LOGO_INFO`) | | ||
| | `EMAIL_TEMPLATE_BRAND_INFO` | Email-template-level style/brand information (overrides `BRAND_INFO`). Accepts all 4 fields: `textColor`, `tableBorderColor`, `tableHeadingBgColor`, `tableHeadingTextColor`. | |
|
|
||
| Organization-level branding (`COMPANY_INFO`, `LOGO_INFO`, `BRAND_INFO`) is shared across invoices and emails — see https://docs.killbill.io/latest/invoice_templates.html#upload-branding-information["Upload Branding Information"] in the Invoice Templates document for those keys and example payloads. | ||
|
|
||
| To override branding for a specific email template type, use the corresponding `EMAIL_TEMPLATE_*` key instead: |
Comment on lines
+543
to
546
| the `locale` and `email` fields set. If these fields are missing, emails will not be sent and you will see the following exception in the Kill Bill logs: | ||
|
|
||
| [source,bash] | ||
| com.samskivert.mustache.MustacheException: No key, method or field with name 'account.companyName' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



No description provided.