Skip to content

add make target "serve" to start the live html server.#6876

Merged
fujitatomoya merged 3 commits into
rollingfrom
issues/6875
Jun 2, 2026
Merged

add make target "serve" to start the live html server.#6876
fujitatomoya merged 3 commits into
rollingfrom
issues/6875

Conversation

@fujitatomoya
Copy link
Copy Markdown
Collaborator

Description

closes #6875

Fixes # (issue)

Did you use Generative AI?

Yes, Claude Opus 4.7

Additional Information

Signed-off-by: Tomoya Fujita <tomoya.fujita825@gmail.com>
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

Adds a make serve target that runs sphinx-autobuild for live-reload local documentation development, declares the new dependency, and documents the workflow in both the README and the contributor guide.

Changes:

  • Add serve Makefile target with overridable LIVE_HOST / LIVE_PORT variables, and include it in .PHONY.
  • Add sphinx-autobuild to requirements.txt.
  • Document the new live-reload workflow in README.md and the contributing guide.

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.

File Description
Makefile Adds LIVE_HOST/LIVE_PORT defaults and a serve target invoking sphinx-autobuild.
requirements.txt Adds sphinx-autobuild dependency.
README.md Documents the make serve live-reload workflow.
source/The-ROS2-Project/Contributing/Contributing-To-ROS-2-Documentation.rst Adds a "Live-reload local development" subsection mirroring the README guidance.

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

@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 31, 2026

HTML artifacts: https://github.com/ros2/ros2_documentation/actions/runs/26789671877/artifacts/7345962731.

To view the resulting site:

  1. Click on the above link to download the artifacts archive
  2. Extract it
  3. Open html-artifacts-6876/index.html in your favorite browser

Copy link
Copy Markdown
Collaborator Author

@fujitatomoya fujitatomoya left a comment

Choose a reason for hiding this comment

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

@christophebedard @ahcorde @kscottz what do you think about this? this is useful for me.

Copy link
Copy Markdown
Collaborator

@kscottz kscottz left a comment

Choose a reason for hiding this comment

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

This is sick and very much needed. I can't believe we didn't have it already. I left one minor comment.

Imma smash that approve button so hard.

Comment thread README.md Outdated
Copy link
Copy Markdown
Member

@christophebedard christophebedard left a comment

Choose a reason for hiding this comment

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

I like this! I assume it does the equivalent of make html (i.e., single-/current-distro build), right?

@christophebedard christophebedard added the backport-all backport at reviewers discretion; from rolling to all versions label Jun 1, 2026
@fujitatomoya
Copy link
Copy Markdown
Collaborator Author

I like this! I assume it does the equivalent of make html (i.e., single-/current-distro build), right?

@christophebedard yes, and modification is always synched.

fujitatomoya and others added 2 commits June 2, 2026 08:50
@fujitatomoya
Copy link
Copy Markdown
Collaborator Author

@kscottz @christophebedard this PR needs re-approval with the latest change, can you approve again?

@fujitatomoya fujitatomoya enabled auto-merge (squash) June 2, 2026 00:02
@fujitatomoya fujitatomoya merged commit 739b3cb into rolling Jun 2, 2026
7 checks passed
@fujitatomoya fujitatomoya deleted the issues/6875 branch June 2, 2026 00:08
fujitatomoya added a commit that referenced this pull request Jun 2, 2026
* add make target "serve" to start the live html server.



* use doc server port number 2022 as "ROS2" vibes.



---------


(cherry picked from commit 739b3cb)

Signed-off-by: Tomoya Fujita <tomoya.fujita825@gmail.com>
Co-authored-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
fujitatomoya added a commit that referenced this pull request Jun 2, 2026
* add make target "serve" to start the live html server.



* use doc server port number 2022 as "ROS2" vibes.



---------


(cherry picked from commit 739b3cb)

Signed-off-by: Tomoya Fujita <tomoya.fujita825@gmail.com>
Co-authored-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
fujitatomoya added a commit that referenced this pull request Jun 2, 2026
* add make target "serve" to start the live html server.



* use doc server port number 2022 as "ROS2" vibes.



---------


(cherry picked from commit 739b3cb)

Signed-off-by: Tomoya Fujita <tomoya.fujita825@gmail.com>
Co-authored-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
fujitatomoya added a commit that referenced this pull request Jun 2, 2026
* add make target "serve" to start the live html server.



* use doc server port number 2022 as "ROS2" vibes.



---------


(cherry picked from commit 739b3cb)

Signed-off-by: Tomoya Fujita <tomoya.fujita825@gmail.com>
Co-authored-by: Tomoya Fujita <Tomoya.Fujita@sony.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-all backport at reviewers discretion; from rolling to all versions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document a live-reload workflow for local docs development

4 participants