chore(docs): make changelogs visible on docsrs

Split changelog file to make it more comprehensible when reading and
also make it a part of documentation so it'll be more discoverable
by the users. This change also makes it possible for rust code inside
the changelogs to be tested with `cargo`.

Co-authored-by: Kirill Chibisov <contact@kchibisov.com>
This commit is contained in:
Mads Marquart 2024-02-16 17:28:13 +01:00 committed by Kirill Chibisov
parent a63b04385a
commit fedb944d57
31 changed files with 1378 additions and 1316 deletions

View file

@ -17,7 +17,7 @@ jobs:
contents: read
pages: write
id-token: write
steps:
- uses: actions/checkout@v3
@ -27,7 +27,7 @@ jobs:
- name: Run Rustdoc
env:
RUSTDOCFLAGS: --crate-version master --cfg=docsrs
RUSTDOCFLAGS: --crate-version master --cfg=docsrs --cfg=unreleased_changelogs
run: |
cargo doc --no-deps -Z rustdoc-map -Z rustdoc-scrape-examples --features=rwh_04,rwh_05,rwh_06,serde,mint,android-native-activity