-
Notifications
You must be signed in to change notification settings - Fork 179
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
Publish Swift Markdown's documentation to GitHub pages #32
Publish Swift Markdown's documentation to GitHub pages #32
Conversation
Swift markdown no longer includes a DiagnosticEngine so these links were failing to resolve.
|
@swift-ci please test |
| @@ -26,3 +26,5 @@ | |||
|
|
|||
| ## See Also | |||
| - <doc:BlockDirectives> | |||
|
|
|||
| <!-- Copyright (c) 2021-2022 Apple Inc and the Swift Project authors. All Rights Reserved. --> | |||
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.
I feel like these missing license headers should get their own PR that can be reviewed and merged quickly - my own outstanding PRs here also have commits that add these 😅
|
@swift-ci please test |
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.
Looks great, thanks for doing this!
Summary
This sets the foundation for deploying Swift Markdown's documentation to GitHub pages.
Adds the Swift-DocC Plugin as a dependency of Swift-Markdown.
Adds a script to simplify deployment of documentation to GitHub pages.
Moves detailed documentation from the README into the DocC catalog.
After merging this PR, we should be able to prepare a
gh-pagesbranch on the mainswift-markdownrepo with no content on it, run thebin/update-gh-pages-documentation-sitescript and have docs available.Dependencies
None.
Testing
With Swift 5.6, run:
and confirm the Swift-DocC preview works as expected.
I've deployed the documentation to the GitHub pages site on my fork using the included script. Confirm the site behaves as expected here: https://ethan-kusters.github.io/swift-markdown/documentation/markdown/
Checklist
Make sure you check off the following items. If they cannot be completed, provide a reason.
./bin/testscript and it succeeded