-
-
Notifications
You must be signed in to change notification settings - Fork 697
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The documentation is quite outdated #488
Comments
Aww about that @astorije. I'm painfully aware of how outdated the docs are. The intent is to move to using github pages using jekyll, which I've put some time towards. Moving it to github pages will automate the deployment of the doc website, whereas right now it is a manual process and one that @logicalparadox has to do. We have some issues about this - primarily chaijs/chaijs.github.io#74 and chaijs/chaijs.github.io#34. If you'd like to go over to those and add your input, or if you have any time to help out with code - that'd be much appreciated 😄. I'll close this, as it is effectively part of the above 2 issues. |
I completely understand this and wish you all the luck with the 2 issues you mentioned (I won't be able to get involved, sorry), but since we reached a breaking-changing version, I'd suggest @logicalparadox runs his manual process one more time. I don't know the details and maybe he can't right now, I am just giving my 2 cents as a user :-) |
Speaking of outdated documentation, I just wasted half an hour debugging why chai wouldn't work and it turns out that somewhere along the way, someone capitalized the var chai = require('chai');
var should = chai.should; // Doesn't work throws an Error
var should = chai.should(); // Returns an object but, not the function you need to make your tests work
var should = chai.Should(); // Is what you want but, is nowhere in the documentation I had to find this in the tests for Chai itself. I know this is open source and a labor of love but, please update the docs. It's super frustrating to bang my head against the wall when everything says just use |
@cloudbring I'm not sure exactly what you're issue is - but |
Also @cloudbring |
So, it turns out I'm using |
Chai's website still mentions version 2.1.0 while you just released version 3.1.0.
An up-to-date documentation would have prevented me to add and remove features to my plugin but granted, this is personal and half my fault :-)
On a more general note, since Chai changed its major version, I think it really should document the breaking changes on the main website. A nice summary of the breaking changes would make me more comfortable switching some big projects to version 3 :-)
The text was updated successfully, but these errors were encountered: