aiken-lang / aiken

A modern smart contract platform for Cardano
https://aiken-lang.org
Apache License 2.0
396 stars 82 forks source link

aiken docs : jump to source (if available) #912

Closed waalge closed 2 months ago

waalge commented 3 months ago

What is your idea? Provide a use case.

For example : https://hackage.haskell.org/package/QuickCheck-2.14.3/docs/Test-QuickCheck-All.html#g:1

"#Source"

Why is it a good idea?

I'm trying to demo some functions with some readable tests.

Tests and non pub functions don't get picked up. fair enough.
But it would be helpful to say "Hi, reader, details in the code, click --> here"

What is the current alternative and why is it not good enough?

Going to docs, googling project, finding github. manually navigating to page...

waalge commented 3 months ago

PS. Also literal literate aiken files support :pray:

KtorZ commented 3 months ago

Literal aiken files support?