Reputation: 8165
Currently we're using DocC to generate the documentation. Our pipeline works as follows:
Create doccarchive
xcodebuild docbuild \
-scheme ${SCHEME_NAME} \
-destination 'generic/platform=iOS' \
Transforming the generated doccarchive for static hosting:
$(xcrun --find docc) process-archive \
transform-for-static-hosting "${DOCS_OUTPUT_PATH}/${MODULE_NAME}.doccarchive" \
--output-path ${DOCS_OUTPUT_PATH}/docs
As, for example, mentioned here: Publishing DocC Documentation as a Static Website on GitHub Pages
Then we publish the result on a web server.
The problem occurs at the step 3:
We're able to edit the resulting html pages on macOS/linux machines, however, we cannot edit the contents on the Windows computers due to the fact that the windows changes file & folder structure when unarchiving the documentation archive. Example:
On macOS, the following folder name is changed:
!=(_:_:) -> !=(_/_/)
While on Windows, I'm getting the following errors while unarchiving the resulting archive:
Questions
Upvotes: 1
Views: 62