-
Notifications
You must be signed in to change notification settings - Fork 113
[Question] Can DocC remove license headers from source code file #306
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
Comments
This is blocking #300 |
According to this message,
Based on this, I will propose a PR to change the behavior of |
Will be fixed by #307 |
closing now that #307 is merged |
Expected behavior
Source code files that are part of the documentation should not have the required license header, that would make tutorial and documentation harder to read.
Actual behavior
CI script
scripts/soundness.sh
checks for license headers in ALL source files.There are two possibles solutions :
(preferred) add the required license header files to all source code snippet in the doc and tell DocC to ignore the header file when generating the HTML page. (I asked the question to on the DocC slack channel and wait for a response)
modify
scripts/soundness.sh
to excludeDocumentation.docc
folders for the license header check.Steps to reproduce
.swift
file in the documentationdocker-compose -f docker/docker-compose.yaml -f docker/docker-compose.al2.58.yaml run soundness
Result :
If possible, minimal yet complete reproducer code (or URL to code)
https://github.com/sebsto/swift-aws-lambda-runtime/tree/sebsto/getting-started-doc
What version of this project (
swift-aws-lambda-runtime
) are you using?1.0.0-alpha-0.1
Swift version
n/a
Amazon Linux 2 docker image version
n/a
The text was updated successfully, but these errors were encountered: