Skip to content

Refactor header layout and improve documentation clarity#18

Merged
admdly merged 3 commits into
mainfrom
refactor/header
May 11, 2026
Merged

Refactor header layout and improve documentation clarity#18
admdly merged 3 commits into
mainfrom
refactor/header

Conversation

@admdly
Copy link
Copy Markdown
Contributor

@admdly admdly commented May 11, 2026

No description provided.

admdly added 2 commits May 11, 2026 21:53
Improve documentation clarity and example code across the site: clarify maintenance and API config options, standardize config arrays, remove placeholder comments from PHP examples, tighten the license validation example (require host and return it), add concrete JS success/error logging and spinner CSS, and simplify module permission notes. Also update footer social label to "X" and point docs license link to the Creative Commons license in the docs repo. These changes are editorial and aim to make examples more actionable and the docs more accurate.
Copilot AI review requested due to automatic review settings May 11, 2026 21:30
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented May 11, 2026

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
docs 43a679b Commit Preview URL

Branch Preview URL
May 11 2026, 09:35 PM

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR refactors the Starlight header layout for the docs site and performs a broad documentation cleanup to make examples more concrete and reduce inline “placeholder” commentary.

Changes:

  • Refactors Header.astro layout/CSS and updates Footer.astro links/license reference.
  • Updates multiple docs pages to remove placeholder comments and improve example clarity (notably JS wrapper and license plugin examples).
  • Expands config documentation text to better explain maintenance mode and API settings.

Reviewed changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/content/docs/security/securing-fossbilling.mdoc Removes redundant “Example configuration” comments in config snippets.
src/content/docs/product-types/license.mdoc Makes the custom license plugin example more concrete (host validation + returned data).
src/content/docs/maintaining-fossbilling/admin-manual-reset.mdoc Cleans up the DB config snippet by removing an inline comment.
src/content/docs/developing-fossbilling/javascript.mdoc Replaces placeholder comments with concrete logging examples and adds response-callback explanations.
src/content/docs/developing-fossbilling/guides/creating-a-registrar-integration.mdoc Removes placeholder comments from example adapter methods.
src/content/docs/developing-fossbilling/guides/creating-a-payment-gateway.mdoc Removes a placeholder verification comment in the gateway example.
src/content/docs/developing-fossbilling/guides/creating-a-module.mdoc Moves inline permission comments into a clearer explanatory sentence below the snippet.
src/content/docs/developing-fossbilling/event-hooks.mdoc Removes placeholder comments from hook examples.
src/content/docs/customizing-fossbilling/config.mdoc Adds clarifying guidance text and removes inline comments in sample config blocks.
src/components/starlight/Header.astro Reworks header structure/CSS to a brand + tools layout and adds a “Docs” label.
src/components/starlight/Footer.astro Updates the X link and points licensing text to LICENSE-docs (CC BY-SA 4.0).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/content/docs/developing-fossbilling/javascript.mdoc
@admdly admdly merged commit 9fabb35 into main May 11, 2026
8 checks passed
@admdly admdly deleted the refactor/header branch May 11, 2026 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants