8000
Skip to content

doc: merge docs makefiles#17157

Merged
tomponline merged 1 commit intocanonical:mainfrom
minaelee:doc-merge-makefiles
Dec 4, 2025
Merged

doc: merge docs makefiles#17157
tomponline merged 1 commit intocanonical:mainfrom
minaelee:doc-merge-makefiles

Conversation

@minaelee
Copy link
Copy Markdown
Contributor
@minaelee minaelee commented Dec 4, 2025

Combines doc/Makefile and doc/Makefile.sp into a single unified Makefile to move toward required standardized Canonical-wide docs tooling (the starter pack has changed to this format). All functionality is preserved, with the following improvements:

  • Removes prereqs for pyyaml and gitpython as these are now in static requirements.txt
  • Combines html and html-rtd targets with dynamic check to set LOCAL_SPHINX_BUILD=False for html-rtd
  • ALLFILES variable initialized to .md instead of set to .rst then changed later

Checklist

@github-actions github-actions bot added the Documentation Documentation needs updating label Dec 4, 2025
@minaelee minaelee requested a review from Copilot December 4, 2025 05:42
Copy link
Copy Markdown
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 consolidates the documentation build system by merging doc/Makefile.sp (from the Sphinx starter pack) into doc/Makefile, creating a single unified Makefile for documentation builds. The changes align with Canonical-wide standard documentation tooling practices.

Key changes:

  • Removes doc/Makefile.sp entirely and incorporates all its functionality into doc/Makefile
  • Combines html and html-rtd targets using conditional logic to set LOCAL_SPHINX_BUILD dynamically
  • Updates ALLFILES variable to use .md extensions instead of .rst from the start

Reviewed changes

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

File Description
doc/Makefile.sp Complete removal of the starter pack Makefile
doc/Makefile Merged implementation combining all previous functionality from both Makefiles with unified targets and variable definitions

Comment thread doc/Makefile Outdated
Comment thread doc/Makefile Outdated
Comment thread doc/Makefile Outdated
Comment thread doc/Makefile Outdated
@minaelee minaelee force-pushed the doc-merge-makefiles branch from 536b8ff to a586fc8 Compare December 4, 2025 06:21
@minaelee minaelee marked this pull request as ready for review December 4, 2025 06:31
@minaelee minaelee requested a review from Copilot December 4, 2025 06:31
Copy link
Copy Markdown
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

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

Comment thread doc/Makefile Outdated
Comment thread doc/Makefile Outdated
Comment thread doc/Makefile Outdated
Copy link
Copy Markdown
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

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

Comment thread doc/Makefile Outdated
Comment thread doc/Makefile Outdated
Comment thread doc/Makefile Outdated
Copy link
Copy Markdown
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

Copilot reviewed 2 out of 2 changed files in this pull request and generated 6 comments.

Comment thread doc/Makefile Outdated
Comment thread doc/Makefile Outdated
Comment thread doc/Makefile Outdated
Comment thread doc/Makefile Outdated
Comment thread doc/Makefile Outdated
Comment thread doc/Makefile Outdated
@minaelee minaelee force-pushed the doc-merge-makefiles branch 2 times, most recently from 7d4a45b to 88d0e3f Compare December 4, 2025 07:39
@minaelee minaelee requested a review from Copilot December 4, 2025 07:41
Copy link
Copy Markdown
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

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

Comment thread doc/Makefile Outdated
Comment thread doc/Makefile Outdated
Combines doc/Makefile and doc/Makefile.sp into a single unified
Makefile. All functionality is preserved, with the following
improvements:
- Removes prereqs for pyyaml and gitpython as these are now in static
  requirements.txt
- Combines html and html-rtd targets with dynamic check to set
  LOCAL_SPHINX_BUILD=False for html-rtd
- ALLFILES variable initialized to .md instead of set to .rst then
  changed later

Signed-off-by: Minae Lee <minae.lee@canonical.com>
@minaelee minaelee force-pushed the doc-merge-makefiles branch from 88d0e3f to 8ad7fdc Compare December 4, 2025 07:56
Copy link
Copy Markdown
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

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.

@minaelee minaelee marked this pull request as ready for review December 4, 2025 08:01
@tomponline tomponline merged commit b1a869f into canonical:main Dec 4, 2025
71 of 72 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Documentation Documentation needs updating

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

0