docs: don't link to database engine pages (#11242)

* docs: don't link to database engine pages

* making the linter happy

* updating database installation link

Co-authored-by: Evan Rusackas <evan@preset.io>
This commit is contained in:
Maxime Beauchemin 2020-10-13 14:10:06 -07:00 committed by GitHub
parent 31cc4155b7
commit 8676c3ebd6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 32 additions and 39 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.5 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 29 KiB

After

Width:  |  Height:  |  Size: 28 KiB

View File

@ -190,8 +190,8 @@ const integrationSection = css`
flex-wrap: wrap;
justify-content: space-around;
margin-bottom: 50px;
a {
margin: 15px;
li {
padding: 15px;
}
}
`;
@ -275,6 +275,7 @@ const Feature = ({ icon, title, descr }: featureProps) => (
</div>
</li>
);
const Theme = () => {
const config = useConfig();
const slider = useRef(null);
@ -445,44 +446,36 @@ const Theme = () => {
</div>
</Carousel>
</div>
</div>
<div css={integrationSection}>
<h2 css={secondaryHeading}>Supported Databases</h2>
<div css={integrationSection}>
<h2 css={secondaryHeading}>Supported Databases</h2>
<ul className="database-list">
{Databases.map(
({
title, href, imgName: imageName, width, height,
}) => (
<a
href={href}
target="_blank"
key={imageName}
rel="noreferrer nofollow"
>
<DbImage
{...{
imageName,
width,
height,
alt: title,
}}
/>
</a>
),
)}
</ul>
<span className="databaseSub">
{' '}
... and any other SQLAlchemy
{' '}
<a href="https://superset.incubator.apache.org/installation.html#database-dependencies">
{' '}
compatible databases
{' '}
</a>
{' '}
</span>
<ul className="database-list">
{Databases.map(
({
title, imgName: imageName, width, height,
}) => (
<li>
<DbImage
{...{
imageName,
width,
height,
alt: title,
}}
/>
</li>
),
)}
</ul>
<span className="databaseSub">
... and any other
<a href="https://superset.apache.org/docs/databases/installing-database-drivers">
{' '}
compatible databases
{' '}
</a>
</span>
</div>
</div>
</div>
</Layout>