Skip to content

Commit

Permalink
mkdocs.yml: ubuntu_releases.name → version
Browse files Browse the repository at this point in the history
  • Loading branch information
iBug committed Apr 20, 2024
1 parent 9f2a23c commit 1e901f7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions docs/ubuntu-ports.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ arm64, armhf, PowerPC, ppc64el, s390x
以下是参考配置内容:

{% for release in ubuntu_releases %}
=== "Ubuntu {{ release.name }}"
=== "Ubuntu {{ release.version }}"

=== "`sources.list` 格式"

Expand All @@ -54,7 +54,7 @@ arm64, armhf, PowerPC, ppc64el, s390x
# deb https://mirrors.ustc.edu.cn/ubuntu-ports/ {{ release.codename }}-proposed main restricted universe multiverse
# deb-src https://mirrors.ustc.edu.cn/ubuntu-ports/ {{ release.codename }}-proposed main restricted universe multiverse
```

=== "DEB822 格式"

```yaml title="/etc/apt/sources.list.d/ubuntu-ports.sources"
Expand Down
4 changes: 2 additions & 2 deletions docs/ubuntu.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ AMD64 (x86_64), Intel x86
当然也可以直接编辑 APT 源文件(需要使用 sudo)。以下是参考配置内容:

{% for release in ubuntu_releases %}
=== "Ubuntu {{ release.name }}"
=== "Ubuntu {{ release.version }}"

=== "`sources.list` 格式"

Expand All @@ -78,7 +78,7 @@ AMD64 (x86_64), Intel x86
# deb https://mirrors.ustc.edu.cn/ubuntu/ {{ release.codename }}-proposed main restricted universe multiverse
# deb-src https://mirrors.ustc.edu.cn/ubuntu/ {{ release.codename }}-proposed main restricted universe multiverse
```

=== "DEB822 格式"

```yaml title="/etc/apt/sources.list.d/ubuntu.sources"
Expand Down
8 changes: 4 additions & 4 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,13 +91,13 @@ extra:
codename: buster
proxmox_version: 6
ubuntu_releases:
- name: 22.04
- version: 22.04
codename: jammy
- name: 20.04
- version: 20.04
codename: focal
- name: 18.04
- version: 18.04
codename: bionic
- name: 16.04
- version: 16.04
codename: xenial

extra_css:
Expand Down

0 comments on commit 1e901f7

Please sign in to comment.