diff --git a/docs/content/index.mdx b/docs/content/index.mdx index df30d6cb4..7fa6236ce 100644 --- a/docs/content/index.mdx +++ b/docs/content/index.mdx @@ -3,8 +3,15 @@ title: Homepage description: AWS Lambda Powertools Java --- +import Note from "../src/components/Note" + 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. + + Looking for a quick run through of the core utilities?

+ Check out this detailed blog post with a practical example. +
+ ## Install Powertools dependencies are available in Maven Central. You can use your favourite dependency management tool to install it diff --git a/docs/src/gatsby-theme-apollo-docs/components/page-content.js b/docs/src/gatsby-theme-apollo-docs/components/page-content.js index 3c752c478..a495f02f7 100644 --- a/docs/src/gatsby-theme-apollo-docs/components/page-content.js +++ b/docs/src/gatsby-theme-apollo-docs/components/page-content.js @@ -1,5 +1,5 @@ import PropTypes from 'prop-types'; -import React, { useRef, useState } from 'react'; +import { useRef, useState } from 'react'; import SectionNav from './section-nav'; import styled from '@emotion/styled'; import useMount from 'react-use/lib/useMount'; @@ -179,7 +179,9 @@ export default function PageContent(props) { ); }); - const githubUrl = props.githubUrl.replace("master", "master/docs") + const githubUrl = props.githubUrl.replace("tree/", "blob/") + .replace("/content/", "/docs/content/") + const editLink = githubUrl && ( Edit on GitHub