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

Allow ignoring files #173

Closed
K4stor opened this issue Mar 6, 2015 · 7 comments
Closed

Allow ignoring files #173

K4stor opened this issue Mar 6, 2015 · 7 comments

Comments

@K4stor
Copy link

K4stor commented Mar 6, 2015

Hi there,

is there a way to leave files out of the documentation ?
Like the appdelegate. I dont wanna document that one :D

And ofc, thanks for dat awesome tool

Regards

@jpsim jpsim changed the title Ignore filtes Allow ignoring files Mar 7, 2015
@jpsim
Copy link
Collaborator

jpsim commented Mar 7, 2015

@K4stor it's not currently possible, though it should be pretty easy to do.

@bryanbartow
Copy link

I second this request. It would be extremely helpful (for me at least).

@jessesquires
Copy link
Contributor

Can't you use this?

/// :nodoc:

@bryanbartow
Copy link

@jessesquires That doesn't seem to have any effect for me.

@jessesquires
Copy link
Contributor

@bryanbartow , here's a working example

@jpsim
Copy link
Collaborator

jpsim commented Apr 30, 2015

You can use /// :nodoc: to ignore explicit declarations, but not entire files.

Adding a feature to ignore files should be very easy: it's just a matter of adding an --ignored-files CLI argument in config.rb and then filter SourceKitten's output based on that list of files in sourcekitten.rb.

@jpsim
Copy link
Collaborator

jpsim commented Apr 30, 2015

I've opened #219 as a possible implementation of this feature. Let me know what you think!

@jpsim jpsim closed this as completed in 04bbf59 May 1, 2015
jpsim added a commit that referenced this issue May 1, 2015
[Config] Added ability to exclude files from documentation. Fixes #173.
@pigeondotdev pigeondotdev modified the milestone: The Past Nov 22, 2016
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

5 participants