Repository navigation
docs: align with Go/Java clients + publish to GitHub Pages (#26) - #27
Merged
Merged
Conversation
…orkflow (infinispan#26) Phase 1 of aligning the docs with the Go/Java Hot Rod clients: the build and publish pipeline, before any content/convention changes. - scripts/build-docs.sh: single source of truth for rendering the AsciiDoc guide to documentation/_build/index.html; --serve / --watch for a local edit loop. - CMake `docs` target wrapping the script (gated on find_program(asciidoctor)). - .github/workflows/docs.yml: render on every docs push/PR, deploy to GitHub Pages on push to main. - README: add a Documentation section; .gitignore: ignore render output plus local build-*/graphify-out/log noise. Decision + rationale (mirror Go single-book layout, publish via Pages, shipped-features only) recorded in docs/DECISIONS.md. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…OC, AI-CODE.md, chapter order (infinispan#26) Phase 2 of aligning the docs with the Go/Java Hot Rod clients: conventions and structure (no content expansion yet — that is phase 3). - index.adoc: :brandname: attribute, highlight.js, :icons: font, and the docinfo shared-head jsTree TOC; title uses {brandname}; chapters reordered to the Go order (Client Intelligence now precedes Cache Operations). - documentation/{docinfo/docinfo.html,css/toc.css,js/toc.js}: collapsible, searchable TOC assets (adapted from the Go client), copied into the render output by scripts/build-docs.sh. - documentation/AI-CODE.md: authoring conventions adapted for C++ (one sentence per line, [source,cpp], {brandname}, terminology) plus the shipped-features-only rule keyed to docs/STATUS.md. - connecting.adoc retitled "Connecting to {brandname}" to match the Go guide. Source blocks already used [source,cpp], so no normalization was needed. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…o section set (infinispan#26) Phase 3 (final) of aligning the docs with the Go/Java Hot Rod clients. Topic chapters — expanded from stubs to security.adoc's depth, shipped behavior only, with cross-references, option/operation tables, and accurate API signatures drawn from include/hotrod/: - getting-started: prerequisites, build/link, quick start, ByteArray + async model - connecting: seed constructor, fromUri, URI parameter table, options, failover, lifecycle - client-intelligence: level table, hash-aware routing, topology inspection - cache-operations: basic ops, expiration, previousValue, metadata/version CAS, return-type summary - error-handling-and-retry: exception data, failure phases, isTransient/ outcomeUncertain, user-decided retry, non-idempotent + proxyToNonOwner notes README.md — restructured to the Go client's section order (Features, Installation, Quick Start, Connection URI, Options, Cache Operations, Security, Error Handling, Building, Testing, Documentation, Project Structure, Status/Contributing, References, License), shipped-features only. Dropped the version-by-version milestone list (history lives in DECISIONS.md) and a local absolute path; kept the STATUS/DECISIONS/WORKFLOW and Java/Kaitai pointers. Rendered clean (no asciidoctor warnings); all cross-references resolve. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Aligns the C++17 client documentation with the sibling Infinispan Hot Rod clients
(Go single-book layout) and adds a local render loop plus GitHub Pages publishing.
Closes #26.
Decisions (agreed in #26)
AGENTS.md;docs/STATUS.mdisauthoritative). Chapters for unshipped features are added as they land.
scripts/build-docs.sh+ CMakedocstarget. Doxygen APIreference deferred to a follow-up.
What changed (three commits)
1. Infra (
388e9d9)scripts/build-docs.sh— single source of truth for rendering the guide todocumentation/_build/index.html;--serve/--watchfor a local edit loop.docstarget wrapping the script (gated onfind_program(asciidoctor))..github/workflows/docs.yml— render on every docs push/PR, deploy to GitHubPages on push to
main..gitignoreignores render output and local build/tooling noise.2. Conventions (
91ca540)index.adoc::brandname:, highlight.js,:icons: font, docinfo shared-headjsTree TOC; chapters reordered to the Go order.
documentation/{docinfo,css,js}TOC assets (adapted from the Go client).documentation/AI-CODE.mdauthoring conventions for C++ + theshipped-features-only rule.
3. Content (
88875e6)security.adocdepth (shippedbehavior only), with cross-references, option/operation tables, and signatures
taken from
include/hotrod/.README.mdrestructured to the Go client's section order (shipped-featuresonly); dropped the version-by-version milestone list (history lives in
DECISIONS.md); kept the STATUS/DECISIONS/WORKFLOW and Java/Kaitai pointers.Verification
scripts/build-docs.shandcmake --build <dir> --target docsboth producedocumentation/_build/index.html.Follow-ups (tracked)
make the live URL go live.
counters, multimap, typed caches, cache administration) when its feature ships.
🤖 Generated with Claude Code