-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Tests for examples in embedded docs #3413
base: develop
Are you sure you want to change the base?
Conversation
OK, I checked out the branch and put an error in an example, and indeed the test failed. The code looks fine. So my only question before merging this is that it only runs the check for identifiers in embeddedDocs -- that's OK, we could put the test elsewhere that there is embeded documentation for every identifier callable from the expression evaluator -- but then it gives an identifier foo a pass if |
Nice catch! Previously I was checking on Fixed it. |
Also if we check for
|
Thanks for the quick update.
These are not really intended to be called by clients of the package, and so it's OK for them to be undocumented, and they can be recorded as such.
These should definitely be documented; I will leave it up to @josdejong whether he wants the addition of documentation to be part of this PR, and whether he wants to add a check that everything is documented besides exceptions like the above.
I am less familiar with these so I will have to defer to @josdejong whether they are in the first or second category above. I think they have to do with JSON encoding and decoding. |
Thanks David, this is nice! I made one inline comment. About the list with failing functions: Glen is right:
I think the PR is small enough to directly add the missing documentation, I can help with that if needed. |
Hi, thanks for the review. Thanks Jos, please help me with the documentation for Just a few comments:
|
I would consider this a bug in the parser, given that Should I file a separate bug for this? I could address it in #3423, for example. Alternatively, I should also point out that if a proposal along the lines of #3379 were adopted, it would also totally fix this, in that we would no longer need to consider |
As a reference, there was some discussion about it at #1905. |
Ah, that's very helpful. I didn't realize that |
Hi, this includes tests for the examples of the embedded docs according to #3391