Convert documentation to using DocC as the primary source of documentation #35
-
Watching the WWDC '21 videos for DocC, I think we should convert all of our documentation over to it. It could replace the jazzy docs we have now, as well as the wiki. It could almost replace our README, but more likely a variant copy of our README would live in the docs. So far I have watched these videos:
There is still one more video coming on how to create interactive tutorials, that I think would also be amazing to add to our documentation, assuming it is indeed as easy as they say. Some of the biggest benefits I see in switching are:
Biggest drawbacks to consider:
It may feel preemptive to do right now, but I'm seeing a lot of value in switching. If we do not switch, we could at least start prepping our existing documentation to minimize the amount of work when XCode 13 is released. This means changing references to class types to using double back-ticks and appropriately using the |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 1 reply
-
A problem we are already thinking about but will absolutely have to address as part of this work is the naming conflict between |
Beta Was this translation helpful? Give feedback.
-
I think DocC offers a lot of nice functionality even with the drawbacks. A side benefit of being an early adopter would be to blaze the DocC trail for future Apple projects at WWT as well. |
Beta Was this translation helpful? Give feedback.
-
After having a WWDC Lab on DocC, I've found several answers to these:
The beta aspects were entirely user error. I needed to update the swift tools version for the package and select the appropriate scheme. Both of these would be resolved in a pipeline that generates the documentation. Requiring beta tools to generate is unfortunate but completely fixable by switching some of our pipeline if not all of it to MacStadium. We would have a dedicated box that we would setup as a runner that would be responsible for documentation and beta builds. As for hosing on github-pages, I am currently looking into an unsupported workaround, but so far it sounds promising and I think it will work. If we are successful, this will provide the best experience in my opinion. |
Beta Was this translation helpful? Give feedback.
-
Copying my comment from the issue, since this is where the discussion is really happening: |
Beta Was this translation helpful? Give feedback.
-
Decision resulted in the creation of Issue #49 to be worked when we have capacity. |
Beta Was this translation helpful? Give feedback.
Decision resulted in the creation of Issue #49 to be worked when we have capacity.