# mihonapp/website architecture

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

- Interactive diagram: https://gitdiagram.com/mihonapp/website
- Repository: https://github.com/mihonapp/website

## Overview

This repository is Mihon’s official website, built around a VitePress documentation and information site—not the Android reader itself. Visitors browse product guidance and related information; the site also presents downloads, extensions, forks, news, and release changelogs. The tree identifies these content areas and the theme/configuration layers, but most implementation files were not sampled, so their connections are shown as unverified. The release-tag path generator explicitly calls the release-data module.

Main entry points: [`website/src/.vitepress/config.ts`](https://github.com/mihonapp/website/blob/main/website/src/.vitepress/config.ts) (VitePress Site), [`website/src/.vitepress/theme/index.ts`](https://github.com/mihonapp/website/blob/main/website/src/.vitepress/theme/index.ts) (Site Theme), [`website/src/.vitepress/theme/Layout.vue`](https://github.com/mihonapp/website/blob/main/website/src/.vitepress/theme/Layout.vue) (Theme Layout), [`website/src/.vitepress/theme/components`](https://github.com/mihonapp/website/tree/main/website/src/.vitepress/theme/components) (Theme Components)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Site Framework"]
  node_vitepress_site["VitePress Site<br/>[config.ts]"]
  node_site_theme["Site Theme<br/>[index.ts]"]
  node_theme_layout["Theme Layout<br/>[Layout.vue]"]
  node_theme_components["Theme Components<br/>[components]"]
end

subgraph group_guidance["User Guidance"]
  node_docs_guides["Guides"]
  node_docs_faq["FAQ"]
  node_docs_contribute["Contributing<br/>[contribute.md]"]
end

subgraph group_product_info["Product Information"]
  node_downloads["Downloads<br/>[index.md]"]
  node_extensions["Extensions<br/>[index.md]"]
  node_forks["Forks"]
  node_privacy["Privacy<br/>[index.md]"]
end

subgraph group_content_features["Content Features"]
  node_news["News"]
  node_changelogs["Changelogs"]
  node_release_data["Release Data<br/>[releaseData.ts]"]
  node_tag_paths["Release Tag Paths<br/>[&#91;tag&#93;.paths.ts]"]
  node_feed_hook["Feed Generation<br/>[generateFeed.ts]"]
  node_og_hook["Open Graph Images"]
  node_extensions_query["Extensions Query"]
end

node_visitor(("Visitor"))

node_visitor -.->|"browses"| node_vitepress_site
node_vitepress_site -.->|"uses theme"| node_site_theme
node_site_theme -.->|"renders layout"| node_theme_layout
node_theme_layout -.->|"renders components"| node_theme_components
node_vitepress_site -.->|"serves guides"| node_docs_guides
node_vitepress_site -.->|"serves FAQ"| node_docs_faq
node_vitepress_site -.->|"serves guidance"| node_docs_contribute
node_vitepress_site -.->|"serves downloads"| node_downloads
node_vitepress_site -.->|"serves extensions"| node_extensions
node_vitepress_site -.->|"serves forks"| node_forks
node_vitepress_site -.->|"serves privacy"| node_privacy
node_vitepress_site -.->|"serves news"| node_news
node_vitepress_site -.->|"serves changelogs"| node_changelogs
node_tag_paths -->|"loads releases"| node_release_data
node_theme_components -.->|"uses query"| node_extensions_query
node_vitepress_site -.->|"configures hook"| node_feed_hook
node_vitepress_site -.->|"configures hook"| node_og_hook

click node_vitepress_site "https://github.com/mihonapp/website/blob/main/website/src/.vitepress/config.ts"
click node_site_theme "https://github.com/mihonapp/website/blob/main/website/src/.vitepress/theme/index.ts"
click node_theme_layout "https://github.com/mihonapp/website/blob/main/website/src/.vitepress/theme/Layout.vue"
click node_theme_components "https://github.com/mihonapp/website/tree/main/website/src/.vitepress/theme/components"
click node_docs_guides "https://github.com/mihonapp/website/tree/main/website/src/docs/guides"
click node_docs_faq "https://github.com/mihonapp/website/tree/main/website/src/docs/faq"
click node_docs_contribute "https://github.com/mihonapp/website/blob/main/website/src/docs/contribute.md"
click node_downloads "https://github.com/mihonapp/website/blob/main/website/src/download/index.md"
click node_extensions "https://github.com/mihonapp/website/blob/main/website/src/extensions/index.md"
click node_forks "https://github.com/mihonapp/website/tree/main/website/src/forks"
click node_privacy "https://github.com/mihonapp/website/blob/main/website/src/privacy/index.md"
click node_news "https://github.com/mihonapp/website/tree/main/website/src/news"
click node_changelogs "https://github.com/mihonapp/website/tree/main/website/src/changelogs"
click node_release_data "https://github.com/mihonapp/website/blob/main/website/src/.vitepress/config/releaseData.ts"
click node_tag_paths "https://github.com/mihonapp/website/blob/main/website/src/changelogs/%5Btag%5D.paths.ts"
click node_feed_hook "https://github.com/mihonapp/website/blob/main/website/src/.vitepress/config/hooks/generateFeed.ts"
click node_og_hook "https://github.com/mihonapp/website/blob/main/website/src/.vitepress/config/hooks/generateOgImages.ts"
click node_extensions_query "https://github.com/mihonapp/website/blob/main/website/src/.vitepress/theme/queries/useExtensionsRepositoryQuery.ts"

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_vitepress_site,node_site_theme,node_theme_layout,node_theme_components toneBlue
class node_docs_guides,node_docs_faq,node_docs_contribute toneAmber
class node_downloads,node_extensions,node_forks,node_privacy toneMint
class node_news,node_changelogs,node_release_data,node_tag_paths,node_feed_hook,node_og_hook,node_extensions_query toneRose
class node_visitor toneIndigo
```

## Components

### Site Framework

- [VitePress Site](https://github.com/mihonapp/website/blob/main/website/src/.vitepress/config.ts): `website/src/.vitepress/config.ts`
- [Site Theme](https://github.com/mihonapp/website/blob/main/website/src/.vitepress/theme/index.ts): `website/src/.vitepress/theme/index.ts`
- [Theme Layout](https://github.com/mihonapp/website/blob/main/website/src/.vitepress/theme/Layout.vue): `website/src/.vitepress/theme/Layout.vue`
- [Theme Components](https://github.com/mihonapp/website/tree/main/website/src/.vitepress/theme/components): `website/src/.vitepress/theme/components`

### User Guidance

- [Guides](https://github.com/mihonapp/website/tree/main/website/src/docs/guides): `website/src/docs/guides`
- [FAQ](https://github.com/mihonapp/website/tree/main/website/src/docs/faq): `website/src/docs/faq`
- [Contributing](https://github.com/mihonapp/website/blob/main/website/src/docs/contribute.md): `website/src/docs/contribute.md`

### Product Information

- [Downloads](https://github.com/mihonapp/website/blob/main/website/src/download/index.md): `website/src/download/index.md`
- [Extensions](https://github.com/mihonapp/website/blob/main/website/src/extensions/index.md): `website/src/extensions/index.md`
- [Forks](https://github.com/mihonapp/website/tree/main/website/src/forks): `website/src/forks`
- [Privacy](https://github.com/mihonapp/website/blob/main/website/src/privacy/index.md): `website/src/privacy/index.md`

### Content Features

- [News](https://github.com/mihonapp/website/tree/main/website/src/news): `website/src/news`
- [Changelogs](https://github.com/mihonapp/website/tree/main/website/src/changelogs): `website/src/changelogs`
- [Release Data](https://github.com/mihonapp/website/blob/main/website/src/.vitepress/config/releaseData.ts): `website/src/.vitepress/config/releaseData.ts`
- [Release Tag Paths](https://github.com/mihonapp/website/blob/main/website/src/changelogs/%5Btag%5D.paths.ts): `website/src/changelogs/[tag].paths.ts`
- [Feed Generation](https://github.com/mihonapp/website/blob/main/website/src/.vitepress/config/hooks/generateFeed.ts): `website/src/.vitepress/config/hooks/generateFeed.ts`
- [Open Graph Images](https://github.com/mihonapp/website/blob/main/website/src/.vitepress/config/hooks/generateOgImages.ts): `website/src/.vitepress/config/hooks/generateOgImages.ts`
- [Extensions Query](https://github.com/mihonapp/website/blob/main/website/src/.vitepress/theme/queries/useExtensionsRepositoryQuery.ts): `website/src/.vitepress/theme/queries/useExtensionsRepositoryQuery.ts`

### Other components

- **Visitor**

## Connections

- Visitor → VitePress Site: browses
- VitePress Site → Site Theme: uses theme
- Site Theme → Theme Layout: renders layout
- Theme Layout → Theme Components: renders components
- VitePress Site → Guides: serves guides
- VitePress Site → FAQ: serves FAQ
- VitePress Site → Contributing: serves guidance
- VitePress Site → Downloads: serves downloads
- VitePress Site → Extensions: serves extensions
- VitePress Site → Forks: serves forks
- VitePress Site → Privacy: serves privacy
- VitePress Site → News: serves news
- VitePress Site → Changelogs: serves changelogs
- Release Tag Paths → Release Data: loads releases (evidence: `website/src/changelogs/[tag].paths.ts`)
- Theme Components → Extensions Query: uses query
- VitePress Site → Feed Generation: configures hook
- VitePress Site → Open Graph Images: configures hook
