-
Notifications
You must be signed in to change notification settings - Fork 413
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
Extract default values from Podspec #58
Comments
Parsing priority: |
If you presume that CocoaPods exists on the computer you can use |
Is the podspec guaranteed to be in ruby? Because if so, wouldn't it be simpler to just parse it straight from jazzy? |
Not guaranteed but very likely, we do support JSON podspecs. Unless it's coming from the public server/trunk, then its always JSON. You would need to Both ways work, depends on if you'd prefer CP as an explicit dependency in code, or as a binary you pipe the podspec through. |
Yeah, I'd probably use |
Then do as cocoadocs does 👍 |
Renamed this to just parse podspec. Other features won't be nearly as useful for the majority of projects. |
This will be done in a separate plugin once plugin support is added |
Can you make an issue for that listing the required steps? |
(Plugin support will come very soon. As in, maybe tonight or tomorrow.) |
This will happen over at https://github.com/segiddins/cocoapods-documentation |
Podspec parsing should really be in jazzy itself and not just in a cocoapods plugin (though a cp plugin might be useful too). My goal is that running |
@jpsim the issue is that to properly parse a podspec requires using the |
Podspec parsing should just require |
@jpsim it requires all of CocoaPods to do the downloading and figuring out what the source files are. |
I think you two are talking about different ideas: |
@orta's right about what I'm thinking. |
@jpsim I was going at this from a 'make something that cocoadocs can use' perspective |
yeah, @jpsim's is the minimum for Jazzy. The DL + setup can be done by CocoaDocs, as it's already being done for stuff anyway. |
Currently, many values have to be passed in to jazzy manually that could be automated. For example:
The text was updated successfully, but these errors were encountered: