Skip to content

docs: restructure the hub by audience - #72

Merged
uniqueg merged 3 commits into
mainfrom
docs/restructure-by-audience
Nov 1, 2026
Merged

uniqueg merged 3 commits into
mainfrom
docs/restructure-by-audience

Conversation

@uniqueg

@uniqueg uniqueg commented Nov 1, 2026 •

Copy link
Copy Markdown
Member

Summary

Restructures the hub by audience: one navigation section per audience (Node operators, Partners and developers, Researchers), each with a "start here" page; Sandbox dissolved; Contribute and About merged into one page of pointers. Pages are moved, not rewritten (rewrites are #64-#66), except for fixing names. Old URLs redirect (mkdocs-redirects, pinned in the docs extra). A CI step checks the spelling of the names.

Closes #63. Part of #61.

Decisions per page

Old page Decision New place
Home Kept; scope statement, three audience cards index.md
General: index Dropped (list of the pages, replaced by the start page) -
General: GA4GH Cloud Workstream Moved partners-and-developers/ga4gh-standards
General: Sensitive Data Moved partners-and-developers/sensitive-data
General: User stories Moved partners-and-developers/user-stories
Sandbox Dissolved. Funnel, TESK and LS Login blurbs dropped (repeat the product docs and the service pages); Poiesis link and Cloud Registry pointer moved to the partners' start page; the remaining "deployments" paragraph is outdated (links to a services list), replaced by the Cloud Registry pointer partners-and-developers/index; redirect to researchers/
Services: index Moved (onboarding a compute center, Helm and Compose primers) operators/onboarding
Services: Cloud-Registry Moved operators/cloud-registry
Services: LS Login Moved operators/ls-login
Services: CWL-WES, DRS-Filer, Funnel, proTES, proWES, TESK, TRS-Filer Moved (replacing them with links to the product docs is #64) operators/services/
Tutorials: index Dropped (replaced by the start page) -
Tutorials: SPE with WESkit, Crypt4GH with proTES Moved to Researchers as the blueprint material; #66 may re-home the deployment-heavy parts to Node operators researchers/
Contribute (index, workflow, general guidelines, managing projects, language-specific, PR template) Dropped: repeats or belongs in the org's community files in elixir-cloud-aai/.github (CONTRIBUTING.md); the old "our offer / values / GSoC" text is outdated about.md (pointers)
About: Contact, License, Code of Conduct Dropped, replaced by links to SUPPORT.md, LICENSE, CODE_OF_CONDUCT.md in elixir-cloud-aai/.github and the discussions about.md
About: Release notes Dropped (empty "under construction" stub) -

The scope statement is one snippet (includes/scope.md) shown on the home page and on each "start here" page.

Stubs (admonitions saying what is missing): Node operators (path from joining to running services, #64), Partners and developers (integration with the APIs and packages, #65), Researchers (walk-through of the blueprint, #66).

Unused images of the dropped Contribute page were removed. Redirects cover every old page, including the dropped ones (to about/ or the nearest page).

Verification

  • mkdocs build --strict: passes.
  • Redirects checked in the built site (e.g. services/cloudregistry/, contribute/workflow/, about/contact/, sandbox/).
  • python scripts/check_names.py: passes on the repo; flags Elixir, ELIXIR-On-Cloud, ELIXIR-on-Cloud, ELIXIR on-Cloud, ELIXIR on Cloud, ELIXIR Cloud, Elixir Europe in a test file. Fixed names: ELIXIR-on-Cloud, ELIXIR-on-cloud, ELIXIR Cloud, elixir cloud became ELIXIR On-Cloud.
  • CI (CI passed, Docs, PR title, Sourcery) and the Read the Docs preview pass; the preview shows the new tabs, the scope statement on the home page and the three start pages, and the redirects (services/cloudregistry/, contribute/workflow/, about/contact/, sandbox/).

Lane

Light lane: docs and CI config only (a documentation check script, no secrets, permissions or release workflow).

Declined review findings

Sourcery asked for the service pages to be replaced by links, for the joining guide, the integration guide and the blueprint walk-through: declined, they are the scope of #64, #65 and #66 (this PR moves pages and adds stubs). The four Sourcery findings on the names check were fixed and the funding pointer added (to the website, where the org profile says the funders are listed).

Open questions

None.

🤖 Generated with Claude Code

One navigation section per audience with a start page, a shared
scope statement, Sandbox dissolved, Contribute and About merged into
pointers, redirects for old URLs, and a CI check of the names.

Closes #63

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@sourcery-ai

sourcery-ai Bot commented Nov 1, 2026 •

Copy link
Copy Markdown
Contributor

Reviewer's Guide

The PR restructures the documentation hub around three audiences, consolidates obsolete contribution and About content, preserves existing URLs with redirects, and adds CI enforcement for consistent project naming.

Sequence diagram for documentation CI validation

sequenceDiagram
    participant CI
    participant Names as check_names.py
    participant MkDocs as mkdocs build --strict

    CI->>Names: main(args)
    Names-->>CI: exit status
    CI->>MkDocs: build documentation
    MkDocs-->>CI: build result
Loading

Flow diagram for legacy documentation URL redirects

flowchart LR
    Legacy[Legacy documentation URLs]
    Redirects[mkdocs redirects plugin]
    Audience[Audience sections]
    About[About and contributing]

    Legacy --> Redirects
    Redirects --> Audience
    Redirects --> About
Loading

File-Level Changes

Change Details Files
Reorganized the documentation hub around three audiences with dedicated landing pages and shared scope content.
  • Added Node operators, Partners and developers, and Researchers sections with “start here” pages.
  • Updated the home page with audience cards and centralized scope messaging.
  • Moved service, standards, sensitive-data, user-story, and tutorial pages into audience-specific paths.
  • Removed obsolete General, Sandbox, and Tutorials index pages.
docs/index.md
docs/operators/index.md
docs/partners-and-developers/index.md
docs/researchers/index.md
includes/scope.md
docs/operators/onboarding.md
docs/operators/cloud-registry.md
docs/operators/ls-login.md
docs/operators/services/
docs/partners-and-developers/
docs/researchers/
mkdocs.yml
Consolidated contribution and project information into a single About and contributing page while removing superseded standalone pages and assets.
  • Added pointers to organization-level community files, discussions, and the ELIXIR Compute Platform.
  • Deleted duplicated contribution, contact, license, code-of-conduct, release-notes, and pull-request-template pages.
  • Removed unused images associated with the deleted contribution content.
docs/about.md
docs/about/
docs/contribute/
docs/images/
Preserved legacy documentation links through MkDocs redirects for moved and removed pages.
  • Added and pinned the mkdocs-redirects documentation dependency.
  • Mapped old General, Sandbox, Services, Tutorials, Contribute, and About URLs to their new destinations.
  • Configured redirects in the MkDocs plugin settings.
mkdocs.yml
pyproject.toml
Added automated project-name validation and integrated it into documentation CI.
  • Implemented a script that ignores code, URLs, identifiers, and link syntax while checking prose names.
  • Enforced the approved spellings ELIXIR On-Cloud, ELIXIR, and ELIXIR Europe.
  • Ran the check before the strict MkDocs build in CI.
scripts/check_names.py
.github/workflows/ci.yml

Possibly linked issues


Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@uniqueg
uniqueg marked this pull request as ready for review November 1, 2026 20:26

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've found 4 issues

Prompt for AI Agents
Please address the comments from this code review:

## Individual Comments

### Comment 1
<location path="scripts/check_names.py" line_range="33" />
<code_context>
+    | https?://[^\s<>"')\]]+         # URLs
+    | \]\([^)\n]*\)                  # link targets
+    | \]\[[^\]\n]*\]                 # reference link labels
+    | ^\s*\[[^\]\n]+\]:.*$           # reference definitions
+    | \b(?:href|src|icon|image)=?\s*["':][^"'\n]*   # attributes and keys
+    """,
</code_context>
<issue_to_address>
**Misspellings after definitions pass**

When a Markdown reference definition appears before a misspelled name in the same file, `IGNORED` applies `.*$` under `re.DOTALL`, blanking the reference-definition line and everything after it; `NAME.finditer` never checks later prose, so CI passes with invalid names.

Constrain the reference-definition pattern to stop at the end of that line, even with `re.DOTALL` enabled.
</issue_to_address>

### Comment 2
<location path="scripts/check_names.py" line_range="41" />
<code_context>
+
+# A name is a word that is not part of an identifier, path or domain
+NAME = re.compile(
+    r"(?<![\w./@-])elixir(?:[ \t-]*(?:on)?[ \t-]*cloud|[ \t]+europe)?(?![\w./@-])",
+    re.IGNORECASE,
+)
</code_context>
<issue_to_address>
**Wrapped names pass validation**

When a project name is split across Markdown source lines, `NAME` accepts only spaces, tabs, or hyphens between name parts, so `check_file` sees `ELIXIR` as a valid standalone name and ignores the following `Cloud`; CI passes with the incorrect spelling.

Make the name check recognize a Markdown line break between the name parts.
</issue_to_address>

### Comment 3
<location path="scripts/check_names.py" line_range="95" />
<code_context>
+        if path.is_dir():
+            files += sorted(p for p in path.rglob("*") if p.suffix in SUFFIXES)
+        elif path.is_file():
+            files.append(path)
+    problems = [p for file in files for p in check_file(file)]
+    for problem in problems:
</code_context>
<issue_to_address>
**Missing paths report success**

When a caller supplies a misspelled or nonexistent path, `main` skips paths that are neither files nor directories, collects no problems, and returns status 0; the caller is told validation succeeded without the requested files being checked.

Make `main` report an error when a supplied path is neither a file nor a directory.
</issue_to_address>

### Comment 4
<location path="scripts/check_names.py" line_range="28" />
<code_context>
+# Parts that are not prose, replaced by spaces to keep the column positions
+IGNORED = re.compile(
+    r"""
+      ```.*?```                      # fenced code blocks
+    | `[^`\n]*`                      # inline code
+    | https?://[^\s<>"')\]]+         # URLs
</code_context>
<issue_to_address>
**Tilde-fenced examples fail CI**

When a Markdown file contains a noncanonical project name inside a tilde-fenced code block, `check_file` leaves tilde-fenced content unfiltered, so a valid code example containing a noncanonical project name is reported as an error and fails the CI check.

Extend `IGNORED` to filter tilde-fenced code blocks as well.
</issue_to_address>

Linked issues

#63 docs: restructure the hub by audience · 6 of 7 met

# Requirement Status Notes
1 Audit each old section and record the page decisions in the PR description. ✅ Met The PR description records decisions for Home, General, Sandbox, Services, Tutorials, Contribute, and About.
2 Organize navigation by Node operators, Partners and developers, and Researchers, each with a start page. ✅ Met The navigation has all three audience sections, each beginning with its audience-specific start page.
3 Show the shared scope statement on the home page and each audience start page. ✅ Met The same includes/scope.md snippet is included on the home page and all three start pages.
4 Dissolve Sandbox and move its useful content into the relevant audience sections. ✅ Met The Sandbox page is removed; relevant pointers, including Poiesis and the Cloud Registry, appear in the audience sections.
5 Merge Contribute and About into a short page of pointers, including the platform, funding, contact, license, code of conduct, and contributing. 🟡 Partly met The new About page links to the platform, contact, license, code of conduct, and contributing resources, but has no funding pointer.
6 Use the specified project-name spellings and add a CI check for incorrect spellings. ✅ Met The check_names.py script checks the documentation and related files, and CI runs it.
7 Move pages into the new structure without rewriting them as part of this work, and mark missing content with short stubs. ✅ Met The pages are moved into the audience sections, and each audience start page identifies its missing guidance.

Sourcery assessment

Approval pending. 4 findings to address first.

Blocking findings: scripts/check_names.py:33, scripts/check_names.py:41, scripts/check_names.py:95, scripts/check_names.py:28


Sourcery is free for open source - if you like our reviews please consider sharing them ✨

Comment thread scripts/check_names.py Resolved
Comment thread scripts/check_names.py Resolved
Comment thread scripts/check_names.py Resolved
Comment thread scripts/check_names.py Resolved
Stop reference definitions from hiding later text, catch names that
are wrapped over two lines, skip tilde-fenced code, and fail on paths
that do not exist. Fixes a wrapped name found by the new check.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Linked issues

#63 docs: restructure the hub by audience · 6 of 7 met

# Requirement Status Notes
1 Audit every page and record the decision per page in the PR body. ✅ Met The PR body includes a decision table covering the listed page groups.
2 Organize navigation by audience, with a start page for Node operators, Partners and developers, and Researchers. ✅ Met The navigation and home page link to all three audience sections, each with a start page.
3 Show the shared scope statement on the home page and each audience start page. ✅ Met All four pages include the shared scope snippet.
4 Dissolve Sandbox and move useful material into the relevant audience sections. ✅ Met The Sandbox section is removed; its relevant pointers appear on the audience start pages.
5 Merge Contribute and About into one short page of pointers, including funding. 🟡 Partly met The new About and contributing page includes the other requested pointers, but omits funding; the PR notes that no funding information is available to link to yet.
6 Use the specified ELIXIR names consistently and add a CI check for wrong spellings. ✅ Met The check is added to CI and checks the repository's documentation inputs for invalid spellings.
7 Move pages without rewriting them and mark gaps with short stubs explaining what is missing. ✅ Met The existing pages are moved, and each audience start page identifies the missing follow-up material.

Comment thread docs/about.md Resolved
sourcery-ai[bot]
sourcery-ai Bot previously approved these changes Nov 1, 2026

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sourcery assessment

Approved.

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Linked issues

#63 docs: restructure the hub by audience · 7 of 11 met

# Requirement Status Notes
1 Audit every page and record the decision per page in the PR body. ✅ Met The PR body includes a decision table covering the old sections and pages.
2 Create one navigation section per audience, each with a start-here page. ✅ Met The navigation and home page provide sections and entry pages for Node operators, Partners and developers, and Researchers.
3 Node operators: cover joining the federation, running services at a Node, and deployment settings and policies. 🟡 Partly met The start page links to onboarding, the Cloud Registry, and service guides, but says the guide to joining the federation and deployment policies is missing.
4 Partners and developers: cover integrating with the deployment's APIs, its GA4GH standards and packages, and how to contribute. 🟡 Partly met The start page links to standards and other resources and points to contributing information, but says the integration guide for APIs and packages is missing.
5 Researchers: provide a way to try the federated analytics blueprint. 🟡 Partly met The start page links to two tutorials, but says a walk-through of the blueprint is missing.
6 Show the shared scope statement on the home page and each audience start page. ✅ Met Those four pages include the shared includes/scope.md snippet.
7 Dissolve Sandbox and move what is still useful into the audience sections. ✅ Met Sandbox is removed; its remaining useful pointers and tutorial material are routed to the new audience sections.
8 Merge Contribute and About into short pointers, including the ELIXIR Compute Platform, funding, contact, license, code of conduct, and contributing. ✅ Met about.md links to the community files and discussions, the Compute Platform, and the website listing funders.
9 Replace product documentation coverage with links to product docs. 🟡 Partly met The PR body says replacing the service pages with product-doc links is deferred to #64; this change moves the existing service pages instead.
10 Use the specified ELIXIR names and add a CI check for wrong spellings. ✅ Met CI runs scripts/check_names.py against the documentation-related paths.
11 Move pages into the new structure without rewriting them and mark gaps with short stubs. ✅ Met The existing pages are moved, and the three audience start pages identify the remaining work in stubs.

Comment thread mkdocs.yml Resolved
Comment thread docs/operators/index.md Resolved
Comment thread docs/partners-and-developers/index.md Resolved
Comment thread docs/researchers/index.md Resolved
@sourcery-ai
sourcery-ai Bot dismissed their stale review November 1, 2026 20:34

Sourcery withdrew this approval because the latest commits introduced blocking findings.

@uniqueg
uniqueg merged commit cf9fb39 into main Nov 1, 2026
8 of 10 checks passed
@uniqueg
uniqueg deleted the docs/restructure-by-audience branch November 1, 2026 20: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.

docs: restructure the hub by audience

1 participant