Skip to content

Add snippet content type (#4626)#4655

Merged
aneta-petrova merged 2 commits intotheforeman:3.17from
aneta-petrova:mod-docs-snippet-3-17
Feb 16, 2026
Merged

Add snippet content type (#4626)#4655
aneta-petrova merged 2 commits intotheforeman:3.17from
aneta-petrova:mod-docs-snippet-3-17

Conversation

@aneta-petrova
Copy link
Member

@aneta-petrova aneta-petrova commented Feb 16, 2026

What changes are you introducing?

Changes from cfe820e. Most of them were fine (just adding the SNIPPET content type and + to make sure procedures don't get broken), but it was mostly the repository configuration procedures that needed scratching the original changes and just re-applying the content type again.

Why are you introducing these changes? (Explanation, links to references, issues, etc.)

An attempt to apply #4626 to branch 3.17

Anything else to add? (Considerations, potential downsides, alternative solutions you have explored, etc.)

Contributor checklists

  • I am okay with my commits getting squashed when you merge this PR.
  • I am familiar with the contributing guidelines.

Please cherry-pick my commits into:

  • Foreman 3.18/Katello 4.20 (Satellite 6.19)
  • Foreman 3.17/Katello 4.19
  • Foreman 3.16/Katello 4.18 (Satellite 6.18; orcharhino 7.6)
  • Foreman 3.15/Katello 4.17
  • Foreman 3.14/Katello 4.16 (Satellite 6.17; orcharhino 7.4; orcharhino 7.5)
  • Foreman 3.13/Katello 4.15 (EL9 only)
  • Foreman 3.12/Katello 4.14 (Satellite 6.16; orcharhino 7.2 on EL9 only; orcharhino 7.3)
  • We do not accept PRs for Foreman older than 3.12.

@github-actions github-actions bot added Needs tech review Requires a review from the technical perspective Needs style review Requires a review from docs style/grammar perspective Needs testing Requires functional testing labels Feb 16, 2026
@aneta-petrova aneta-petrova removed Needs tech review Requires a review from the technical perspective Needs style review Requires a review from docs style/grammar perspective Needs testing Requires functional testing labels Feb 16, 2026
@aneta-petrova aneta-petrova force-pushed the mod-docs-snippet-3-17 branch 2 times, most recently from 31d684c to 7596a4a Compare February 16, 2026 10:45
Includes most of the changes from cfe820e
Add '+'

Update module type

Add snip content type to repo configuration procedures
@aneta-petrova
Copy link
Member Author

Hi @maximiliankolb, can you please review? The first commit contains the same changes as #4626, excluding changes to some files that did not fit the 3.17 branch well. So after excluding those files, I applied the SNIPPET type manually in them and resolved any issues that occurred. The HTML diff doesn't show any SNIPPET leftovers and the list of changed guides is small, and looks like all of them are related only to the intended changes in this PR.

@aneta-petrova aneta-petrova marked this pull request as ready for review February 16, 2026 11:42
@aneta-petrova aneta-petrova added the Needs style review Requires a review from docs style/grammar perspective label Feb 16, 2026
Copy link
Contributor

@maximiliankolb maximiliankolb left a comment

Choose a reason for hiding this comment

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

LGTM

@aneta-petrova aneta-petrova added style review done No issues from docs style/grammar perspective and removed Needs style review Requires a review from docs style/grammar perspective labels Feb 16, 2026
@aneta-petrova
Copy link
Member Author

I'll merge without waiting for 24 hours because this is still for the most part just a cherry-pick.

@aneta-petrova aneta-petrova merged commit 53677c1 into theforeman:3.17 Feb 16, 2026
10 checks passed
@aneta-petrova aneta-petrova deleted the mod-docs-snippet-3-17 branch February 16, 2026 12:06
@aneta-petrova
Copy link
Member Author

Merged to "3.17" but I'll need yet another PR for "3.16" because a few procedures in the security compliance guide got broken by adding the attribute.

aneta-petrova added a commit to aneta-petrova/foreman-documentation that referenced this pull request Feb 16, 2026
* Add snippet content type

Includes most of the changes from cfe820e

* Apply adjustments after adding SNIPPET content type

Add '+'

Update module type

Add snip content type to repo configuration procedures

(cherry picked from commit 53677c1)
aneta-petrova added a commit that referenced this pull request Feb 16, 2026
* Add snippet content type (#4626) (#4655)

* Add snippet content type

Includes most of the changes from cfe820e

* Apply adjustments after adding SNIPPET content type

Add '+'

Update module type

Add snip content type to repo configuration procedures

(cherry picked from commit 53677c1)

* Drop a snippet that doesn't work well with content type attr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

style review done No issues from docs style/grammar perspective

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments