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

RFC: Added doc/DocCheck.jl: functions for checking documentation status #3120

Merged
merged 1 commit into from
May 17, 2013

Conversation

kmsquire
Copy link
Member

The following are defined in doc/DocCheck.jl

  • undefined_exports(m::Module): list the undefined exports in a module
  • undocumented(), undocumented_by_file(), undocumented_rst(): produce a list of undocumented methods in various formats
  • isdeprecated(fn): true if fn is deprecated

This request also:

  • defines current_module(): return the current module
  • defines functionlocs(fn): return all function locations (functionloc(fn) just returns the first)
  • commented out undefined functions in exports.jl (these could probably be removed)

Edit: Updated to reflect current contents

@kmsquire
Copy link
Member Author

Whoops, there's an extra set of commits there...

@kmsquire kmsquire closed this May 15, 2013
@kmsquire kmsquire reopened this May 15, 2013
@kmsquire
Copy link
Member Author

Should be good now.

@kmsquire
Copy link
Member Author

I should add, undocumented_rst() will generate the list in #2242 whenever anyone (who as access) feels inclined to update it.

@JeffBezanson
Copy link
Member

I would rather have the undocumented stuff in external scripts rather than base. Base is getting too large. Very useful though.
OS_SOCKET is defined on windows, though it should be renamed soon.

@kmsquire
Copy link
Member Author

Ok. How about I move it to the doc directory?

@JeffBezanson
Copy link
Member

Yes the doc directory seems fine.

* undefined_exports(m::Module): list the undefined exportss in a module
* undocumented(), undocumented_by_file(), undocumented_rst(): produce a list of undocumented methods in various formats
* isdeprecated(fn): true if fn is deprecated

Additional functions in base:
* current_module(): return the current module
* functionlocs(fn): return all function locations; (functionloc(fn) returns just the first)

Also:
* commented out undefined functions in exports.jl (these could probably be removed)
@kmsquire
Copy link
Member Author

Okay, this is now in the doc directory. It's self contained, and a module, so it could also be moved to be an external module easily enough.

JeffBezanson added a commit that referenced this pull request May 17, 2013
RFC: Added doc/DocCheck.jl: functions for checking documentation status
@JeffBezanson JeffBezanson merged commit 8a2dcf3 into JuliaLang:master May 17, 2013
@kmsquire kmsquire deleted the undoc branch May 19, 2013 23:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants