# hewlettpackard/morpheus-docs architecture

> Architecture diagram of the GitHub repository hewlettpackard/morpheus-docs, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-19). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/hewlettpackard/morpheus-docs
- Repository: https://github.com/hewlettpackard/morpheus-docs

## Overview

Morpheus Docs is a documentation content repository for the Morpheus product, with a customized Sphinx site and English-to-Spanish, French, German, and Portuguese localization. Users consult the published guides; contributors update documentation, while localization workflows prepare changed strings for translation and review. The graph reflects documented capabilities and visible source responsibilities. The excerpts do not establish most Sphinx wiring or internal calls among translation utilities, so those relationships are omitted rather than inferred.

Main entry points: [`tools/translate/prepare_diff_localize.py`](https://github.com/hewlettpackard/morpheus-docs/blob/dev-9.1/tools/translate/prepare_diff_localize.py) (Incremental prep), [`tools/translate/translate_po.py`](https://github.com/hewlettpackard/morpheus-docs/blob/dev-9.1/tools/translate/translate_po.py) (AI translation)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_content["Product documentation"]
  node_docs_site["Morpheus Docs"]
  node_getting_started["Getting started"]
  node_administration["Administration"]
  node_infrastructure["Infrastructure"]
  node_provisioning["Provisioning"]
  node_operations["Operations"]
  node_monitoring["Monitoring"]
  node_backups["Backups"]
  node_integrations["Integration guides"]
  node_troubleshooting["Troubleshooting"]
end

subgraph group_site["Site experience"]
  node_sphinx["Sphinx configuration<br/>[conf.py]"]
  node_tier_roles["Tier annotations<br/>[tier_roles.py]"]
  node_nav_fix["Navigation enhancements<br/>[hpe-nav-fix.js]"]
  node_storage_calc["Storage calculator<br/>[main.9ffff226.js]"]
  node_web_vitals["Web-vitals metrics"]
end

subgraph group_localization["Localization tools"]
  node_diff_prep["Incremental prep"]
  node_batch_build["Batch preparation<br/>[build_batches.py]"]
  node_chunk_po["PO chunking<br/>[chunk_po.py]"]
  node_translate_po["AI translation<br/>[translate_po.py]"]
  node_merge_batch["Batch merging<br/>[merge_batch.py]"]
  node_merge_chunk["Chunk merging<br/>[merge_chunk.py]"]
  node_translate_agent["Agent translation<br/>[translate_agent.py]"]
end

subgraph group_external["External services"]
  node_copilot{{"GitHub Copilot"}}
  node_ai_provider{{"AI model provider"}}
  node_docs_publisher{{"Documentation site"}}
end

node_reader(("Documentation reader"))

node_reader -->|"consults"| node_docs_site
node_docs_site -->|"published as"| node_docs_publisher
node_diff_prep -.->|"prepares workflow"| node_copilot
node_copilot -->|"translates changes"| node_diff_prep
node_translate_po -->|"requests translations"| node_ai_provider

click node_getting_started "https://github.com/hewlettpackard/morpheus-docs/tree/dev-9.1/getting_started"
click node_administration "https://github.com/hewlettpackard/morpheus-docs/tree/dev-9.1/administration"
click node_infrastructure "https://github.com/hewlettpackard/morpheus-docs/tree/dev-9.1/infrastructure"
click node_provisioning "https://github.com/hewlettpackard/morpheus-docs/tree/dev-9.1/provisioning"
click node_operations "https://github.com/hewlettpackard/morpheus-docs/tree/dev-9.1/operations"
click node_monitoring "https://github.com/hewlettpackard/morpheus-docs/tree/dev-9.1/monitoring"
click node_backups "https://github.com/hewlettpackard/morpheus-docs/tree/dev-9.1/backups"
click node_integrations "https://github.com/hewlettpackard/morpheus-docs/tree/dev-9.1/integration_guides"
click node_troubleshooting "https://github.com/hewlettpackard/morpheus-docs/tree/dev-9.1/troubleshooting"
click node_sphinx "https://github.com/hewlettpackard/morpheus-docs/blob/dev-9.1/conf.py"
click node_tier_roles "https://github.com/hewlettpackard/morpheus-docs/blob/dev-9.1/_ext/tier_roles.py"
click node_nav_fix "https://github.com/hewlettpackard/morpheus-docs/blob/dev-9.1/_static/hpe-nav-fix.js"
click node_storage_calc "https://github.com/hewlettpackard/morpheus-docs/blob/dev-9.1/_static/storageCalculator/static/js/main.9ffff226.js"
click node_web_vitals "https://github.com/hewlettpackard/morpheus-docs/blob/dev-9.1/_static/storageCalculator/static/js/787.dd49f473.chunk.js"
click node_diff_prep "https://github.com/hewlettpackard/morpheus-docs/blob/dev-9.1/tools/translate/prepare_diff_localize.py"
click node_batch_build "https://github.com/hewlettpackard/morpheus-docs/blob/dev-9.1/tools/translate/build_batches.py"
click node_chunk_po "https://github.com/hewlettpackard/morpheus-docs/blob/dev-9.1/tools/translate/chunk_po.py"
click node_translate_po "https://github.com/hewlettpackard/morpheus-docs/blob/dev-9.1/tools/translate/translate_po.py"
click node_merge_batch "https://github.com/hewlettpackard/morpheus-docs/blob/dev-9.1/tools/translate/merge_batch.py"
click node_merge_chunk "https://github.com/hewlettpackard/morpheus-docs/blob/dev-9.1/tools/translate/merge_chunk.py"
click node_translate_agent "https://github.com/hewlettpackard/morpheus-docs/blob/dev-9.1/tools/translate/translate_agent.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_docs_site,node_getting_started,node_administration,node_infrastructure,node_provisioning,node_operations,node_monitoring,node_backups,node_integrations,node_troubleshooting toneBlue
class node_sphinx,node_tier_roles,node_nav_fix,node_storage_calc,node_web_vitals toneAmber
class node_diff_prep,node_batch_build,node_chunk_po,node_translate_po,node_merge_batch,node_merge_chunk,node_translate_agent toneMint
class node_copilot,node_ai_provider,node_docs_publisher toneRose
class node_reader toneIndigo
```

## Components

### Product documentation

- **Morpheus Docs**
- [Getting started](https://github.com/hewlettpackard/morpheus-docs/tree/dev-9.1/getting_started): `getting_started`
- [Administration](https://github.com/hewlettpackard/morpheus-docs/tree/dev-9.1/administration): `administration`
- [Infrastructure](https://github.com/hewlettpackard/morpheus-docs/tree/dev-9.1/infrastructure): `infrastructure`
- [Provisioning](https://github.com/hewlettpackard/morpheus-docs/tree/dev-9.1/provisioning): `provisioning`
- [Operations](https://github.com/hewlettpackard/morpheus-docs/tree/dev-9.1/operations): `operations`
- [Monitoring](https://github.com/hewlettpackard/morpheus-docs/tree/dev-9.1/monitoring): `monitoring`
- [Backups](https://github.com/hewlettpackard/morpheus-docs/tree/dev-9.1/backups): `backups`
- [Integration guides](https://github.com/hewlettpackard/morpheus-docs/tree/dev-9.1/integration_guides): `integration_guides`
- [Troubleshooting](https://github.com/hewlettpackard/morpheus-docs/tree/dev-9.1/troubleshooting): `troubleshooting`

### Site experience

- [Sphinx configuration](https://github.com/hewlettpackard/morpheus-docs/blob/dev-9.1/conf.py): `conf.py`
- [Tier annotations](https://github.com/hewlettpackard/morpheus-docs/blob/dev-9.1/_ext/tier_roles.py): `_ext/tier_roles.py`
- [Navigation enhancements](https://github.com/hewlettpackard/morpheus-docs/blob/dev-9.1/_static/hpe-nav-fix.js): `_static/hpe-nav-fix.js`
- [Storage calculator](https://github.com/hewlettpackard/morpheus-docs/blob/dev-9.1/_static/storageCalculator/static/js/main.9ffff226.js): `_static/storageCalculator/static/js/main.9ffff226.js`
- [Web-vitals metrics](https://github.com/hewlettpackard/morpheus-docs/blob/dev-9.1/_static/storageCalculator/static/js/787.dd49f473.chunk.js): `_static/storageCalculator/static/js/787.dd49f473.chunk.js`

### Localization tools

- [Incremental prep](https://github.com/hewlettpackard/morpheus-docs/blob/dev-9.1/tools/translate/prepare_diff_localize.py): `tools/translate/prepare_diff_localize.py`
- [Batch preparation](https://github.com/hewlettpackard/morpheus-docs/blob/dev-9.1/tools/translate/build_batches.py): `tools/translate/build_batches.py`
- [PO chunking](https://github.com/hewlettpackard/morpheus-docs/blob/dev-9.1/tools/translate/chunk_po.py): `tools/translate/chunk_po.py`
- [AI translation](https://github.com/hewlettpackard/morpheus-docs/blob/dev-9.1/tools/translate/translate_po.py): `tools/translate/translate_po.py`
- [Batch merging](https://github.com/hewlettpackard/morpheus-docs/blob/dev-9.1/tools/translate/merge_batch.py): `tools/translate/merge_batch.py`
- [Chunk merging](https://github.com/hewlettpackard/morpheus-docs/blob/dev-9.1/tools/translate/merge_chunk.py): `tools/translate/merge_chunk.py`
- [Agent translation](https://github.com/hewlettpackard/morpheus-docs/blob/dev-9.1/tools/translate/translate_agent.py): `tools/translate/translate_agent.py`

### External services

- **GitHub Copilot**
- **AI model provider**
- **Documentation site**

### Other components

- **Documentation reader**

## Connections

- Documentation reader → Morpheus Docs: consults (evidence: `README.md`)
- Morpheus Docs → Documentation site: published as (evidence: `README.md`)
- Incremental prep → GitHub Copilot: prepares workflow (evidence: `README.md`)
- GitHub Copilot → Incremental prep: translates changes (evidence: `README.md`)
- AI translation → AI model provider: requests translations (evidence: `tools/translate/translate_po.py`)
