Skip to content

Commit c721ac1

Browse files
committed
Update docs
1 parent 0dd002d commit c721ac1

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

docs/00-setup.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
layout: page
33
title: Setup
4-
permalink: /lambda-layer-canvas-nodejs/setup/
4+
permalink: /setup/
55
---
66

77
## Prerequisites
@@ -42,7 +42,7 @@ Once you have your AWS account ready, there are two ways to deploy [lambda-layer
4242

4343
### Using canvas layer
4444

45-
After the deployment is completed, you may refer [usage example]({% link 01-use.md %}) and follow the example where a Lambda function uses the canvas layer to generate PNG graphic with colored text and circle rendered.
45+
After the deployment is completed, you may refer [usage example]({{ site.baseurl }}{% link 01-use.md %}) and follow the example where a Lambda function uses the canvas layer to generate PNG graphic with colored text and circle rendered.
4646

4747
## Setup environment to build the layer
4848

docs/01-use.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
layout: page
33
title: Use
4-
permalink: /lambda-layer-canvas-nodejs/use/
4+
permalink: /use/
55
---
66

77
## Using canvas layer in function
88

9-
Before starting to use the canvas layer, it is required to have the layer deployed through AWS Serverless Application Repository or AWS Lambda console, you may refer [setup information]({% link 00-setup.md %}) for details. Then, you may create your Lambda function using:
9+
Before starting to use the canvas layer, it is required to have the layer deployed through AWS Serverless Application Repository or AWS Lambda console, you may refer [setup information]({{ site.baseurl }}{% link 00-setup.md %}) for details. Then, you may create your Lambda function using:
1010

1111
* AWS Lambda console editor; or
1212
* Local tool in your machine; or

docs/_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ title: Canvas Layer for AWS Lambda
22
description: >
33
Cairo backed Mozilla Web Canvas API implementation layer for AWS Lambda
44
theme: minima
5+
baseurl: /lambda-layer-canvas-nodejs
56
minima:
67
social_links:
78
- { platform: github, user_url: "https://github.com/charoitel/lambda-layer-canvas-nodejs" }

0 commit comments

Comments
 (0)