Skip to content

WIP: docs: move HMAC importRawKey example to file#293

Open
Apple-beep wants to merge 1 commit into
google:masterfrom
Apple-beep:docs-hmac-dartdoc-examples
Open

WIP: docs: move HMAC importRawKey example to file#293
Apple-beep wants to merge 1 commit into
google:masterfrom
Apple-beep:docs-hmac-dartdoc-examples

Conversation

@Apple-beep

@Apple-beep Apple-beep commented Jun 22, 2026

Copy link
Copy Markdown
Contributor

Addresses part of #283

Summary

  • Moves the HmacSecretKey.importRawKey dartdoc example into a standalone file under example/webcrypto/hmac/import_raw_key.dart.
  • Replaces the inline dartdoc code block with a {@example ...} reference.
  • Keeps this scoped to one HMAC example as an initial primitive-level cleanup.

Notes

Testing

  • dart format lib/src/webcrypto/webcrypto.hmac.dart example/webcrypto/hmac/import_raw_key.dart
  • dart analyze

@Apple-beep Apple-beep force-pushed the docs-hmac-dartdoc-examples branch from fad96a3 to f3087d8 Compare June 22, 2026 20:31
@Apple-beep

Copy link
Copy Markdown
Contributor Author

Hi @jonasfj, I rebased this PR after #294 was merged.

It looks like the workflows are still awaiting maintainer approval. Could you please approve the workflow run when you get a chance?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant