forked from rustls/rustls
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
start fork: portable-rustls (0.0.1-dev) with doc TODOs
- Loading branch information
1 parent
c913b41
commit af6b8c6
Showing
84 changed files
with
298 additions
and
141 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,8 +6,9 @@ permissions: | |
on: | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- main | ||
# GONE FROM THIS FORK: | ||
# branches: | ||
# - main | ||
schedule: | ||
- cron: '0 18 * * *' | ||
|
||
|
@@ -24,10 +25,9 @@ jobs: | |
- name: Install rust toolchain | ||
uses: dtolnay/rust-toolchain@nightly | ||
|
||
- name: Install zola | ||
uses: taiki-e/install-action@v2 | ||
with: | ||
tool: [email protected] | ||
# GONE FROM THIS FORK: | ||
# - name: Install zola | ||
# ... | ||
|
||
- name: Generate version information | ||
run: | | ||
|
@@ -39,49 +39,18 @@ jobs: | |
- name: cargo doc | ||
# keep features in sync with Cargo.toml `[package.metadata.docs.rs]` section | ||
run: cargo doc --locked --features read_buf,ring --no-deps --package rustls | ||
run: cargo doc --locked --features read_buf,ring --no-deps --package portable-rustls | ||
env: | ||
RUSTDOCFLAGS: -Dwarnings --cfg=docsrs --html-after-content tag.html | ||
|
||
- name: Generate other pages | ||
run: | | ||
cd website && zola build --output-dir ../target/website/ | ||
- name: Restore lychee cache | ||
uses: actions/cache@v4 | ||
with: | ||
path: .lycheecache | ||
key: cache-lychee-${{ github.sha }} | ||
restore-keys: cache-lychee- | ||
|
||
- name: Check links | ||
uses: lycheeverse/lychee-action@v2 | ||
with: | ||
args: > | ||
--accept 200..=204,403,429,500 | ||
--cache | ||
--max-cache-age 1d | ||
--exclude-path 'website/content/' | ||
'**/*.md' | ||
'target/doc/**/*.html' | ||
fail: true | ||
|
||
- name: Massage rustdoc output | ||
run: | | ||
# lockfile causes deployment step to go wrong, due to permissions | ||
rm -f target/doc/.lock | ||
# move the result into website root | ||
mv target/doc/rustls target/website/docs | ||
- name: Package and upload artifact | ||
uses: actions/upload-pages-artifact@v3 | ||
with: | ||
path: ./target/website/ | ||
# GONE FROM THIS FORK: Generate other pages for website (etc.) | ||
|
||
deploy: | ||
name: Deploy | ||
runs-on: ubuntu-latest | ||
if: github.repository == 'rustls/rustls' | ||
# SKIP IN THIS FORK | ||
# if: github.repository == 'rustls/rustls' | ||
if: false | ||
needs: generate | ||
permissions: | ||
pages: write | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,9 @@ | ||
# Changelog | ||
|
||
<!-- TODO(portable-rustls) UPDATE INFO FOR THIS FORK --> | ||
TODO | ||
|
||
<!-- TODO(portable-rustls) UPDATE INFO FOR THIS FORK: | ||
The detailed list of changes in each release can be found at | ||
https://github.com/rustls/rustls/releases. | ||
-- --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
# Code of conduct | ||
|
||
<!-- TODO(portable-rustls) UPDATE INFO BELOW FOR THIS FORK --> | ||
|
||
This project adopts the [Rust Code of Conduct](https://www.rust-lang.org/policies/code-of-conduct). | ||
<!-- TODO(portable-rustls) UPDATE INFO FOR THIS FORK: | ||
Please email [email protected] to report any instance of misconduct, or if you | ||
have any comments or questions on the Code of Conduct. | ||
-- --> | ||
<!-- TODO(portable-rustls) CLEANUP & UPDATE WITH MORE SPECIFIC INFO FOR THIS FORK: --> | ||
PLEASE REPORT PRIVATELY TO A MAINTAINER OF THIS FORK IN CASE OF ANY QUESTIONS, COMMENTS, OR POSSIBLE MISCONDUCT. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.