Commit Graph

11 Commits

Author SHA1 Message Date
Konrad `ktoso` Malawski 7ea9dd2b5f Adjust gen_docs script Default branch is main (#302) 2020-09-08 06:54:46 +01:00
tomer doron a794d30fd8 update docs generation script to work better with selinux (#173)
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:58:47 -08:00
Johannes Weiss 726d0c62d1 sanity check: fix copyright year parsing (#142) 2019-12-11 11:55:33 +00:00
tomer doron 018e139eef update copyrights note (#125)
motivation: the Swift Server Workgroup is not a legal entity and cannot hold copyrights. with this change, code authors continue and retain their copyrights under the apache license and previous copyrights note, but Apple steps up instead of the workgroup which has no legal status

changes:
* update header files to say "Apple Inc. and the AsyncHTTPClient project authors" instead of "Swift Server Workgroup and the AsyncHTTPClient project authors"
* update validation scripts to check for the correct header
* add CONTRIBUTING.md file to explain how to make contributions and include a legal notice about licensing the contribution to Apple and the project
* regenerate CONTRIBUTORS.md to reflect most recent contributions
2019-11-06 11:20:30 -08:00
tomer doron cbe6a53755 check for api breakage and prepare to test with thread sanitizer in ci (#122)
motivation: better ci testing

changes:
* add api breakage script to test api breakage in ci
* add "shell" utility docker-compose task to run api breakage script
* change test task to treat warning as errors
* prepare to test with thread sanitizer in 5.1
2019-11-04 16:57:39 -08:00
tomer doron bab22d0ebd test formatting issues as part of sanity check (#73)
motivaiton: unified format

changes:
* fix outstanding formatting issues
* add a call to swiftformat as part of sanity script
* fix sanity script language check debugging statements
2019-07-30 10:00:10 +01:00
Artem Redkin 27fe9265b2 rename to async-http-client (#58) 2019-07-02 14:00:34 +03:00
Trevör 23dd98416b Replace 0.0.0 default docs version with master (#22)
This is a more correct way of versioning the docs and solves an issue
where some of doc links would lead to a 404 GitHub page
2019-04-30 17:18:39 -07:00
tomer doron 150216ea2b Add 'Show on GitHub' link to API docs (#17)
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-23 11:49:38 -07:00
tomer doron 4acd312a5a fix formatting (#12)
motivation: use consistent formatting

changes:
* run `swiftformat --self insert --patternlet inline --stripunusedargs unnamed-only --comments ignore` which is the standard formatting we use
* update generate_linux_tests to follow same formatting rules
2019-04-11 15:46:30 -07:00
tomer doron 9b01f9d9c1 add collateral (#7)
motivation: min requirements by sswg

changes:
* add code of conduct, contributors
* add docker setup for ci
* add linux docs generation and sanity check scripts
* add api documentation generation script
2019-04-10 16:07:35 -07:00