chaijs / chai

BDD / TDD assertion framework for node.js and the browser that can be paired with any testing framework.
https://chaijs.github.io
MIT License
8.11k stars 694 forks source link

Documentation revamp #1595

Open koddsson opened 7 months ago

koddsson commented 7 months ago

I really like the documentation and I want to really try to avoid rewriting it's system but I think we should colocate it with the code in this repo as opposed to keeping it in a different repo. I also think we should generate most of the API documentation from the JSDocs. This way we don't change the code without updating the docs as well.

Here's a loose list of what I think we should do:

What do you think?

@chaijs/core

43081j commented 7 months ago

it sounds like it could be a good idea but id be interested to see a poc or suggested solution

we did slip up slightly when releasing the new major and not updating docs, probably because they're decoupled

think we also need to review the docs as they are now to at least correct what the major release changed

koddsson commented 7 months ago

Here's a quick thing I threw up using jsdoc:

image

We could obviously tweak the styles and all that. And also make the markdown work and update all the docs like you said.

koddsson commented 7 months ago

I can fiddle with this some more and maybe put on a draft PR.