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