Skip to content

Commit 2633445

Browse files
Docs update (#197)
1 parent e31d6fe commit 2633445

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

docs/content/index.mdx

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

6+
import Note from "../src/components/Note"
7+
68
Powertools is a suite of utilities for AWS Lambda Functions that makes tracing with AWS X-Ray, structured logging and creating custom metrics asynchronously easier.
79

10+
<Note type="info">
11+
<strong>Looking for a quick run through of the core utilities?</strong><br/><br/>
12+
Check out <a href="https://aws.amazon.com/blogs/opensource/simplifying-serverless-best-practices-with-aws-lambda-powertools-java/">this detailed blog post</a> with a practical example.
13+
</Note>
14+
815
## Install
916

1017
Powertools dependencies are available in Maven Central. You can use your favourite dependency management tool to install it

docs/src/gatsby-theme-apollo-docs/components/page-content.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import PropTypes from 'prop-types';
2-
import React, { useRef, useState } from 'react';
2+
import { useRef, useState } from 'react';
33
import SectionNav from './section-nav';
44
import styled from '@emotion/styled';
55
import useMount from 'react-use/lib/useMount';
@@ -179,7 +179,9 @@ export default function PageContent(props) {
179179
);
180180
});
181181

182-
const githubUrl = props.githubUrl.replace("master", "master/docs")
182+
const githubUrl = props.githubUrl.replace("tree/", "blob/")
183+
.replace("/content/", "/docs/content/")
184+
183185
const editLink = githubUrl && (
184186
<AsideLink href={githubUrl}>
185187
<IconGithub /> Edit on GitHub

0 commit comments

Comments
 (0)