-
Notifications
You must be signed in to change notification settings - Fork 49
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
Add docs generation script. #47
Conversation
Motivation: Documentation is a real help when using a project, we should be generating it. Modifications: - Ported docs script from SwiftNIO. Result: We can provide API documentation.
75adebb
to
b453309
Compare
docker/Dockerfile
Outdated
@@ -26,7 +26,7 @@ RUN mkdir -p $HOME/.tools | |||
RUN echo 'export PATH="$HOME/.tools:$PATH"' >> $HOME/.profile | |||
|
|||
# script to allow mapping framepointers on linux (until part of the toolchain) | |||
RUN wget -q https://raw.githubusercontent.com/apple/swift/master/utils/symbolicate-linux-fatal -O $HOME/.tools/symbolicate-linux-fatal | |||
RUN wget -q https://raw.githubusercontent.com/apple/swift/main/utils/symbolicate-linux-fatal -O $HOME/.tools/symbolicate-linux-fatal | |||
RUN chmod 755 $HOME/.tools/symbolicate-linux-fatal |
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.
we can probably just get rid of this all-together, we do not need it
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.
Done.
my_path="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | ||
root_path="$my_path/.." | ||
version=$(git describe --abbrev=0 --tags || echo "0.0.0") | ||
modules=( NIOSSH ) |
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 see there are a f ew other modules in the repo, is including only NIOSSH in the docs intentional?
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.
Yes, the other modules are binaries.
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 good, but a couple of questions
Motivation:
Documentation is a real help when using a project, we should be
generating it.
Modifications:
Result:
We can provide API documentation.