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

Update DocC setup instructions #511

Merged
merged 1 commit into from Apr 6, 2023

Conversation

franklinsch
Copy link
Member

Bug/issue #, if applicable: N/A

Summary

Updates the instructions to get started with DocC to mention that using the Swift-DocC plugin is the preferred way of using DocC.

Dependencies

None.

Testing

N/A

Checklist

  • [ ] Added tests N/A
  • Ran the ./bin/test script and it succeeded
  • Updated documentation if necessary

README.md Show resolved Hide resolved
README.md Outdated
@@ -87,7 +87,7 @@ project's technical documentation:
with support for building and viewing documentation for your framework and
its dependencies.

## Getting Started with `docc`
## Getting Started with developing `docc`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very minor; the rest of the headers use sentence case

Suggested change
## Getting Started with developing `docc`
## Getting started with developing `docc`

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, thank you!

README.md Outdated
to get started with [building](https://apple.github.io/swift-docc-plugin/documentation/swiftdoccplugin/generating-documentation-for-a-specific-target), [previewing](https://apple.github.io/swift-docc-plugin/documentation/swiftdoccplugin/previewing-documentation),
and publishing your documentation to your [website](https://apple.github.io/swift-docc-plugin/documentation/swiftdoccplugin/generating-documentation-for-hosting-online) or [GitHub Pages](https://apple.github.io/swift-docc-plugin/documentation/swiftdoccplugin/publishing-to-github-pages).

### Assembling symbol graphs and building with `docc` directly
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure any of this belongs in the README at this point. Maybe we should move it to the CONTRIBUTING if it's not already there?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that's a good point. it's more of an advanced use case. I've moved it

@franklinsch franklinsch force-pushed the update-documentation branch 2 times, most recently from b2409b3 to 9354f58 Compare April 6, 2023 14:08
Updates the instructions to get started with DocC to mention that using
the Swift-DocC plugin is the preferred way of using DocC.
@franklinsch
Copy link
Member Author

@swift-ci please test

@franklinsch franklinsch merged commit 60936ba into apple:main Apr 6, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants