diff options
author | Sergio Carlavilla Delgado <carlavilla@FreeBSD.org> | 2021-12-11 09:57:33 +0000 |
---|---|---|
committer | Sergio Carlavilla Delgado <carlavilla@FreeBSD.org> | 2021-12-11 09:57:33 +0000 |
commit | 2b027dd0175e739f8b5fedd2ae6bd96cf0c14125 (patch) | |
tree | a2729090faf04fa4ebfbce67754273aac283eaee /documentation/content/zh-cn/books/arch-handbook | |
parent | a2d2687bc5b4aea7d1aea28368ba9bc87ca1524c (diff) | |
download | doc-2b027dd017.tar.gz doc-2b027dd017.zip |
New Documentation Portal
I'm very pleased to announce the release of
our new Documentation Portal.
Key features:
* Responsive
* Modern design
* Theme support: Light, Dark, High contrast
* Removed Python dependency
Acknowledgment:
* Alexander Leidinger <netchild (at) FreeBSD.org>
* Baptiste Daroussin <bapt (at) FreeBSD.org>
* Benedict Reuschling <bcr (at) freebsd.org>
* Daniel Ebdrup Jensen <debdrup (at) FreeBSD.org>
* Danilo G. Baio <dbaio (at) FreeBSD.org>
* Dave Cottlehuber <dch (at) FreeBSD.org>
* Ed Maste <emaste (at) FreeBSD.org>
* Fernando Apesteguía <fernape (at) FreeBSD.org>
* Pedro Giffuni <pfg (at) FreeBSD.org>
* Joseph Mingrone <jrm (at) ftfl.ca>
* Rocky Hotas <rockyhotas (at) firemail.cc>
* Pau Amma <pauamma (at) gundo.com>
* The FreeBSD Foundation
Approved by: core, doceng
Diffstat (limited to 'documentation/content/zh-cn/books/arch-handbook')
23 files changed, 66 insertions, 59 deletions
diff --git a/documentation/content/zh-cn/books/arch-handbook/_index.adoc b/documentation/content/zh-cn/books/arch-handbook/_index.adoc index 0228d5fd49..4116613b30 100644 --- a/documentation/content/zh-cn/books/arch-handbook/_index.adoc +++ b/documentation/content/zh-cn/books/arch-handbook/_index.adoc @@ -7,7 +7,9 @@ copyright: Copyright © 2000-2006, 2012-2013 The FreeBSD Documentation Project trademarks: ["freebsd", "apple", "microsoft", "unix", "general"] next: books/arch-handbook/parti add_single_page_link: true -isIndex: true +showBookMenu: true +weight: 0 +path: "/books/arch-handbook/" --- = FreeBSD 系统结构手册 @@ -31,16 +33,13 @@ include::shared/attributes/attributes-{{% lang %}}.adoc[] include::shared/{{% lang %}}/teams.adoc[] include::shared/{{% lang %}}/mailing-lists.adoc[] include::shared/{{% lang %}}/urls.adoc[] -:chapters-path: content/{{% lang %}}/books/arch-handbook/ endif::[] ifdef::backend-pdf,backend-epub3[] -:chapters-path: include::../../../../../shared/asciidoctor.adoc[] endif::[] endif::[] ifndef::env-beastie[] -:chapters-path: include::../../../../../shared/asciidoctor.adoc[] endif::[] @@ -52,5 +51,3 @@ endif::[] 本文档的最新英文原始版本可从 link:https:://www.FreeBSD.org[FreeBSD Web 站点] 获得, 由 link:http://www.FreeBSD.org.cn/[http://www.FreeBSD.org.cn] 维护的最新译本可以在 link:http://cnsnap.cn.FreeBSD.org/zh-cn/[http://www.FreeBSD.org.cn 快照 Web 站点] 和 link:http://cnsnap.cn.FreeBSD.org/doc/zh_CN.UTF-8/[http://www.FreeBSD.org.cn 文档快照] 处获得, 这一译本会不断向主站同步。 此外, 您也可以从 link:ftp://ftp.FreeBSD.org/pub/FreeBSD/doc/[FreeBSD FTP 服务器] 或众多的 extref:{handbook}mirrors/[镜像站点, mirrors-ftp] 得到这份文档的各种其他格式以及压缩形式的版本。 ''' - -include::{chapters-path}toc.adoc[] diff --git a/documentation/content/zh-cn/books/arch-handbook/bibliography/_index.adoc b/documentation/content/zh-cn/books/arch-handbook/bibliography/_index.adoc index 78e23c7a39..b30f6aabdd 100644 --- a/documentation/content/zh-cn/books/arch-handbook/bibliography/_index.adoc +++ b/documentation/content/zh-cn/books/arch-handbook/bibliography/_index.adoc @@ -1,6 +1,9 @@ --- title: 参考书目 prev: books/arch-handbook/partiii +showBookMenu: true +weight: 20 +path: "/books/arch-handbook/" --- [bibliography] diff --git a/documentation/content/zh-cn/books/arch-handbook/book.adoc b/documentation/content/zh-cn/books/arch-handbook/book.adoc index 0eaba06ce3..2dfb61b545 100644 --- a/documentation/content/zh-cn/books/arch-handbook/book.adoc +++ b/documentation/content/zh-cn/books/arch-handbook/book.adoc @@ -54,7 +54,7 @@ endif::[] toc::[] -include::{chapters-path}parti.adoc[lines=15..16] +include::{chapters-path}parti.adoc[] include::{chapters-path}boot/_index.adoc[leveloffset=+1] include::{chapters-path}locking/_index.adoc[leveloffset=+1] include::{chapters-path}kobj/_index.adoc[leveloffset=+1] @@ -64,7 +64,7 @@ include::{chapters-path}mac/_index.adoc[leveloffset=+1] include::{chapters-path}vm/_index.adoc[leveloffset=+1] include::{chapters-path}smp/_index.adoc[leveloffset=+1] -include::{chapters-path}partii.adoc[lines=15..16] +include::{chapters-path}partii.adoc[] include::{chapters-path}driverbasics/_index.adoc[leveloffset=+1] include::{chapters-path}isa/_index.adoc[leveloffset=+1] include::{chapters-path}pci/_index.adoc[leveloffset=+1] @@ -74,5 +74,5 @@ include::{chapters-path}newbus/_index.adoc[leveloffset=+1] include::{chapters-path}sound/_index.adoc[leveloffset=+1] include::{chapters-path}pccard/_index.adoc[leveloffset=+1] -include::{chapters-path}partiii.adoc[lines=15..16] +include::{chapters-path}partiii.adoc[] include::{chapters-path}bibliography/_index.adoc[leveloffset=+1] diff --git a/documentation/content/zh-cn/books/arch-handbook/boot/_index.adoc b/documentation/content/zh-cn/books/arch-handbook/boot/_index.adoc index faadabd081..298957a4ff 100644 --- a/documentation/content/zh-cn/books/arch-handbook/boot/_index.adoc +++ b/documentation/content/zh-cn/books/arch-handbook/boot/_index.adoc @@ -2,6 +2,9 @@ title: 第 1 章 引导过程与内核初始化 prev: books/arch-handbook/parti next: books/arch-handbook/locking +showBookMenu: true +weight: 2 +path: "/books/arch-handbook/" --- [[boot]] diff --git a/documentation/content/zh-cn/books/arch-handbook/chapters-order.adoc b/documentation/content/zh-cn/books/arch-handbook/chapters-order.adoc deleted file mode 100644 index ab4d8f3079..0000000000 --- a/documentation/content/zh-cn/books/arch-handbook/chapters-order.adoc +++ /dev/null @@ -1,20 +0,0 @@ -parti.adoc -boot/_index.adoc -locking/_index.adoc -kobj/_index.adoc -jail/_index.adoc -sysinit/_index.adoc -mac/_index.adoc -vm/_index.adoc -smp/_index.adoc -partii.adoc -driverbasics/_index.adoc -isa/_index.adoc -pci/_index.adoc -scsi/_index.adoc -usb/_index.adoc -newbus/_index.adoc -sound/_index.adoc -pccard/_index.adoc -partiii.adoc -bibliography/_index.adoc diff --git a/documentation/content/zh-cn/books/arch-handbook/driverbasics/_index.adoc b/documentation/content/zh-cn/books/arch-handbook/driverbasics/_index.adoc index bec7d8bb40..4e5ac0677c 100644 --- a/documentation/content/zh-cn/books/arch-handbook/driverbasics/_index.adoc +++ b/documentation/content/zh-cn/books/arch-handbook/driverbasics/_index.adoc @@ -2,6 +2,9 @@ title: 第 9 章 编写 FreeBSD 设备驱动程序 prev: books/arch-handbook/partii next: books/arch-handbook/isa +showBookMenu: true +weight: 11 +path: "/books/arch-handbook/" --- [[driverbasics]] diff --git a/documentation/content/zh-cn/books/arch-handbook/isa/_index.adoc b/documentation/content/zh-cn/books/arch-handbook/isa/_index.adoc index 863313a9cd..7ae0592767 100644 --- a/documentation/content/zh-cn/books/arch-handbook/isa/_index.adoc +++ b/documentation/content/zh-cn/books/arch-handbook/isa/_index.adoc @@ -2,6 +2,9 @@ title: 第 10 章 ISA设备驱动程序 prev: books/arch-handbook/driverbasics next: books/arch-handbook/pci +showBookMenu: true +weight: 12 +path: "/books/arch-handbook/" --- [[isa-driver]] diff --git a/documentation/content/zh-cn/books/arch-handbook/jail/_index.adoc b/documentation/content/zh-cn/books/arch-handbook/jail/_index.adoc index 928c5564b8..1bf2aede01 100644 --- a/documentation/content/zh-cn/books/arch-handbook/jail/_index.adoc +++ b/documentation/content/zh-cn/books/arch-handbook/jail/_index.adoc @@ -2,6 +2,9 @@ title: 第 4 章 Jail子系统 prev: books/arch-handbook/kobj next: books/arch-handbook/sysinit +showBookMenu: true +weight: 5 +path: "/books/arch-handbook/" --- [[jail]] diff --git a/documentation/content/zh-cn/books/arch-handbook/kobj/_index.adoc b/documentation/content/zh-cn/books/arch-handbook/kobj/_index.adoc index 61db27a441..1093e39426 100644 --- a/documentation/content/zh-cn/books/arch-handbook/kobj/_index.adoc +++ b/documentation/content/zh-cn/books/arch-handbook/kobj/_index.adoc @@ -2,6 +2,9 @@ title: 第 3 章 内核对象 prev: books/arch-handbook/locking next: books/arch-handbook/jail +showBookMenu: true +weight: 4 +path: "/books/arch-handbook/" --- [[kernel-objects]] diff --git a/documentation/content/zh-cn/books/arch-handbook/locking/_index.adoc b/documentation/content/zh-cn/books/arch-handbook/locking/_index.adoc index 8070ff77fb..7851167292 100644 --- a/documentation/content/zh-cn/books/arch-handbook/locking/_index.adoc +++ b/documentation/content/zh-cn/books/arch-handbook/locking/_index.adoc @@ -2,6 +2,9 @@ title: 第 2 章 内核中的锁 prev: books/arch-handbook/boot next: books/arch-handbook/kobj +showBookMenu: true +weight: 3 +path: "/books/arch-handbook/" --- [[locking]] diff --git a/documentation/content/zh-cn/books/arch-handbook/mac/_index.adoc b/documentation/content/zh-cn/books/arch-handbook/mac/_index.adoc index 2b9f341fb1..1a33f770db 100644 --- a/documentation/content/zh-cn/books/arch-handbook/mac/_index.adoc +++ b/documentation/content/zh-cn/books/arch-handbook/mac/_index.adoc @@ -2,6 +2,9 @@ title: 第 6 章 TrustedBSD MAC 框架 prev: books/arch-handbook/sysinit next: books/arch-handbook/vm +showBookMenu: true +weight: 7 +path: "/books/arch-handbook/" --- [[mac]] diff --git a/documentation/content/zh-cn/books/arch-handbook/newbus/_index.adoc b/documentation/content/zh-cn/books/arch-handbook/newbus/_index.adoc index 18bf1eccb6..fda3045508 100644 --- a/documentation/content/zh-cn/books/arch-handbook/newbus/_index.adoc +++ b/documentation/content/zh-cn/books/arch-handbook/newbus/_index.adoc @@ -2,6 +2,9 @@ title: 第 14 章 Newbus prev: books/arch-handbook/usb next: books/arch-handbook/sound +showBookMenu: true +weight: 16 +path: "/books/arch-handbook/" --- [[newbus]] diff --git a/documentation/content/zh-cn/books/arch-handbook/parti.adoc b/documentation/content/zh-cn/books/arch-handbook/parti.adoc index c4ade3e3a2..a37753af43 100644 --- a/documentation/content/zh-cn/books/arch-handbook/parti.adoc +++ b/documentation/content/zh-cn/books/arch-handbook/parti.adoc @@ -2,17 +2,10 @@ title: Part I. 内核 prev: books/arch-handbook next: books/arch-handbook/boot +showBookMenu: true +weight: 1 +path: "/books/arch-handbook/" --- -ifdef::env-beastie+backend-html5[] -:chapters-path: content/{{% lang %}}/books/arch-handbook/ -endif::[] - -ifndef::env-beastie[] -:chapters-path: -endif::[] - [[kernel]] = 内核 - -include::{chapters-path}toc-1.adoc[] diff --git a/documentation/content/zh-cn/books/arch-handbook/partii.adoc b/documentation/content/zh-cn/books/arch-handbook/partii.adoc index cf1d799e46..8128b66462 100644 --- a/documentation/content/zh-cn/books/arch-handbook/partii.adoc +++ b/documentation/content/zh-cn/books/arch-handbook/partii.adoc @@ -2,17 +2,10 @@ title: Part II. 设备驱动程序 prev: books/arch-handbook/smp next: books/arch-handbook/driverbasics +showBookMenu: true +weight: 10 +path: "/books/arch-handbook/" --- -ifdef::env-beastie+backend-html5[] -:chapters-path: content/{{% lang %}}/books/arch-handbook/ -endif::[] - -ifndef::env-beastie[] -:chapters-path: -endif::[] - [[devicedrivers]] = 设备驱动程序 - -include::{chapters-path}toc-2.adoc[] diff --git a/documentation/content/zh-cn/books/arch-handbook/partiii.adoc b/documentation/content/zh-cn/books/arch-handbook/partiii.adoc index ab4deab9b7..99c703f853 100644 --- a/documentation/content/zh-cn/books/arch-handbook/partiii.adoc +++ b/documentation/content/zh-cn/books/arch-handbook/partiii.adoc @@ -2,17 +2,10 @@ title: Part III. 附录 prev: books/arch-handbook/pccard next: books/arch-handbook/bibliography +showBookMenu: true +weight: 19 +path: "/books/arch-handbook/" --- -ifdef::env-beastie+backend-html5[] -:chapters-path: content/{{% lang %}}/books/arch-handbook/ -endif::[] - -ifndef::env-beastie[] -:chapters-path: -endif::[] - [[appendices]] = 附录 - -include::{chapters-path}toc-3.adoc[] diff --git a/documentation/content/zh-cn/books/arch-handbook/pccard/_index.adoc b/documentation/content/zh-cn/books/arch-handbook/pccard/_index.adoc index 459a28f986..cfbcb29b72 100644 --- a/documentation/content/zh-cn/books/arch-handbook/pccard/_index.adoc +++ b/documentation/content/zh-cn/books/arch-handbook/pccard/_index.adoc @@ -2,6 +2,9 @@ title: 第 16 章 PC Card prev: books/arch-handbook/sound next: books/arch-handbook/partiii +showBookMenu: true +weight: 18 +path: "/books/arch-handbook/" --- [[pccard]] diff --git a/documentation/content/zh-cn/books/arch-handbook/pci/_index.adoc b/documentation/content/zh-cn/books/arch-handbook/pci/_index.adoc index 51fa5125c7..76c793f2b0 100644 --- a/documentation/content/zh-cn/books/arch-handbook/pci/_index.adoc +++ b/documentation/content/zh-cn/books/arch-handbook/pci/_index.adoc @@ -2,6 +2,9 @@ title: 第 11 章 PCI设备 prev: books/arch-handbook/isa next: books/arch-handbook/scsi +showBookMenu: true +weight: 13 +path: "/books/arch-handbook/" --- [[pci]] diff --git a/documentation/content/zh-cn/books/arch-handbook/scsi/_index.adoc b/documentation/content/zh-cn/books/arch-handbook/scsi/_index.adoc index a273d223e5..a58f79d1b0 100644 --- a/documentation/content/zh-cn/books/arch-handbook/scsi/_index.adoc +++ b/documentation/content/zh-cn/books/arch-handbook/scsi/_index.adoc @@ -2,6 +2,9 @@ title: 第 12 章 通用访问方法SCSI控制器 prev: books/arch-handbook/pci next: books/arch-handbook/usb +showBookMenu: true +weight: 14 +path: "/books/arch-handbook/" --- [[scsi]] diff --git a/documentation/content/zh-cn/books/arch-handbook/smp/_index.adoc b/documentation/content/zh-cn/books/arch-handbook/smp/_index.adoc index ce8fa9f980..dc15fde476 100644 --- a/documentation/content/zh-cn/books/arch-handbook/smp/_index.adoc +++ b/documentation/content/zh-cn/books/arch-handbook/smp/_index.adoc @@ -2,6 +2,9 @@ title: 第 8 章 SMPng 设计文档 prev: books/arch-handbook/vm next: books/arch-handbook/partii +showBookMenu: true +weight: 9 +path: "/books/arch-handbook/" --- [[smp]] diff --git a/documentation/content/zh-cn/books/arch-handbook/sound/_index.adoc b/documentation/content/zh-cn/books/arch-handbook/sound/_index.adoc index 1be1305798..7ddacdac5b 100644 --- a/documentation/content/zh-cn/books/arch-handbook/sound/_index.adoc +++ b/documentation/content/zh-cn/books/arch-handbook/sound/_index.adoc @@ -2,6 +2,9 @@ title: 第 15 章 声音子系统 prev: books/arch-handbook/newbus next: books/arch-handbook/pccard +showBookMenu: true +weight: 17 +path: "/books/arch-handbook/" --- [[oss]] diff --git a/documentation/content/zh-cn/books/arch-handbook/sysinit/_index.adoc b/documentation/content/zh-cn/books/arch-handbook/sysinit/_index.adoc index e368d81102..5db3e02ebf 100644 --- a/documentation/content/zh-cn/books/arch-handbook/sysinit/_index.adoc +++ b/documentation/content/zh-cn/books/arch-handbook/sysinit/_index.adoc @@ -2,6 +2,9 @@ title: 第 5 章 SYSINIT框架 prev: books/arch-handbook/jail next: books/arch-handbook/mac +showBookMenu: true +weight: 6 +path: "/books/arch-handbook/" --- [[sysinit]] diff --git a/documentation/content/zh-cn/books/arch-handbook/usb/_index.adoc b/documentation/content/zh-cn/books/arch-handbook/usb/_index.adoc index 5d7a983681..12d64716f0 100644 --- a/documentation/content/zh-cn/books/arch-handbook/usb/_index.adoc +++ b/documentation/content/zh-cn/books/arch-handbook/usb/_index.adoc @@ -2,6 +2,9 @@ title: 第 13 章 USB设备 prev: books/arch-handbook/scsi next: books/arch-handbook/newbus +showBookMenu: true +weight: 15 +path: "/books/arch-handbook/" --- [[usb]] diff --git a/documentation/content/zh-cn/books/arch-handbook/vm/_index.adoc b/documentation/content/zh-cn/books/arch-handbook/vm/_index.adoc index 5a135977f7..d38e9228b9 100644 --- a/documentation/content/zh-cn/books/arch-handbook/vm/_index.adoc +++ b/documentation/content/zh-cn/books/arch-handbook/vm/_index.adoc @@ -2,6 +2,9 @@ title: 第 7 章 虚拟内存系统 prev: books/arch-handbook/mac next: books/arch-handbook/smp +showBookMenu: true +weight: 8 +path: "/books/arch-handbook/" --- [[vm]] |