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

Support for generating docs that contains several projects? #623

Closed
liuxuan30 opened this issue Jul 27, 2016 · 9 comments
Closed

Support for generating docs that contains several projects? #623

liuxuan30 opened this issue Jul 27, 2016 · 9 comments
Assignees
Labels

Comments

@liuxuan30
Copy link

liuxuan30 commented Jul 27, 2016

Please take a look at https://github.com/danielgindi/Charts which I am trying to add docs
This project contains several folders like Charts, ChartsDemo, ChartsRealm, and each sub folder contains a Xcode project.

The exception is, ChartsDemo Xcode project will include Charts and ChartsRealm Xcode project.

I tried to generate jazzy doc under ChartsDemo, which I guess could include both Charts and ChartsRealm docs. However, it just has Charts doc. I don't know why ChartsRealm is missing.

So..

  1. Why ChartsRealm is missing? Is there anything I missed? Or it's a bug? Not supported?
  2. is it possible to generate a single jazzy doc for some of the sub folders/Xcode project? e.g. I want to generate a jazzy doc for Charts and ChartsRealm, excluding ChartsDemo.
@istx25 istx25 self-assigned this Nov 23, 2016
@istx25
Copy link
Contributor

istx25 commented Nov 23, 2016

Hi @liuxuan30. Thank you for submitting your question. My apologies that no one has responded to your support request until now. I'm not quite sure why ChartsRealm is missing but from my understanding, multi-Xcode project docs are currently unsupported. I'll do some more digging through.

@liuxuan30
Copy link
Author

Thanks!

@jpsim
Copy link
Collaborator

jpsim commented Dec 7, 2016

It doesn't look like the ChartsRealm directory exists. Perhaps it was removed? Could you update this thread with the latest information? Thanks!

@jpsim
Copy link
Collaborator

jpsim commented Dec 7, 2016

Also see my comment in #621 (comment) for some related details.

@liuxuan30
Copy link
Author

@jpsim it's there:
image

@jpsim
Copy link
Collaborator

jpsim commented Dec 8, 2016

No, it doesn't appear to be there: https://github.com/danielgindi/Charts

image

Is there a previous release I should be checking out?

@liuxuan30
Copy link
Author

Sorry, it seems like it has been a while after I ask this and the structure changed.
However, please use ChartsDemo or ChartsDemo-OSX as example.

The idea is the same, Charts is one project along with two other projects like ChartsDemo-OSX, and we want to generate doc for all of them, not just Charts.

@jpsim
Copy link
Collaborator

jpsim commented Dec 8, 2016

Reading back the initial comment in this thread, you're asking for functionality that doesn't exist in Jazzy currently.

Today, jazzy only builds docs for a single module at a time. However, you can run sourcekitten doc multiple times and merge their output json, and pass that result to jazzy --sourcekitten-sourcefile to do this yourself. See #564 (comment)

@liuxuan30
Copy link
Author

OK, thanks!

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

No branches or pull requests

3 participants