Skip to content

Add OpenBolt documentation#143

Merged
tuxmea merged 1 commit into
OpenVoxProject:masterfrom
miharp:feat/add-openbolt-docs
May 2, 2026
Merged

Add OpenBolt documentation#143
tuxmea merged 1 commit into
OpenVoxProject:masterfrom
miharp:feat/add-openbolt-docs

Conversation

@miharp
Copy link
Copy Markdown
Contributor

@miharp miharp commented May 2, 2026

Summary

  • Adds a rake references:openbolt task that clones OpenVoxProject/openbolt, checks out the latest tag, and copies all docs and images from its documentation/ directory into docs/_openbolt_5x/ with Jekyll frontmatter
  • Registers openbolt_5x / openbolt_latest collections in _config.yml, _data/nav_map.yml, and _data/navigation.yml
  • Adds the sidebar nav file _data/nav/openbolt_5x.yml with pages organised into sections
  • Wires rake references:openbolt INSTALLPATH=docs into the CI build step alongside the existing openvox/openfact tasks
  • Adds an OpenBolt feature card on the homepage

Closes #98.

Nav maintenance note

_data/nav/openbolt_5x.yml is hand-authored and not generated by the rake task. If pages are added, renamed, or removed in the upstream OpenVoxProject/openbolt documentation/ directory, this file will need a corresponding manual update to keep the sidebar accurate.

Test plan

  • bundle exec rubocop lib/puppet_references/openbolt/docs.rb — no offenses
  • bundle exec rake references:openbolt — clones repo, generates 49 pages + 4 images into references_output/_openbolt_latest/
  • bundle exec rake references:openbolt INSTALLPATH=docs — files land correctly in docs/_openbolt_5x/ via symlink
  • bundle exec jekyll build — clean build, pages served at /openbolt/latest/ and /openbolt/5.x/
  • Sidebar nav renders with correct section groupings and active-page highlighting
  • Top navbar and homepage feature card link correctly to /openbolt/latest/
  • Generated files are gitignored via docs/_openbolt_5x/.gitignore

@miharp miharp force-pushed the feat/add-openbolt-docs branch 3 times, most recently from fd2ae9e to 74e3eb3 Compare May 2, 2026 12:47
Adds a rake task, Jekyll collection, sidebar nav, and CI build step to
serve the OpenBolt documentation on the docs site. At CI time, `rake
references:openbolt INSTALLPATH=docs` clones OpenVoxProject/openbolt,
checks out the latest tag, copies all markdown and image files from its
`documentation/` directory into `docs/_openbolt_5x/` (via the
`_openbolt_latest` symlink), and prepends Jekyll frontmatter to each page.

Resolves OpenVoxProject#98.

Signed-off-by: Michael Harp <mike@mikeharp.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@miharp miharp force-pushed the feat/add-openbolt-docs branch from 74e3eb3 to dc2da93 Compare May 2, 2026 12:50
@miharp miharp marked this pull request as ready for review May 2, 2026 12:56
@miharp miharp requested a review from a team as a code owner May 2, 2026 12:56
@tuxmea tuxmea merged commit 4dc2842 into OpenVoxProject:master May 2, 2026
4 checks passed
Comment thread _data/nav/openbolt_5x.yml
link: bolt_known_issues.html
- text: Troubleshooting
link: troubleshooting.html
- text: Upgrading to Bolt 3
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.

Bolt 3 is really ancient and it doesn't apply to any openbolt version. Should we get rid of it?

tuxmea pushed a commit that referenced this pull request May 2, 2026
Reverts #143 while the following issues are resolved:

1. **Broken internal links (94):** The bolt documentation references several
   pages that are generated from ERB templates in `documentation/templates/`
   rather than existing as static markdown. These pages — including
   `plan_functions.md`, `bolt_types_reference.md`,
   `bolt_transports_reference.md`, `bolt_project_reference.md`,
   `bolt_defaults_reference.md`, `bolt_command_reference.md`,
   `bolt_cmdlet_reference.md`, and `packaged_modules.md` — are absent from
   the copy pipeline, leaving 94 internal links as 404s.

2. **Relative .md links:** The upstream docs use relative `.md` links for
   cross-references. Jekyll serves the collection as `.html`, so those links
   also 404 without a rewrite step in the pipeline (tracked in #144).

A follow-up PR will address both issues before re-landing the OpenBolt docs.

Signed-off-by: Michael Harp <mike@mikeharp.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
tuxmea added a commit that referenced this pull request May 2, 2026
Revert "Add OpenBolt documentation" (#143)
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.

[Feature request]: Add OpenBolt Documenation

3 participants