-
Notifications
You must be signed in to change notification settings - Fork 441
Add DocC to SwiftSyntax #468
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
Conversation
I like the idea of publishing the documentation as GitHub pages. There are a few organizational questions that need to be answered first, like:
I think all of this is doable but requires some coordination. I’m looking into it but it might take a while. |
Swift-NIO does: https://github.com/apple/swift-nio
It will yes. And the plugin depends on swift-docc, so we need to think carefully here.
Yes. Docc don't support versions either right now, but there is an issue open on swift-docc, so it's tracked.
|
One thing that just hit, was that we must improve the generated docs. What it is, what it is used for etc. maybe some inline examples |
1dbfd9e
to
18d9cb8
Compare
9867ada
to
112ce13
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some improvement suggestions for the landing pages.
16cc925
to
18a669d
Compare
@swift-ci please test |
@swift-ci Please test |
I think the commit in this PR has the wrong commit message ;-) |
Whoops 🤦♂️ Changed |
@swift-ci Please test |
Looks like something timed out
@swift-ci please test linux |
@swift-ci please test linux |
Failed again so rebased on main and tried again 🤷♂️
|
I think the issue is that CI is not allowed to access the internet during the CI run. We might need to disable docc if the |
Something line this @ahoppen ? |
Yes, that’s what I had in mind. |
@swift-ci please test |
I've been looking into moving the documentation gh-pages, so we can use DocC.
An example can be found here: https://kimdv.github.io/swift-syntax/documentation/swiftsyntax/
I've also been considering to adding Swift Package Index documentaion.
Let me hear what you think. 👍