Skip to content

Commit 8781859

Browse files
committed
Add old version banner override. Remove preview wording.
1 parent 60e689b commit 8781859

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

docs/index.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,6 @@ title: Homepage
33
description: Powertools for AWS Lambda (Java)
44
---
55

6-
![aws provider](https://img.shields.io/badge/provider-AWS-orange?logo=amazon-aws&color=ff9900) ![Build status](https://github.com/aws-powertools/powertools-lambda-java/actions/workflows/publish-v2-snapshot.yml/badge.svg) ![Maven Central](https://img.shields.io/maven-metadata/v?metadataUrl=https%3A%2F%2Faws.oss.sonatype.org%2Fcontent%2Frepositories%2Fsnapshots%2Fsoftware%2Famazon%2Flambda%2Fpowertools-parent%2Fmaven-metadata.xml
7-
)
8-
9-
???+ warning
10-
You are browsing the documentation for Powertools for AWS Lambda (Java) - v2. This is a snapshot release and not stable!
11-
Check out our stable [v1](https://docs.powertools.aws.dev/lambda/java/) documentation if this is not what you wanted.
12-
The v2 maven snapshot repository can be found [here](https://aws.oss.sonatype.org/content/repositories/snapshots/software/amazon/lambda/) .
13-
146
Powertools for AWS Lambda (Java) is a suite of utilities for AWS Lambda Functions that makes tracing with AWS X-Ray, structured logging and creating custom metrics asynchronously easier.
157

168
???+ tip

docs/overrides/main.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{% extends "base.html" %}
2+
3+
{% block outdated %}
4+
You're not viewing the latest version.
5+
<a href="{{ '../' ~ base_url }}">
6+
<strong>Click here to go to latest.</strong>
7+
</a>
8+
{% endblock %}

mkdocs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
site_name: Powertools for AWS Lambda (Java) Preview
2-
site_description: Powertools for AWS Lambda (Java) Preview
1+
site_name: Powertools for AWS Lambda (Java)
2+
site_description: Powertools for AWS Lambda (Java)
33
site_author: Amazon Web Services
4-
site_url: https://docs.powertools.aws.dev/lambda/java/preview/
4+
site_url: https://docs.powertools.aws.dev/lambda/java/
55
nav:
66
- Homepage: index.md
77
- Changelog: changelog.md

0 commit comments

Comments
 (0)