Add wrapping and ellipsis to cache::Key
#4939
This file contains hidden or 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
| name: Document | |
| on: [push, pull_request] | |
| jobs: | |
| all: | |
| runs-on: ubuntu-latest | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| steps: | |
| - uses: hecrj/setup-rust-action@v2 | |
| with: | |
| rust-version: nightly-2026-02-20 | |
| - uses: actions/checkout@v2 | |
| - name: Generate documentation | |
| run: | | |
| RUSTDOCFLAGS="--cfg docsrs" \ | |
| cargo doc --no-deps --all-features \ | |
| -p futures-core \ | |
| -p iced_beacon \ | |
| -p iced_core \ | |
| -p iced_debug \ | |
| -p iced_devtools \ | |
| -p iced_futures \ | |
| -p iced_graphics \ | |
| -p iced_highlighter \ | |
| -p iced_renderer \ | |
| -p iced_runtime \ | |
| -p iced_vello_cpu \ | |
| -p iced_wgpu \ | |
| -p iced_widget \ | |
| -p iced_winit \ | |
| -p iced_test \ | |
| -p iced | |
| - name: Write CNAME file | |
| run: echo 'docs.iced.rs' > ./target/doc/CNAME | |
| - name: Copy redirect file as index.html | |
| run: cp docs/redirect.html target/doc/index.html | |
| - name: Publish documentation | |
| if: github.ref == 'refs/heads/master' | |
| uses: peaceiris/actions-gh-pages@v3 | |
| with: | |
| deploy_key: ${{ secrets.DOCS_DEPLOY_KEY }} | |
| external_repository: iced-rs/docs | |
| publish_dir: ./target/doc |