Skip to content

chore(docs): add docs/snippets to npm workspace #1251

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

Merged
merged 3 commits into from
Jan 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
FROM squidfunk/mkdocs-material
RUN pip install mkdocs-git-revision-date-plugin mkdocs-glightbox
RUN pip install mkdocs-git-revision-date-plugin==0.3.2 mkdocs-exclude==1.0.2
3 changes: 2 additions & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
mike==1.1.2
mkdocs-material==9.0.2
mkdocs-git-revision-date-plugin==0.3.2
mkdocs-git-revision-date-plugin==0.3.2
mkdocs-exclude==1.0.2
32 changes: 32 additions & 0 deletions docs/snippets/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"name": "docs",
"version": "0.0.1",
"description": "A collection code snippets for the AWS Lambda Powertools for TypeScript docs",
"author": {
"name": "Amazon Web Services",
"url": "https://aws.amazon.com"
},
"scripts": {
"test": "echo 'Not Applicable'",
"test:e2e": "echo 'Not Applicable'",
"build": "echo 'Not Applicable'",
"lint": "echo 'Not Applicable'",
"lint-fix": "echo 'Not Applicable'"
},
"license": "MIT-0",
"repository": {
"type": "git",
"url": "git+https://github.com/awslabs/aws-lambda-powertools-typescript.git"
},
"bugs": {
"url": "https://github.com/awslabs/aws-lambda-powertools-typescript/issues"
},
"homepage": "https://github.com/awslabs/aws-lambda-powertools-typescript#readme",
"devDependencies": {
"@aws-sdk/client-appconfigdata": "^3.245.0",
"@aws-sdk/client-dynamodb": "^3.245.0",
"@aws-sdk/client-secrets-manager": "^3.250.0",
"@aws-sdk/client-ssm": "^3.245.0",
"@aws-sdk/util-dynamodb": "^3.245.0"
}
}
4 changes: 4 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,10 @@ copyright: Copyright © 2023 Amazon Web Services
plugins:
- git-revision-date
- search
- exclude:
glob:
- snippets/node_modules/*
- snippets/package.json

extra_css:
- stylesheets/extra.css
Expand Down
Loading