Skip to content
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

Documentation Coverage Warning Flag #1449

Open
jfdm opened this issue Jul 31, 2014 · 1 comment
Open

Documentation Coverage Warning Flag #1449

jfdm opened this issue Jul 31, 2014 · 1 comment

Comments

@jfdm
Copy link
Contributor

jfdm commented Jul 31, 2014

Idris is documentation aware, this an annoyingly beneficial feature. Using this functionality, it would be beneficial when developing libraries to have a documentation coverage warning flag of the form:

$ idris --warndoc <level> ...

where <level> is one of:

Level Description
none No documentation is required. The default setting.
public All public and abstract elements must be documented`
all All objects must be documented.

This flag would be used to ensure that the library has been documented to one of the aforementioned levels. While this is naturally beneficial to library developers, it can also be beneficial for the oft-discussed Idris package manager. Packages can be uploaded if --warndoc public produces no warnings.

Of course the final form is open to debate.

This should be flagged as feature request and patches welcome.

@david-christiansen
Copy link
Contributor

Great idea!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants