Skip to content

[private-server] clarify URL structure#182

Merged
capcom6 merged 3 commits intomasterfrom
private-server/clarify-url-structure
Apr 10, 2026
Merged

[private-server] clarify URL structure#182
capcom6 merged 3 commits intomasterfrom
private-server/clarify-url-structure

Conversation

@capcom6
Copy link
Copy Markdown
Member

@capcom6 capcom6 commented Apr 8, 2026

Summary by CodeRabbit

  • Documentation
    • Replaced style guide with an expanded, emoji-forward guide: standardized admonitions, stricter visual/content rules, example snippets, quick-reference, and clarified tab/code conventions.
    • Reorganized multiple FAQs (authentication, errors, general, local/private): moved/merged sections, consolidated troubleshooting, removed deprecated bits.
    • Added Private Server FAQ and updated Private Server feature docs.
    • Updated getting-started pages with HTTPS and explicit Private API path requirements.
    • Adjusted site navigation ordering.

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages bot commented Apr 8, 2026

Deploying docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: 3ff187c
Status: ✅  Deploy successful!
Preview URL: https://933106e1.docs-7wm.pages.dev
Branch Preview URL: https://private-server-clarify-url-s.docs-7wm.pages.dev

View logs

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 8, 2026

Warning

Rate limit exceeded

@capcom6 has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 23 minutes and 53 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 23 minutes and 53 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: ace029da-1767-4854-abe7-228910167aca

📥 Commits

Reviewing files that changed from the base of the PR and between 7e8b1ef and 3ff187c.

📒 Files selected for processing (13)
  • STYLEGUIDE.md
  • docs/faq/authentication.md
  • docs/faq/errors.md
  • docs/faq/general.md
  • docs/faq/local-server.md
  • docs/faq/private-server.md
  • docs/features/private-server.md
  • docs/getting-started/local-server.md
  • docs/getting-started/private-server.md
  • docs/getting-started/public-cloud-server.md
  • docs/index.md
  • docs/integration/authentication.md
  • mkdocs.yml

Walkthrough

Expanded and standardized the project style guide; reorganized and reformatted multiple FAQ, getting-started, and feature docs (including a new Private Server FAQ with HTTPS and /api path guidance); removed several password-management sections; and reordered site navigation and index links. No code or exported/public API changes.

Changes

Cohort / File(s) Summary
Style Guide
STYLEGUIDE.md
Replaced prior guide with an expanded emoji-forward style guide: standardized admonition types and example usage, tightened emoji rules for headings, image alt/caption requirements, Mermaid constraints, required tab syntax (===) and explicit code-example/tab structure, plus Do/Don't quick reference and examples.
FAQ — Authentication / Integration
docs/faq/authentication.md, docs/integration/authentication.md
Reordered and consolidated token/JWT sections, removed the Local Server /auth/token 501 note and a JWT-availability callout, reworked token revocation/troubleshooting content, and added See Also links.
FAQ — General & Errors
docs/faq/general.md, docs/faq/errors.md
Reordered and reformatted sections (moved/restored MMS and Android-15 entries), normalized list formatting/line breaks, and moved RESULT_RIL_MODEM_ERR after RESULT_NO_DEFAULT_SMS_APP.
FAQ — Local & Private Server, Features
docs/faq/local-server.md, docs/faq/private-server.md, docs/features/private-server.md
Moved/expanded Local Server disconnect section with prevention steps and persistent-notification check; removed Basic-auth-only/port-password notes from local-server FAQ; added new Private Server FAQ describing required /api/mobile/v1 path, HTTPS/cert options, /health checks and external /api/3rdparty/v1 usage; feature page adds /api path callout.
Getting Started
docs/getting-started/local-server.md, docs/getting-started/private-server.md, docs/getting-started/public-cloud-server.md
Removed Server Configuration/password-management sections from local and public guides; private-server doc adds HTTPS requirement, certificate options, and contrasts Cloud vs Private URL paths (Private requires /api). Standardized heading emoji placement.
Site Nav & Index
mkdocs.yml, docs/index.md
Reordered top-level navigation and Features ordering, added faq/private-server.md to FAQ, moved several resource items (Blog/Services/Pricing/Privacy), adjusted plugin social gating, and fixed reading-messages link path in index.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~22 minutes

Possibly related PRs

Suggested labels

ready

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title '[private-server] clarify URL structure' accurately describes the main focus of the changeset, which involves clarifying URL path structure requirements for private server deployments across multiple documentation files.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🧹 Nitpick comments (1)
STYLEGUIDE.md (1)

5-10: Style rule is self-contradictory across the same document

Line 9-10 requires emojis at the start of H1/H2 headings, but multiple H2 headings (for example, Line 5 and Line 26) place emojis at the end, and the “Good Heading Structure” example (Line 199-214) omits H2 emojis entirely. This makes the rule hard to apply consistently.

Proposed consistency fix (example)
-## 1. Typography 📝
+## 📝 1. Typography

-## 2. Color Scheme 🎨
+## 🎨 2. Color Scheme

-## 3. Visual Elements 🎯
+## 🎯 3. Visual Elements
-## Overview
+## 📌 Overview

-## JWT Tokens
+## 🔑 JWT Tokens

-## See Also
+## 📚 See Also

Also applies to: 26-26, 52-52, 88-88, 108-108, 152-152, 179-179, 197-197, 199-214

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@STYLEGUIDE.md` around lines 5 - 10, The STYLEGUIDE.md contains a
contradictory rule about emoji placement in headings; update the "Typography"
and "Headings" section so the rule is consistent with examples: choose one
canonical pattern (emoji at the start or end) and apply it across the document,
then update all headings and examples referenced ("Typography", "Headings", and
the "Good Heading Structure" example) to follow that chosen pattern (e.g.,
change H2s on lines shown and the example block to use the same emoji placement)
and adjust the sentence "Always place emoji at the beginning of 1st and 2nd
level headings" to match the chosen convention.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@docs/faq/authentication.md`:
- Around line 336-339: The curl example shows an invalid header "Authorization:
Basic username:password"; update the token revocation example so credentials are
passed correctly (either use curl's -u username:password flag which handles
base64 encoding, or construct a proper header with "Authorization: Basic
<base64-credentials>"); replace the incorrect Authorization header string in the
shown curl command accordingly and keep the rest of the request (DELETE
"https://api.sms-gate.app/3rdparty/v1/auth/token/{jti}") unchanged.

---

Nitpick comments:
In `@STYLEGUIDE.md`:
- Around line 5-10: The STYLEGUIDE.md contains a contradictory rule about emoji
placement in headings; update the "Typography" and "Headings" section so the
rule is consistent with examples: choose one canonical pattern (emoji at the
start or end) and apply it across the document, then update all headings and
examples referenced ("Typography", "Headings", and the "Good Heading Structure"
example) to follow that chosen pattern (e.g., change H2s on lines shown and the
example block to use the same emoji placement) and adjust the sentence "Always
place emoji at the beginning of 1st and 2nd level headings" to match the chosen
convention.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 5ce2fdb0-f06f-455f-afe9-8a9a26501e0f

📥 Commits

Reviewing files that changed from the base of the PR and between 2eede85 and 8c76a03.

📒 Files selected for processing (13)
  • STYLEGUIDE.md
  • docs/faq/authentication.md
  • docs/faq/errors.md
  • docs/faq/general.md
  • docs/faq/local-server.md
  • docs/faq/private-server.md
  • docs/features/private-server.md
  • docs/getting-started/local-server.md
  • docs/getting-started/private-server.md
  • docs/getting-started/public-cloud-server.md
  • docs/index.md
  • docs/integration/authentication.md
  • mkdocs.yml
💤 Files with no reviewable changes (1)
  • docs/getting-started/local-server.md

Comment thread docs/faq/authentication.md
Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

♻️ Duplicate comments (1)
docs/faq/authentication.md (1)

336-339: ⚠️ Potential issue | 🟡 Minor

Use -u instead of embedding Base64 credentials in the example.

Even though this header is valid, documenting Base64 credential literals is easy to copy incorrectly and keeps triggering secret/token scanners. Prefer curl -u for safer, clearer usage.

Suggested edit
 curl -X DELETE "https://api.sms-gate.app/3rdparty/v1/auth/token/{jti}" \
-  -H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ="
+  -u "username:password"
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs/faq/authentication.md` around lines 336 - 339, Replace the embedded
Base64 Authorization header in the curl example with curl's -u option: remove
the -H "Authorization: Basic dXNlcm5hbWU6cGFzc3dvcmQ=" header and use -u with a
placeholder credential (e.g., -u username:password or -u "$USER:$PASS") in the
DELETE request example so examples avoid literal Base64 secrets and are
clearer/safer for users.
🧹 Nitpick comments (1)
STYLEGUIDE.md (1)

125-125: Consider hyphenating compound adjective.

The phrase "error handling examples" uses "error handling" as a compound modifier. For clarity and consistency with standard style guides, consider hyphenating it as "error-handling examples."

📝 Proposed refinement
-- Include error handling examples for complex operations
+- Include error-handling examples for complex operations
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@STYLEGUIDE.md` at line 125, Update the phrase "Include error handling
examples for complex operations" to hyphenate the compound modifier—change it to
"Include error-handling examples for complex operations" wherever that
header/text appears (search for the exact string "Include error handling
examples for complex operations" in STYLEGUIDE.md) and run a quick pass to
ensure similar compound modifiers elsewhere follow the same hyphenation rule.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@STYLEGUIDE.md`:
- Line 5: The second-level heading "## 1. Typography 📝" places the emoji at the
end, violating the document rule "Always place emoji at the beginning"; change
this heading to place the emoji at the start following the project's pattern
(e.g., "## 📝 1. Typography") so it matches other 2nd-level headings like the
ones referenced and keeps emoji placement consistent across the file.

---

Duplicate comments:
In `@docs/faq/authentication.md`:
- Around line 336-339: Replace the embedded Base64 Authorization header in the
curl example with curl's -u option: remove the -H "Authorization: Basic
dXNlcm5hbWU6cGFzc3dvcmQ=" header and use -u with a placeholder credential (e.g.,
-u username:password or -u "$USER:$PASS") in the DELETE request example so
examples avoid literal Base64 secrets and are clearer/safer for users.

---

Nitpick comments:
In `@STYLEGUIDE.md`:
- Line 125: Update the phrase "Include error handling examples for complex
operations" to hyphenate the compound modifier—change it to "Include
error-handling examples for complex operations" wherever that header/text
appears (search for the exact string "Include error handling examples for
complex operations" in STYLEGUIDE.md) and run a quick pass to ensure similar
compound modifiers elsewhere follow the same hyphenation rule.
🪄 Autofix (Beta)

✅ Autofix completed


ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 23c7c07b-0666-491b-9ab4-b5ecb100b288

📥 Commits

Reviewing files that changed from the base of the PR and between 8c76a03 and 2c97eda.

📒 Files selected for processing (2)
  • STYLEGUIDE.md
  • docs/faq/authentication.md

Comment thread STYLEGUIDE.md Outdated
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 10, 2026

Note

Autofix is a beta feature. Expect some limitations and changes as we gather feedback and continue to improve it.

Fixes Applied Successfully

Fixed 2 file(s) based on 1 unresolved review comment.

Files modified:

  • STYLEGUIDE.md
  • mkdocs.yml

Commit: 7e8b1efd0e51702e04c6ff6e48cd36516c8aef17

The changes have been pushed to the private-server/clarify-url-structure branch.

Time taken: 3m 31s

Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@STYLEGUIDE.md`:
- Line 194: Update the problematic wording "Include broken or relative links
without testing" to remove the contradiction by changing it to "Include broken
or untested links" (or "broken or untested links") so it no longer discourages
relative links; ensure the phrase appears in the STYLEGUIDE.md where the current
line reads that text and keep consistency with the earlier guidance that
recommends relative links.
- Line 20: Replace the triple-fence language examples (the three-backtick +
language examples for json, bash, python) used inline in the prose with inline
code tokens (i.e., single-backtick-wrapped language names) or, where a block is
intended, a proper fenced example block; update the STYLEGUIDE.md example text
to show the preferred inline token usage for language names (json, bash, python)
and ensure the line uses lint-friendly markdown formatting.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 900eabd4-3f45-4bd6-b21d-f0d798d7f5cf

📥 Commits

Reviewing files that changed from the base of the PR and between 2c97eda and 7e8b1ef.

📒 Files selected for processing (2)
  • STYLEGUIDE.md
  • mkdocs.yml
🚧 Files skipped from review as they are similar to previous changes (1)
  • mkdocs.yml

Comment thread STYLEGUIDE.md
Comment thread STYLEGUIDE.md
@capcom6 capcom6 force-pushed the private-server/clarify-url-structure branch from 7e8b1ef to 3ff187c Compare April 10, 2026 07:48
@capcom6 capcom6 merged commit 201689d into master Apr 10, 2026
5 checks passed
@capcom6 capcom6 deleted the private-server/clarify-url-structure branch April 10, 2026 10:16
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.

1 participant