StarknetByExample icon indicating copy to clipboard operation
StarknetByExample copied to clipboard

feat: Mdbook, use `rustdoc_include` and anchors

Open julio4 opened this issue 1 year ago • 0 comments

Related to #70

We can replace include with rustdoc_include in the mdbook files. This allows readers to expand the contract and view the tests directly in the book (without altering the current appearance).

Todo:

  • Move all tests into the same contract files
  • Adjust listing inclusions in book files
  • Insert contract/test anchors as necessary
  • Revise the Contribution guidelines to reflect these changes

An example will be provided soon...

julio4 avatar Dec 13 '23 09:12 julio4