Skip to content

[3.0 doc] Guide to use developing html5 client - #24674

Merged
antobinary merged 2 commits into
bigbluebutton:v3.0.x-developfrom
hiroshisuga:patch-53
Apr 24, 2026
Merged

antobinary merged 2 commits into
bigbluebutton:v3.0.x-developfrom
hiroshisuga:patch-53

Conversation

@hiroshisuga

@hiroshisuga hiroshisuga commented Feb 22, 2026 •

Copy link
Copy Markdown
Contributor

What does this PR do?

Add an instruction to switch the nginx configuration files for development mode.

Closes Issue(s)

Closes #

Motivation

I think this instruction was present in the v2.x docs but removed in the v3.0 docs, but still necessary if the user does not use the run-dev.sh script.
People may not have realised because the developers are now using mostly the docker.

How to test

More

It's possible that this is only specific to my development environment. If so, please close the issue.

@coderabbitai

coderabbitai Bot commented Feb 22, 2026 •

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

🗂️ Base branches to auto review (1)
  • v4.0.x-release

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 443e45ba-03be-416c-945e-5813e11d11fa

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Walkthrough

A documentation update is added to the HTML5 development guide that instructs developers on how to configure the nginx server for local development. The instructions explain how to edit the nginx configuration file to point to a development version (bbb-html5.nginx.dev), includes a fallback path, and reminds developers to restart nginx. It also notes the importance of reverting the configuration when switching back to using the developing client.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title directly relates to the main change: adding guidance on using the developing HTML5 client via nginx configuration, which is the core purpose of the documentation update.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description check ✅ Passed The description clearly explains the purpose of the changes: adding an instruction to switch nginx configuration files for development mode in the HTML5 development guide.

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

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

@hiroshisuga hiroshisuga changed the title Guide to develop html5 client [doc] Guide to develop html5 client Feb 22, 2026
@hiroshisuga hiroshisuga changed the title [doc] Guide to develop html5 client [3.0 doc] Guide to develop html5 client Feb 22, 2026
@sonarqubecloud

Copy link
Copy Markdown

@hiroshisuga hiroshisuga changed the title [3.0 doc] Guide to develop html5 client [3.0 doc] Guide to use developing html5 client Feb 22, 2026

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

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)
docs/docs/development/dev-guide.md (1)

298-299: Prefer reload over restart for nginx config changes, and put the command in a fenced code block.

  • sudo systemctl restart nginx tears down all active connections. All other nginx config changes in the BBB dev docs use sudo systemctl reload nginx, which is the graceful equivalent and sufficient for a config reload.
  • The sudo systemctl restart nginx command is the only command in this document written as inline code rather than in a fenced code block, which is inconsistent with the surrounding steps.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs/docs/development/dev-guide.md` around lines 298 - 299, Replace the
inline command `sudo systemctl restart nginx` with the graceful reload
equivalent `sudo systemctl reload nginx` and present it as a fenced code block
in the doc step that edits /usr/share/bigbluebutton/nginx/bbb-html5.nginx to use
bbb-html5.nginx.dev (instead of bbb-html5.nginx.static); ensure the surrounding
steps use the same fenced-code style so the command is consistent with other
nginx config instructions.
🤖 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/docs/development/dev-guide.md`:
- Around line 298-299: Replace the include directive in the bbb-html5.nginx file
so the line containing "include ...bbb-html5.nginx.static;" is changed to
"include ...bbb-html5.nginx.dev;"; after editing, run a graceful nginx config
reload (use systemctl reload nginx, not restart); update the docs to show the
exact sed or replace command as a bash code block consistent with other docs;
and add an explicit revert instruction that switches "bbb-html5.nginx.dev" back
to "bbb-html5.nginx.static" and reloads nginx.

---

Nitpick comments:
In `@docs/docs/development/dev-guide.md`:
- Around line 298-299: Replace the inline command `sudo systemctl restart nginx`
with the graceful reload equivalent `sudo systemctl reload nginx` and present it
as a fenced code block in the doc step that edits
/usr/share/bigbluebutton/nginx/bbb-html5.nginx to use bbb-html5.nginx.dev
(instead of bbb-html5.nginx.static); ensure the surrounding steps use the same
fenced-code style so the command is consistent with other nginx config
instructions.

Comment thread docs/docs/development/dev-guide.md Outdated
Comment on lines +298 to +299
Edit /usr/share/bigbluebutton/nginx/bbb-html5.nginx to use bbb-html5.nginx.dev, instead of bbb-html5.nginx.static. If the file path to bbb-html5.nginx.dev is missing, try /usr/share/bigbluebutton/nginx/bbb-html5.nginx.dev. Then restart nginx by `sudo systemctl restart nginx`. Remember to switch it back when you stop using the developing client.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟡 Minor

🧩 Analysis chain

🏁 Script executed:

# First, let's explore the repository structure and locate the file
git ls-files | head -20
fd -t f 'dev-guide.md'

Repository: bigbluebutton/bigbluebutton

Length of output: 905


🏁 Script executed:

# Check the specific file and lines mentioned
wc -l docs/docs/development/dev-guide.md

Repository: bigbluebutton/bigbluebutton

Length of output: 109


🏁 Script executed:

# Read the lines in question plus surrounding context
sed -n '290,310p' docs/docs/development/dev-guide.md

Repository: bigbluebutton/bigbluebutton

Length of output: 888


🏁 Script executed:

# Search for nginx config file references in the codebase
fd -t f 'bbb-html5\.nginx' --hidden

Repository: bigbluebutton/bigbluebutton

Length of output: 231


🏁 Script executed:

# Check if there are any build artifacts or config files
find . -type f -name '*bbb-html5*' 2>/dev/null | head -20

Repository: bigbluebutton/bigbluebutton

Length of output: 1274


🏁 Script executed:

# Look at the document style - count code blocks vs inline commands
grep -n '```' docs/docs/development/dev-guide.md | tail -20

Repository: bigbluebutton/bigbluebutton

Length of output: 256


🏁 Script executed:

# Check how other commands are formatted in the document
grep -n 'sudo systemctl' docs/docs/development/dev-guide.md

Repository: bigbluebutton/bigbluebutton

Length of output: 468


🏁 Script executed:

# Read the actual nginx configuration files to understand what needs to be changed
echo "=== bbb-html5.nginx ===" && cat build/packages-template/bbb-html5/bbb-html5.nginx
echo -e "\n=== bbb-html5.nginx.static ===" && cat build/packages-template/bbb-html5/bbb-html5.nginx.static
echo -e "\n=== bbb-html5.nginx.dev ===" && cat build/packages-template/bbb-html5/bbb-html5.nginx.dev

Repository: bigbluebutton/bigbluebutton

Length of output: 1531


🏁 Script executed:

# Check the line count around line 298 to see if it's actually one or two lines
sed -n '296,302p' docs/docs/development/dev-guide.md | cat -n

Repository: bigbluebutton/bigbluebutton

Length of output: 513


🏁 Script executed:

# Look at the broader context of the dev guide to see other examples
sed -n '275,310p' docs/docs/development/dev-guide.md | cat -n

Repository: bigbluebutton/bigbluebutton

Length of output: 1851


Clarify the nginx include directive swap and fix the self-contradictory fallback.

The paragraph has several clarity issues:

  1. Missing the specific directive to change — The text says "edit...to use bbb-html5.nginx.dev" but doesn't show which line. The actual change is swapping the include directive in /usr/share/bigbluebutton/nginx/bbb-html5.nginx from include /usr/share/bigbluebutton/nginx/bbb-html5.nginx.static; to include /usr/share/bigbluebutton/nginx/bbb-html5.nginx.dev; (the commented line is already there). Developers need to see the exact line or a concrete command.

  2. Self-contradictory fallback — "If the file path to bbb-html5.nginx.dev is missing, try /usr/share/bigbluebutton/nginx/bbb-html5.nginx.dev" — both the condition and remedy name the same path. This is not actionable.

  3. Vague revert instruction — "switch it back" should explicitly state to revert to bbb-html5.nginx.static.

  4. Code block formatting — Inconsistent with the rest of the document. All other commands are in bash fenced blocks; this instruction should be too.

  5. restart should be reload — For config-only changes, sudo systemctl reload nginx is the standard practice (graceful reload); restart drops active connections unnecessarily.

Suggested rewrite
-Edit /usr/share/bigbluebutton/nginx/bbb-html5.nginx to use bbb-html5.nginx.dev, instead of bbb-html5.nginx.static. If the file path to bbb-html5.nginx.dev is missing, try /usr/share/bigbluebutton/nginx/bbb-html5.nginx.dev. Then restart nginx by `sudo systemctl restart nginx`. Remember to switch it back when you stop using the developing client.
+Switch the nginx configuration to use the development variant by uncommenting the `.dev` include:
+
+```bash
+sudo sed -i 's|include /usr/share/bigbluebutton/nginx/bbb-html5.nginx.static;|include /usr/share/bigbluebutton/nginx/bbb-html5.nginx.dev;|' \
+    /usr/share/bigbluebutton/nginx/bbb-html5.nginx
+sudo systemctl reload nginx
+```
+
+When you stop the development client, revert the change by replacing `bbb-html5.nginx.dev` with `bbb-html5.nginx.static` and reloading nginx.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@docs/docs/development/dev-guide.md` around lines 298 - 299, Replace the
include directive in the bbb-html5.nginx file so the line containing "include
...bbb-html5.nginx.static;" is changed to "include ...bbb-html5.nginx.dev;";
after editing, run a graceful nginx config reload (use systemctl reload nginx,
not restart); update the docs to show the exact sed or replace command as a bash
code block consistent with other docs; and add an explicit revert instruction
that switches "bbb-html5.nginx.dev" back to "bbb-html5.nginx.static" and reloads
nginx.

@antobinary antobinary added this to the Release 3.0 milestone Feb 24, 2026
@antobinary
antobinary requested a review from gustavotrott March 5, 2026 18:39
Comment thread docs/docs/development/dev-guide.md Resolved
@antobinary
antobinary changed the base branch from v3.0.x-release to v3.0.x-develop April 24, 2026 15:23
@antobinary
antobinary merged commit fcb3e62 into bigbluebutton:v3.0.x-develop Apr 24, 2026
6 checks passed
@sonarqubecloud

Copy link
Copy Markdown

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.

3 participants