7 Commits
Author SHA1 Message Date
George Barnett bec04abc90 Update doc generation script (#322)
Motivation:

The docs haven't been generated for a while.

See also: https://github.com/apple/swift-nio/pull/2013

Modifications:

- Pass `--spm` flag to sourcekitten
- Update source location of sourcekitten
- Fix link to NIO docs

Result:

Docs build.
2021-12-17 11:39:37 +00:00
George Barnett dbe7fb05fe Fix doc generation and jazzy version (#298)
From: https://github.com/apple/swift-nio-extras/pull/141

Motivation:

The combination of Ruby and Jazzy are throwing up issues in CI on older
Ubuntu versions.

Modifications:

- Only install Jazzy on focal
- Fix doc generation script to use more recent source-kitten syntax

Results:

- CI doesn't complain
- Docs get built
2021-09-03 14:38:04 +01:00
Johannes WeissandCory Benfield cdf3c48b15 link swift-nio-extras in docs (#195)
Co-authored-by: Cory Benfield <lukasa@apple.com>
2020-05-11 12:53:34 +01:00
tomer doron 780e3a290b update docs generation script to work better with selinux (#187)
motivation: docs scripts is broken on selinux due to restriction on ssh-agent

changes:
* change the jazzy workspace to a directory accessible by the CI node so we can push from the agent instead of from the docker container
* dont remove older docs when pushing new ones
* add version information and source links
2020-02-28 12:26:01 -08:00
Johannes Weiss 8c991df0c0 Add 'Show on GitHub' link to API docs (#108)
Motivation:

Allowing readers of the API documentation to drill into the implementation of documented declarations can be educational and helpful for debugging, among several other reasons.

Modifications:

Add --github-file-prefix appending the current version in order to keep stable links. This means that documentation generated from any non-release revision may resolve incorrectly. This can be refined in the doc generation script later if it is deemed problematic by resolving to the commit sha if it doesn't exactly align with the version.

Result:

Users will be able to click a 'Show on GitHub' for all documented API declarations.
2019-04-29 10:42:20 +01:00
Johannes Weiss 1a5c69c7f9 API docs: repo switcher (#83) 2019-03-28 16:03:38 +00:00
tomer doron 13d9b4852e add doc generation script (#77)
motivation: publish API docs

changes:
* amend docker file to include jazzy
* add doc generation script based on what we have in swift-nio and swift-log
2019-03-27 09:33:19 +00:00