Use Docc for documentation (#25)

Motivation

Documentation is nice, and we can help support users by providing useful
clear docs.

Modifications

Add Docc to 5.6 and later builds
Make sure symbol references work
Add overview docs

Result

Nice rendering docs
This commit is contained in:
Cory Benfield authored and GitHub committed 2022-07-29 10:43:34 +01:00
1 parent 09cbe194f6
commit 76a75874dd
9 files changed
+284 -7

No files matched your search

+2 -2
View File
@@ -3,7 +3,7 @@
##
## This source file is part of the SwiftNIO open source project
##
## Copyright (c) 2020-2021 Apple Inc. and the SwiftNIO project authors
## Copyright (c) 2020-2022 Apple Inc. and the SwiftNIO project authors
## Licensed under Apache License v2.0
##
## See LICENSE.txt for license information
@@ -60,7 +60,7 @@ for language in swift-or-c bash dtrace; do
matching_files=( -name '*' )
case "$language" in
swift-or-c)
exceptions=( -name 'Package.swift' )
exceptions=( -name 'Package.swift' -o -name 'Package@swift*.swift' )
matching_files=( -name '*.swift' -o -name '*.c' -o -name '*.h' )
cat > "$tmp" <<"EOF"
//===----------------------------------------------------------------------===//