Add OpenBolt documentation#191
Conversation
0a43abd to
3a3814a
Compare
Adds OpenBolt 5.x documentation as a new Jekyll collection. Static documentation pages are moved here from the openbolt repo; 9 reference pages (bolt_command_reference, plan_functions, etc.) are generated at CI time by running `rake references:openbolt`, which clones the openbolt repo and invokes `rake docs:all` to render ERB templates. - Add `openbolt_latest` / `openbolt_5x` Jekyll collections with layout and sidebar nav defaults, nav-map routing, and `docs/_openbolt_latest` symlink → `docs/_openbolt_5x` - Add 50 static documentation pages including collection index, release notes, and 49 pages moved from openbolt, with `.html` cross-reference links - Add `PuppetReferences::Openbolt::Docs` class that runs `rake docs:all` in the vendored openbolt repo and copies the 9 generated reference pages - Wire into `puppet_references.rb`, `Rakefile`, and CI `build.yaml` - Add OpenBolt feature card to homepage Depends on OpenVoxProject/openbolt#233, which adds `rake docs:all` and updates ERB templates with Jekyll front matter. Signed-off-by: Michael Harp <mike@mikeharp.com>
3a3814a to
7f9612b
Compare
|
The Could a maintainer either mark the |
I am fine with manually marking linter as non-required. |
|
I'm fine to merge as-is as well. |
| puts 'The following references are available:' | ||
| puts 'bundle exec rake references:openvox [VERSION=<GIT TAG OR COMMIT> INSTALLPATH=<RELATIVE OR ABSOLUTE PATH>]' | ||
| puts 'bundle exec rake references:openfact [VERSION=<GIT TAG OR COMMIT> INSTALLPATH=<RELATIVE OR ABSOLUTE PATH>]' | ||
| puts 'bundle exec rake references:openbolt [INSTALLPATH=<RELATIVE OR ABSOLUTE PATH>]' |
There was a problem hiding this comment.
Shall we support setting VERSION also here? It's just like replacing 'main' with ENV['VERSION'] I guess..
The OpenBolt analytics pipeline is broken (openbolt#235) and the page will be removed from the source repo. Drop it here per reviewer request and remove the corresponding nav entry. Signed-off-by: Michael Harp <mike@mikeharp.com>
Keep both the OpenBolt entries (from this branch) and the new OpenVox Containers section added upstream in _config.yml, _data/nav_map.yml, _data/navigation.yml, and index.md. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Aligns openbolt with openvox/openfact: accepts a VERSION env var, falls back to the latest git tag via repo.describe, and prints "Using tag …" for visibility. Signed-off-by: Michael Harp <mike@mikeharp.com> Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Suppresses 1205 pre-existing lint violations inherited from upstream Puppet Bolt source. Each rule is documented with its violation count. Tracked for cleanup in issue OpenVoxProject#199. Signed-off-by: Michael Harp <mike@mikeharp.com> Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
To address the |
|
@binford2k can you please review your change request to this pr? |
Summary
openbolt_latest/openbolt_5x)docs/_openbolt_5x/, with.htmlcross-reference links, a local release notes page, and a collection indexrake references:openbolt, which clones the openbolt repo and runsrake docs:allto render ERB templatesPuppetReferences::Openbolt::Docsclass following the samePuppetReferencesframework pattern as openvox/openfact (ref: Add OpenBolt documentation #143)puppet_references.rb,Rakefile, and CIbuild.yamlDetails
Collection routing
docs/_openbolt_latestis a symlink →docs/_openbolt_5x. Pages are served at/openbolt/latest/:pathand/openbolt/5.x/:path. The collection defaults setlayout: defaultandnav: openbolt_5xfor all pages.Sidebar nav
_data/nav/openbolt_5x.ymlis a hand-authored nav tree derived from the originalbolt.ditamapstructure. All links are local.htmlreferences. The original external GitHub CHANGELOG link has been replaced with a localrelease_notes.mdpage matching the style of other collections.CI-generated reference pages
references:openboltclonesopenvoxproject/openbolttovendor/openbolt, runsbundle exec rake docs:allinside it, then copies the 9 generated.mdfiles todocs/_openbolt_5x/. These 9 files are listed indocs/_openbolt_5x/.gitignoreso they are never committed.Companion PR
Depends on OpenVoxProject/openbolt#233, which removes static docs and DITA from the openbolt repo and adds the
rake docs:alltask (with Jekyll front matter in ERB templates) that this PR relies on.Out of scope
OpenVoxProject/openbolt#234 tracks removal of the
upgrading_to_bolt_3page, which is Puppet Bolt legacy content not relevant to OpenBolt users. That will be a follow-up PR.Test plan
bundle exec jekyll buildsucceeds with no errors or unknown-collection warnings/openbolt/latest/render as.html/openbolt/latest/index page renders the OpenBolt 5 overview/openbolt/latest/bundle exec rake references:openbolt INSTALLPATH=docsgenerates 9 reference pages with front matter