-
Notifications
You must be signed in to change notification settings - Fork 11
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
GitHub Pages Deployment & Case Sensitive Links #13
Comments
Wrt the index.html I was thinking that people may often want to have a custom introduction site. But I agree, would be nice to generate an overview page (or maybe copy the main package index to it, but adjusting the links). We should create an own issue to track this. The thing with the links is likely more of a bug in DocC itself? 🤔 We could add an option to lowercase all links, but this is kinda wrong, because Swift source and symbols are case sensitive (i.e. you could have I don't know that much about GH Actions. Should we host the action as part of this GH organisation? (it probably needs an own repository?) |
@helje5 Thanks for the fast feedback and input! I will create separate issues for the two issues noted above so we can track them independently 👍 Regarding making a reusable GitHub Action out of the workflow presented above: Great idea. I can take a look at this over the next few days, and then we can host this as part of this organization. |
@helje5 I have created two separate issues for the problems mentioned above. I have also updated the issues to highlight the problems with the GitHub Pages based deployment I use in the Apodini/Template-Repository repo. In addition, I have created the first draft of a reusable GitHub Action that you can find in this repo: https://github.com/PSchmiedmayer/docc2html I have successfully used the action in this GitHub Action run: https://github.com/Apodini/Template-Repository/runs/3415765546?check_suite_focus=true The GitHub Action you have to put in your repo to use the action is just a few lines long: https://github.com/Apodini/Template-Repository/blob/feature/docCGitHubPages/.github/workflows/docs.yml I am happy to move this action into a repo in this organization and add a README with some documentation. |
Sorry for the delay, I added you to an org team. I can't find the setting which would allow you to create repos, so I guess I have to do that and then given you access. What would be a good name for the Action repository? |
@helje5 Thanks a lot! I have accepted the invitation and will create a repo. What do you think about the name |
@helje5 I have created a Therefore I am closing this issue. #14 and #15 contain detailed descriptions of the other issues I initially mentioned here. They still block Apodini/Template-Repository#8, but the GitHub pages deployment part is now working. |
First of all, thanks for the excellent work with this package @helje5 ! Thanks for filling in the hole of
Deployment to GitHub Pages
As noted in your README, deploying the generated HTML pages to GitHub Pages within a GitHub Action would be a helpful addition. I have played around with this and created the following action to do so and wanted to share this with you: https://github.com/Apodini/Template-Repository/blob/feature/docCGitHubPages/.github/workflows/docs.yml
It uses
xcodebuild
to generate the documentation and your tool to generate a static HTML page that is then published to thegh-pages
branch.Feel free to reuse and share this GitHub Action if you find it useful.
Open Issues
The GitHub Action is part of the following pull request to add this to our template repo: Apodini/Template-Repository#8 .
While working on the PR, I found the following issues that I wanted to share with you:
The text was updated successfully, but these errors were encountered: