Skip to content

docs: update the docs and publish the site with GitHub Actions - #124

Merged
everoddandeven merged 7 commits into
libmonero:mainfrom
everoddandeven:docs/maintenance
Nov 7, 2026
Merged

everoddandeven merged 7 commits into
libmonero:mainfrom
everoddandeven:docs/maintenance

Conversation

@everoddandeven

Copy link
Copy Markdown
Member

Align the data model and API specification with the python stubs, add the utilities and the RPC connection to the architecture diagram, and fix the monero version and a wrong type in the docs.

The API site is no longer committed: a workflow builds it from the stubs with mkdocs build --strict and publishes it from main, as monero-c does, so the Pages source has to be switched to GitHub Actions and the site moves from /mkdocs/public/ to the root. The minimum python is now 3.10, which the readme already stated.

everoddandeven and others added 7 commits November 7, 2026 02:28
Align the specification with the python stubs: renamed fields and
corrected signatures, the methods of MoneroDaemon and MoneroWallet that
were missing, one row per overload, and the types that the signatures
name and had no box (MoneroRpcConnection, MoneroRpcPaymentInfo and the
results of the daemon calls) in a new section. The inheritance arrows end
on the box and no longer on one of its rows.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…agram

The python library exposes MoneroUtils and MoneroRpcConnection, and so does
the C++ library they are bound to, as the architecture diagram of
monero-cpp shows. Draw both in the two layers, with the python bindings
between them and a native arrow to monero-project.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
* The home of the site said monero v0.18.5.1, the submodule builds
  v0.18.5.3 'Fluorine Fermi', as the readme says.
* Mention the keys-only wallet among the features, as monero-cpp does.
* The example queries transfers into list[MoneroTransferWallet], which does
  not exist: the type is MoneroTransfer.
* A comment of mkdocs.yml linked a page of mkdocs-material that has been moved.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The readme lists python 3.10 to 3.14, and 3.10 is the oldest the packages
are built for (the deb of Ubuntu 22.04). 3.8 and 3.9 were declared but never
built or tested.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
The type of daemon_connection in the docstring of MoneroWalletFull.open_wallet_data
had spaces around the bar, and griffe, which reads the stubs to build the API
site, could not parse the field and warned about it. The other docstrings write
Optional[X].

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
As monero-c does: a workflow builds the API site and publishes it with
actions/deploy-pages from main, and pull requests only build it, strictly,
so that a docstring or a reference that does not resolve fails there. The
108 generated files of docs/mkdocs/public leave the repository and the folder
is ignored.

The site was generated from whatever module was installed on the machine that
built it, which is how it came to document an older API than the stubs. The
workflow gives mkdocstrings the stubs and nothing else: it copies them into a
folder named monero, which is what griffe looks for, and passes it as
MONERO_STUBS, read by mkdocs.yml, so the module does not have to be built.
requirements.in did not list mkdocstrings and griffe, which the site needs.

The pages have to be switched to the GitHub Actions source in the settings of
the repository for this to take effect.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Published by the workflow, the site is at the root of the pages of the
repository and no longer under /mkdocs/public/, where serving the docs folder
of the branch put it.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@codacy-production

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@everoddandeven
everoddandeven merged commit c0912e5 into libmonero:main Nov 7, 2026
3 of 8 checks passed
@everoddandeven
everoddandeven deleted the docs/maintenance branch November 7, 2026 01:35
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