Skip to content

Docs: update README and Read the Docs build #80

Closed

Description

@uniqueg

Why?

The README and the API docs are out of date:

  • No section on authentication or how to get and use a token (and, after Cloud Registry backend: public read access, service ownership, ECP_CLN:ADMIN admin role #62, which endpoints are public).
  • Commands use docker-compose (Compose v1, listed as docker-compose 1.23.1) instead of docker compose.
  • No configuration section (config.yaml, overlays/Helm values after Helm chart: configure app via values and FOCA overlays #67), and no development setup (installing dev dependencies, running tests, linters and pre-commit after Tooling: ruff, current mypy, pre-commit, semgrep #73).
  • The coverage badge points to Coveralls, but CI uploads to Codecov.
  • The deployment URL (https://cloud-registry.rahtiapp.fi) should be checked and updated to the current deployment.
  • The Read the Docs build (.readthedocs.yaml, docs/api/) only installs Sphinx, not the package or its dependencies, so autodoc cannot import the modules and the API pages are likely empty; warnings don't fail the build. The index page title has a typo ("ELIXR").

How?

  1. README: add Authentication, Configuration and Development sections; switch to docker compose; fix the badge, the deployment URL, typos and paths.
  2. Read the Docs: install the package (python.install: - method: pip path: .), enable fail_on_warning, and check the rendered module pages, or drop the Sphinx docs if they are not worth maintaining and link the Swagger UI and README instead.
  3. Link the Helm chart docs (deployment/README.md) and the FOCA Kubernetes deployment guide.

Acceptance criteria

  • A new contributor can set up, test and run the app from the README alone.
  • All badges and links work.
  • Read the Docs either builds with fail_on_warning and shows the API modules, or is removed.

Dependencies: after #62, #73 and #67 (so it documents the final setup).

Activity

  1. added
    priority: medium
    type: docs
    workload: hours
    on Oct 20, 2026
  2. uniqueg commented on Oct 20, 2026

    @uniqueg
    MemberAuthor

    Additions from a design review (2026-10-20), to be documented here:

    • API section: the GA4GH Service Registry endpoints (GET /services, /services/{serviceId}, /services/types, /service-info) are implemented exactly as specified, without extensions; registry-specific functionality is in separate endpoints (writes, permissions, GET /me, verification). Extensions (e.g., pagination, search, filters) will be reconsidered with the next version of the spec; until then, clients such as the UI page and filter on their side. This saves future contributors from proposing extensions again.
    • Access control and configuration: mapping the admin group, require_admin, setting audience (Cloud Registry backend: public read access, service ownership, ECP_CLN:ADMIN admin role #62), service info via config only (feat!: serve service info from config only #100).
    • Deployment URL: check where the API is exposed (on 2026-10-20, https://registry.elixir-on.cloud/ served only the UI).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: mediumtype: docsworkload: hours

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions