Skip to content

docs(getting-started): stop pinning a stale version in installation.md (closes #30) - #41

Merged
OpenComplaiCTO merged 1 commit into
Opencomplai:mainfrom
dchaudhari7177:docs/installation-stale-version
Aug 19, 2026
Merged

docs(getting-started): stop pinning a stale version in installation.md (closes #30)#41
OpenComplaiCTO merged 1 commit into
Opencomplai:mainfrom
dchaudhari7177:docs/installation-stale-version

Conversation

@dchaudhari7177

Copy link
Copy Markdown
Contributor

Closes #30

What was stale

The issue points at line 43, but 0.1.2 appeared three times in installation.md:

Line Context
43 Latest release: **0.1.2** on PyPI.
114 pip show opencomplai # Version: 0.1.2 (macOS / Linux tab)
120 pip show opencomplai # Version: 0.1.2 (Windows tab)

Line 43 is now a link to the PyPI release history rather than a number, which is the "doesn't go stale on every release" option the issue preferred.

One extra correction

Removing the other two meant rewriting the sentence that introduces them, and that sentence is also wrong:

The CLI does not expose a --version flag.

It does. main.py declares a --version / -V option and a version subcommand. Checked against this branch:

$ opencomplai --version
opencomplai 0.2.0        # exit 0

$ opencomplai version
opencomplai 0.2.0        # exit 0

So the verification steps now use opencomplai --version instead of a pip show line carrying a hand-maintained version comment — which is what let the number drift in the first place. pip show is still mentioned, as the way to get full distribution metadata.

Scope

Docs only — one file, +9/-5. No code touched, so the pre-existing packages/cli test failures and lint state on main are unaffected either way.

I did not touch the version numbers declared in the package metadata; --version reports 0.2.0 from the installed metadata while packages/cli/pyproject.toml says 0.3.0, which looks like a separate release-process question rather than something to settle in a docs PR. Flagging it in case it's news.

`Latest release: **0.1.2** on PyPI` had drifted three minor versions behind,
and the same stale number appeared twice more in the "Verify the
installation" tabs as `pip show` example output.

Replace the standalone claim with a link to the PyPI release history so it
cannot go stale on the next release, per the suggestion on the issue.

While removing the other two, the surrounding sentence turned out to be
wrong as well: it states "The CLI does not expose a `--version` flag", but
`main.py` has declared a `--version`/`-V` option (and a `version`
subcommand) for some time - both print the version and exit 0. Point the
verification steps at `--version` instead of at a `pip show` line whose
comment has to be hand-maintained, and mention `pip show` only as the way to
get full distribution metadata.

Closes Opencomplai#30

Signed-off-by: dchaudhari7177 <111210939+dchaudhari7177@users.noreply.github.com>
@dchaudhari7177
dchaudhari7177 force-pushed the docs/installation-stale-version branch from d25a9d8 to a86b4ea Compare August 17, 2026 20:07
@OpenComplaiCTO
OpenComplaiCTO merged commit 36889b8 into Opencomplai:main Aug 19, 2026
5 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants