Skip to content

Commit 0a83904

Browse files
dreamorosisaragerionAndrea Amorosiijemmy
authored
docs: base documentation (#250)
* Copy the base documents from Python version. All pages are removed except the 3 core utilities. They still have the Python content right now. Co-authored-by: Sara Gerion <[email protected]> Co-authored-by: Andrea Amorosi <[email protected]> Co-authored-by: ijemmy <[email protected]>
1 parent fa820ca commit 0a83904

20 files changed

+2411
-1
lines changed

.gitignore

+4-1
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,7 @@ coverage
2929
.DS_Store
3030

3131
# Visual Studio Code
32-
.vscode
32+
.vscode
33+
34+
# Python virtual environments (for running mkdocs locally)
35+
venv

CHANGELOG.md

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Changelog
2+
3+
All notable changes to this project will be documented in this file.
4+
5+
This project follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) format for changes and adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6+
7+
8+
## [Unreleased]
9+
10+
## 0.1.0
11+
12+
### Features
13+
14+
* **tracer:** beta release ([#91](https://github.com/awslabs/aws-lambda-powertools-python/issues/91))
15+
* **logger:** beta release ([#24](https://github.com/awslabs/aws-lambda-powertools-python/issues/24))
16+
* **metrics:** beta release ([#25](https://github.com/awslabs/aws-lambda-powertools-python/issues/25))

CONTRIBUTING.md

+11
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,17 @@ To send us a pull request, please follow these steps:
4646
GitHub provides an additional document on [forking a repository](https://help.github.com/articles/fork-a-repo/) and
4747
[creating a pull request](https://help.github.com/articles/creating-a-pull-request/).
4848

49+
#### Local documentation
50+
51+
You might find useful to run both the documentation website and the API reference locally while contributing:
52+
53+
* **API reference**: :construction:
54+
* **Docs website**:
55+
56+
You can build and start a local docs website by running these two commands.
57+
- `npm run docs-buildDockerImage` OR `docker build -t squidfunk/mkdocs-material ./docs/`
58+
- `npm run docs-runLocalDocker` OR `docker run --rm -it -p 8000:8000 -v ${PWD}:/docs squidfunk/mkdocs-material`
59+
4960
### Conventions
5061

5162
Category | Convention

docs/Dockerfile

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
FROM squidfunk/mkdocs-material
2+
RUN pip install mkdocs-git-revision-date-plugin

docs/changelog.md

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[comment]: <> (Includes Changelog content entire file as a snippet)
2+
--8<-- "CHANGELOG.md"

0 commit comments

Comments
 (0)