Skip to content

Docs update #197

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 2 commits into from
Nov 26, 2020
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
7 changes: 7 additions & 0 deletions docs/content/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.

<Note type="info">
<strong>Looking for a quick run through of the core utilities?</strong><br/><br/>
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.
</Note>

## Install

Powertools dependencies are available in Maven Central. You can use your favourite dependency management tool to install it
Expand Down
6 changes: 4 additions & 2 deletions docs/src/gatsby-theme-apollo-docs/components/page-content.js
Original file line number Diff line number Diff line change
@@ -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';
Expand Down Expand Up @@ -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 && (
<AsideLink href={githubUrl}>
<IconGithub /> Edit on GitHub
Expand Down