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 documentation script to remove symlink and use podfile for module spec #416

Merged
merged 1 commit into from
Apr 3, 2024

Conversation

julianlocke
Copy link
Contributor

There are two changes here caused by two limitations:

  1. Sourcekitten is attempting to look up relevant module in .build/debug.yaml under "commands" using the "module-name" key which no longer is included in that node. This causes jazzy generation to fail with Could not find SPM module 'SwiftyDropbox'. Here are the modules available:[]. The temporary fix here is to use the pod spec based module specification which still works.

  2. gh-pages no longer supports symlinks. Our old paradigm here was to create a folder of documentation for each version of the SDK and then symlink it to latest. Our README and most historical shared links to documentation used URLs built off of latest. Since symlinks are no longer supported, we now need to copy the contents over instead.

@julianlocke julianlocke force-pushed the documentation-generation-changes branch from 712bdf6 to f4ed3b4 Compare April 3, 2024 16:59
@jaquish
Copy link

jaquish commented Apr 3, 2024

LGTM

@julianlocke julianlocke merged commit caaa9c6 into master Apr 3, 2024
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.

2 participants