Skip to content

Commit

Permalink
chore: Remove related resources component
Browse files Browse the repository at this point in the history
  • Loading branch information
LizBaker committed Jan 26, 2022
1 parent f9b0698 commit 4e5b30f
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/templates/docPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import MDXContainer from '../components/MDXContainer';
import {
ContributingGuidelines,
Layout,
RelatedResources,
SimpleFeedback,
TableOfContents,
} from '@newrelic/gatsby-theme-newrelic';
Expand All @@ -25,7 +24,6 @@ const BasicDoc = ({ data, location, pageContext }) => {
mdxAST,
body,
fields: { fileRelativePath },
relatedResources,
} = mdx;
const { disableSwiftype } = pageContext;

Expand Down Expand Up @@ -109,12 +107,6 @@ const BasicDoc = ({ data, location, pageContext }) => {
/>
)}
<TableOfContents headings={headings} />
<RelatedResources
resources={relatedResources}
css={css`
border-top: 1px solid var(--divider-color);
`}
/>
</Layout.PageTools>
</div>
</>
Expand Down Expand Up @@ -142,10 +134,6 @@ export const pageQuery = graphql`
fields {
fileRelativePath
}
relatedResources(limit: 3) {
title
url
}
...TableOfContents_page
}
...MainLayout_query
Expand Down

0 comments on commit 4e5b30f

Please sign in to comment.