Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/browser-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ env:
HUGO_VERSION: 0.164.0
NODE_VERSION: 24
HUGO_CACHEDIR: ${{ github.workspace }}/.hugo_cache
GOMODCACHE: ${{ github.workspace }}/.hugo_cache/modules/filecache/modules/pkg/mod
GOMODCACHE:
${{ github.workspace }}/.hugo_cache/modules/filecache/modules/pkg/mod

jobs:
axe:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ env:
GO_VERSION: 1.25.5
HUGO_VERSION: 0.164.0
HUGO_CACHEDIR: ${{ github.workspace }}/.hugo_cache
GOMODCACHE: ${{ github.workspace }}/.hugo_cache/modules/filecache/modules/pkg/mod
GOMODCACHE:
${{ github.workspace }}/.hugo_cache/modules/filecache/modules/pkg/mod

jobs:
build:
Expand Down
3 changes: 2 additions & 1 deletion content/blog/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@
downstream_modified: true
title: Blog
description: Docsy articles, OINK engineering stories, and OINK release notes
menu: { main: { weight: 50 } }
search_keywords: [oink news, release notes, docsy]
type: blog
icon: fa-solid fa-blog
sidebar_root_for: self
sidebar_root_link_self: true
comments: false
cascade:
type: blog
search_boost: 0.9
params:
ui:
sidebar_menu_foldable: false
Expand Down
3 changes: 2 additions & 1 deletion content/blog/_index.zh.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
---
title: 博客
description: Docsy 文章、OINK 工程实践与 OINK 发布注记
menu: { main: { weight: 50 } }
search_keywords: [OINK 新闻, 版本说明, Docsy]
type: blog
icon: fa-solid fa-blog
sidebar_root_for: self
sidebar_root_link_self: true
comments: false
cascade:
type: blog
search_boost: 0.9
params:
ui:
sidebar_menu_foldable: false
Expand Down
4 changes: 3 additions & 1 deletion content/docs/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,15 @@ downstream_modified: true
title: Welcome to OINK
linkTitle: Docs
description: Install, customize, deploy, and maintain Oink documentation sites.
menu: { main: { weight: 20 } }
search_keywords: [oink, hugo theme, engineering documentation]
type: docs
icon: fa-solid fa-book
sidebar_expanded: true
sidebar_root_for: self
sidebar_root_link_self: true
comments: false
cascade:
search_boost: 1.35
---

<!-- markdownlint-disable-next-line no-space-in-links -->
Expand Down
4 changes: 3 additions & 1 deletion content/docs/_index.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,15 @@
title: 欢迎使用 OINK
linkTitle: 文档
description: 安装、定制、部署与维护 Oink 文档站。
menu: { main: { weight: 20 } }
search_keywords: [OINK, Hugo 主题, 工程文档]
type: docs
icon: fa-solid fa-book
sidebar_expanded: true
sidebar_root_for: self
sidebar_root_link_self: true
comments: false
cascade:
search_boost: 1.35
---

<!-- markdownlint-disable-next-line no-space-in-links -->
Expand Down
2 changes: 2 additions & 0 deletions content/docs/content/configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ title: Configuration
weight: 10
icon: fa-solid fa-sliders
description: Configure Oink with Hugo settings and focused theme parameters.
search_keywords: [config, settings, params, yaml]
search_boost: 1.6
aliases: [/docs/oink/configuration/]
---

Expand Down
2 changes: 2 additions & 0 deletions content/docs/content/configuration.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ title: 配置
weight: 10
icon: fa-solid fa-sliders
description: 使用 Hugo 设置与职责明确的主题参数配置 Oink。
search_keywords: [配置, 设置, 参数, YAML]
search_boost: 1.6
aliases: [/docs/oink/configuration/]
---

Expand Down
9 changes: 8 additions & 1 deletion content/project/_index.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
---
title: Oink project and website documentation
linkTitle: Project docs
linkTitle: Project
description: How the Oink theme and website are built, maintained, and deployed.
search_keywords: [architecture, maintenance, deployment, repository]
aliases: [site]
type: docs
icon: fa-solid fa-diagram-project
sidebar_root_for: self
sidebar_root_link_self: true
comments: false
cascade:
type: docs
search_boost: 1.15
params:
hide_feedback: true
cSpell:ignore: docsydocs
Expand Down
37 changes: 37 additions & 0 deletions content/project/_index.zh.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
title: OINK 项目与站点文档
linkTitle: 项目
description: OINK 主题与项目站的构建、维护和部署说明。
search_keywords: [架构, 维护, 部署, 代码仓库]
aliases: [site]
type: docs
icon: fa-solid fa-diagram-project
sidebar_root_for: self
sidebar_root_link_self: true
comments: false
cascade:
type: docs
search_boost: 1.15
params:
hide_feedback: true
---

<span class="badge bg-warning text-bg-warning fs-6">
{{% _param FAS person-digging " pe-2" %}} 本节仍在建设中。 {{%
_param FAS person-digging " ps-2" %}}
</span>

## 规划内容 {#content}

当前规划的内容结构如下:

- [关于项目](about/):项目目标、所有权和当前状态等概要信息。
- **设计**:架构、信息架构、布局、用户体验与主题设计决策。
- [实现](implementation/):代码结构与约定、Hugo 模板、SCSS/JS 定制、补丁和内部兼容层。
- [构建](build/):本地开发、CI/CD、部署环境和自动化工具。
- **质量**:链接检查、无障碍标准、测试与评审实践。
- **路线图**:里程碑、待办事项、优先级、技术债与设计决策。

## 站点构建信息 {#site-build-information}

OINK 版本:`{{% dev-version %}}`
1 change: 1 addition & 0 deletions content/tests/alerts.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Alerts
search_exclude: true
cSpell:ignore: thumbsup
---

Expand Down
1 change: 1 addition & 0 deletions content/tests/code-blocks.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Enhanced code blocks
exclude_search: true
description:
Browser and output regression fixtures for code blocks and Code Groups.
weight: 20
Expand Down
1 change: 1 addition & 0 deletions content/tests/layouts/no-left-sidebar.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
title: No left sidebar
type: docs
excludeSearch: true
params:
body_class: td-no-left-sidebar
---
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ module github.com/pgsty/oink.pgsty.com

go 1.21

require github.com/pgsty/oink v0.2.2-0.20260812031808-d945cbc854f4
require github.com/pgsty/oink v0.2.2-0.20260812083702-9fc1d5ea50c8
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
github.com/pgsty/oink v0.2.2-0.20260812031808-d945cbc854f4 h1:dPCsBe4i5nenCcQwwtsjc7bSuxIUuzScZmSGqkuRICc=
github.com/pgsty/oink v0.2.2-0.20260812031808-d945cbc854f4/go.mod h1:wHzQR6qVOx5rgkDCvXBZhmsDrAb3O+0CRNBHyIzsYT0=
github.com/pgsty/oink v0.2.2-0.20260812083702-9fc1d5ea50c8 h1:GOEJQQgpO4p841g3bGLRXgZVy1nLXbR9sZXbA2H7m8g=
github.com/pgsty/oink v0.2.2-0.20260812083702-9fc1d5ea50c8/go.mod h1:wHzQR6qVOx5rgkDCvXBZhmsDrAb3O+0CRNBHyIzsYT0=
Loading
Loading