-
Notifications
You must be signed in to change notification settings - Fork 104
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
[doc] Getting Started documentation and tutorial #300
Conversation
Co-authored-by: Fabian Fett <fabianfett@apple.com>
Sources/AWSLambdaRuntimeCore/Documentation.docc/Resources/code/03-02-03-package.swift
Outdated
Show resolved
Hide resolved
cc @bitjammer |
cc @Joannis |
this is awesome! |
@sebsto is this ready to be merged? its a great addition! |
@swift-server-bot add to allowlist |
@tomerd I am on PTO - hence the delay to answer questions. Yes, it is good for me and ready to publish |
Hello @tomerd what is the blocker for this one and how can I help to release it ? |
@sebsto no blocker, was confirming this was ready. looks like one CI job is not happy, but lets marge once green |
@swift-server-bot test this please |
I was inquiring about the failed CI Job :-) Looks like the But when I run
Should I commit those as well ? |
try to run in docker install of installing swift-format locally, as you may be using a different version than the one we use
|
@tomerd thank you I think adding these to these code snippets will reduce the lisibility of the tutorial. Can I modify |
where would they be visible? |
Also, the core runtime does not compile on Swift 5.9 or Swift nightly. This should be fixed on the main branch.
|
right, but do license header show up as well? is there no way to filter them from DocC? cc @bitjammer |
yes, that should be done in a separate PR |
I just opened #304 |
The code visible in the tutorial is assembled from individual Problem : Proposed solution : add an exception for
|
I think that would be fine if we cannot find a way to tell DocC to ignore the license headers cc @franklinsch |
5.9 wanring fix: #305 |
motivation: swift 5.9 ships with builtin backtrace support \o/ changes: * remove the dependency on swift-backtrace when using swift 5.9 or above * conditionalize the call to Backtrace.install to relevant versions only
0833893
to
6e98a92
Compare
I don't believe there is a way to hide regions of code in tutorials. They use a different feature from "snippets", which do have different mechanisms for hiding regions of code. |
Will be able to merge when #307 is approved |
@swift-server-bot test this please |
improved getting started documentation, with DocC
This is proposal for a getting started documentation and step-by-step tutorial.
This complements and replaces the original PR made by @fabianfett (#261)
Motivation:
Provide a step-by-step tutorials to help new comers to get started with the Swift AWS Lambda Runtime
Modifications:
AWSLambdaRuntimeCore
. It contains a brief introduction to the project copied from the main README file) and links to other partsResult:
There is a getting started documentation !
You can see a preview at this ephemeral address : https://staging.stormacq.com/lambda-runtime-doc/documentation/awslambdaruntimecore/