Skip to content

Commit 9bf7272

Browse files
authored
Public documentation. (awslabs#7)
* Public documentation. Add configuration to create docs and publish them. Signed-off-by: David Calavera <[email protected]> * Add documentation links to cargo. Signed-off-by: David Calavera <[email protected]>
1 parent b52703f commit 9bf7272

File tree

5 files changed

+14
-1
lines changed

5 files changed

+14
-1
lines changed

lambda-attributes/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,15 @@ name = "netlify_lambda_attributes"
33
version = "0.1.0"
44
authors = [
55
"David Barsky <[email protected]>",
6-
"David Calavera <[email protected]"
6+
"David Calavera <[email protected]>",
77
]
88
edition = "2018"
99
license = "Apache-2.0"
1010
repository = "https://github.com/netlify/aws-lambda-rust-runtime"
1111
readme = "../README.md"
1212
description = "Lambda macro attributes"
1313
keywords = ["AWS", "Lambda"]
14+
documentation = "https://rs-lambda-runtime.netlify.engineering/netlify_lambda_attributes"
1415

1516
[lib]
1617
proc-macro = true

lambda-http/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ keywords = ["AWS", "Lambda", "APIGateway", "ALB", "API"]
88
license = "Apache-2.0"
99
homepage = "https://github.com/netlify/aws-lambda-rust-runtime"
1010
readme = "../README.md"
11+
documentation = "https://rs-lambda-runtime.netlify.engineering/netlify_lambda_http"
1112

1213
[badges]
1314
maintenance = { status = "actively-developed" }

lambda/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ edition = "2018"
1010
license = "Apache-2.0"
1111
repository = "https://github.com/netlify/aws-lambda-rust-runtime"
1212
readme = "../README.md"
13+
documentation = "https://rs-lambda-runtime.netlify.engineering/netlify_lambda"
1314

1415
[features]
1516
default = ["simulated", "derive"]

netlify.toml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[build]
2+
command = "cargo doc --no-deps --all-features && cp -r target/doc _netlify_out"
3+
publish = "_netlify_out"
4+
5+
[[redirects]]
6+
from = "/"
7+
to = "/netlify_lambda_http/"
8+
status = 301
9+
force = true

rust-toolchain

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
stable

0 commit comments

Comments
 (0)