Skip to content

Commit

Permalink
docs: don't link to database engine pages (apache#11242)
Browse files Browse the repository at this point in the history
* docs: don't link to database engine pages

* making the linter happy

* updating database installation link

Co-authored-by: Evan Rusackas <evan@preset.io>
  • Loading branch information
mistercrunch and rusackas authored Oct 13, 2020
1 parent 31cc415 commit 8676c3e
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 39 deletions.
Binary file modified docs/src/images/databases/apache-kylin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/src/images/databases/clickhouse.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/src/images/databases/firebird.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/src/images/databases/oraclelogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
71 changes: 32 additions & 39 deletions docs/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,8 @@ const integrationSection = css`
flex-wrap: wrap;
justify-content: space-around;
margin-bottom: 50px;
a {
margin: 15px;
li {
padding: 15px;
}
}
`;
Expand Down Expand Up @@ -275,6 +275,7 @@ const Feature = ({ icon, title, descr }: featureProps) => (
</div>
</li>
);

const Theme = () => {
const config = useConfig();
const slider = useRef(null);
Expand Down Expand Up @@ -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>
Expand Down

0 comments on commit 8676c3e

Please sign in to comment.