janet-lang / janet-lang.org

Website for janet
https://janet-lang.org
MIT License
90 stars 59 forks source link

Fix a small typo in the documentation for match #190

Closed mwilbur closed 1 year ago

mwilbur commented 1 year ago

I'm making an assumption that "Easy case" should be "Each case". I couldn't see anywhere the html is auto-generated for this so I changed the html itself.

sogaiu commented 1 year ago

I believe the API docs are generated based on the docstrings from the janet source code, may be using this code.

I think it's true that "Easy case" should be "Each case". However, the current docstring does say "Each case". This was fixed in https://github.com/sogaiu/janet/commit/c864828735bef98e5b9a18015167133b75ee5662. This might explain why more recent docs say "Each case".

I think there might be value in being able to see the docs as they were at the time they were generated. I don't know what the policy is though.

mwilbur commented 1 year ago

Makes sense to me.