Skip to content

Review and consolidate docs/ into README - #1

Open
ohowell-kx wants to merge 2 commits into
KxSystems:mainfrom
ohowell-kx:odh-docs
Open

ohowell-kx wants to merge 2 commits into
KxSystems:mainfrom
ohowell-kx:odh-docs

Conversation

@ohowell-kx

Copy link
Copy Markdown

Merge docs/reference.md and docs/install.md into the README and delete the separate files. For a project exposing three q functions, the indirection cost more than it gave: the README was little more than a pair of links, and nothing consumed docs/ (no docs site config, no CI, no frontmatter).

Rewrite the API reference from src/ rather than copying it. The old version gave one sentence per function and documented none of the actual contract. It now covers the loglevel option and its seven values, the boolean returns from initialize/shutDown, the 'type/'loglevel/'uninitialized errors, the five-key credentials dictionary with expiration as epoch millis, the atexit handler, and the fact that credentials are not cached.

Document the AWS SDK for C++ shared libraries as a runtime prerequisite. The release archives ship only the module binary, so installing a release without the libraries present fails at load with a 'no kexport error. This was previously mentioned only under the from-source path, and LD_LIBRARY_PATH was framed as a build-time note.

Also fix the authentiaction and Afer typos, fill in the placeholder repo URL in the from-source clone step, and tag the untagged unzip code fence.

ohowell-kx and others added 2 commits September 7, 2026 12:26
Merge docs/reference.md and docs/install.md into the README and delete the
separate files. For a project exposing three q functions, the indirection cost
more than it gave: the README was little more than a pair of links, and nothing
consumed docs/ (no docs site config, no CI, no frontmatter).

Rewrite the API reference from src/ rather than copying it. The old version gave
one sentence per function and documented none of the actual contract. It now
covers the loglevel option and its seven values, the boolean returns from
initialize/shutDown, the 'type/'loglevel/'uninitialized errors, the five-key
credentials dictionary with expiration as epoch millis, the atexit handler, and
the fact that credentials are not cached.

Document the AWS SDK for C++ shared libraries as a runtime prerequisite. The
release archives ship only the module binary, so installing a release without
the libraries present fails at load with a 'no kexport error. This was
previously mentioned only under the from-source path, and LD_LIBRARY_PATH was
framed as a build-time note.

Also fix the authentiaction and Afer typos, fill in the placeholder repo URL in
the from-source clone step, and tag the untagged unzip code fence.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Verified the API reference by running the module. Two claims were wrong:

The expiration example showed a plausible near-future timestamp, but credentials
that do not expire report 9223372036854 -- the largest value a millisecond
timestamp can hold, which renders as 2262.04.11D23:47:16.854. Document the
sentinel and use the real value in the example.

A chain that resolves nothing is not an error. getCredentials still succeeds and
returns all five keys with empty strings, so callers must check the result rather
than rely on a signal. This was undocumented.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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.

1 participant