forked from datahub-project/datahub
-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(react): include flow diagram in docs build (datahub-project#9785)
- v0.15.0.2rc7
- v0.15.0.2rc6
- v0.15.0.2rc5
- v0.15.0.2rc4
- v0.15.0.2rc3
- v0.15.0.2rc2
- v0.15.0.2rc1
- v0.15.0.1
- v0.15.0.1rc17
- v0.15.0.1rc16
- v0.15.0.1rc15
- v0.15.0.1rc14
- v0.15.0.1rc13
- v0.15.0.1rc12
- v0.15.0.1rc11
- v0.15.0.1rc10
- v0.15.0.1rc9
- v0.15.0.1rc8
- v0.15.0.1rc7
- v0.15.0.1rc6
- v0.15.0.1rc5
- v0.15.0.1rc4
- v0.15.0.1rc3
- v0.15.0.1rc2
- v0.15.0.1rc1
- v0.15.0
- v0.15.0rc25
- v0.15.0rc24
- v0.15.0rc23
- v0.15.0rc22
- v0.15.0rc21
- v0.15.0rc20
- v0.15.0rc19
- v0.15.0rc18
- v0.15.0rc17
- v0.15.0rc16
- v0.15.0rc15
- v0.15.0rc14
- v0.15.0rc13
- v0.15.0rc12
- v0.15.0rc11
- v0.15.0rc10
- v0.15.0rc9
- v0.15.0rc8
- v0.15.0rc7
- v0.15.0rc6
- v0.15.0rc5
- v0.15.0rc4
- v0.15.0rc3
- v0.15.0rc2
- v0.15.0rc1
- v0.14.1.13rc9
- v0.14.1.13rc8
- v0.14.1.13rc7
- v0.14.1.13rc6
- v0.14.1.13rc5
- v0.14.1.13rc4
- v0.14.1.13rc3
- v0.14.1.13rc2
- v0.14.1.13rc1
- v0.14.1.12
- v0.14.1.12rc5
- v0.14.1.12rc4
- v0.14.1.12rc3
- v0.14.1.12rc2
- v0.14.1.12rc1
- v0.14.1.11
- v0.14.1.11rc1
- v0.14.1.10
- v0.14.1.10rc1
- v0.14.1.9
- v0.14.1.9rc1
- v0.14.1.8
- v0.14.1.8rc1
- v0.14.1.7
- v0.14.1.7rc3
- v0.14.1.7rc2
- v0.14.1.7rc1
- v0.14.1.6
- v0.14.1.6rc2
- v0.14.1.6rc1
- v0.14.1.5
- v0.14.1.5rc1
- v0.14.1.4rc3
- v0.14.1.4rc2
- v0.14.1.4rc1
- v0.14.1.3
- v0.14.1.3rc5
- v0.14.1.3rc4
- v0.14.1.3rc3
- v0.14.1.3rc2
- v0.14.1.3rc1
- v0.14.1.2
- v0.14.1.2rc1
- v0.14.1.1
- v0.14.1.1rc6
- v0.14.1.1rc5
- v0.14.1.1rc4
- v0.14.1.1rc3
- v0.14.1.1rc2
- v0.14.1.1rc1
- v0.14.1
- v0.14.1rc4
- v0.14.1rc3
- v0.14.1rc2
- v0.14.1rc1
- v0.14.0.6rc3
- v0.14.0.6rc2
- v0.14.0.6rc1
- v0.14.0.5
- v0.14.0.5rc6
- v0.14.0.5rc5
- v0.14.0.5rc4
- v0.14.0.5rc3
- v0.14.0.5rc2
- v0.14.0.5rc1
- v0.14.0.4
- v0.14.0.4rc1
- v0.14.0.3
- v0.14.0.3rc4
- v0.14.0.3rc3
- v0.14.0.3rc2
- v0.14.0.3rc1
- v0.14.0.2
- v0.14.0.2rc3
- v0.14.0.2rc2
- v0.14.0.2rc1
- v0.14.0.1
- v0.14.0.1rc1
- v0.14.0
- v0.14.0rc1
- v0.13.3.7rc3
- v0.13.3.7rc2
- v0.13.3.7rc1
- v0.13.3.6
- v0.13.3.6rc3
- v0.13.3.6rc2
- v0.13.3.6rc1
- v0.13.3.5
- v0.13.3.5rc6
- v0.13.3.5rc5
- v0.13.3.5rc4
- v0.13.3.5rc3
- v0.13.3.5rc2
- v0.13.3.5rc1
- v0.13.3.4
- v0.13.3.4rc7
- v0.13.3.4rc6
- v0.13.3.4rc5
- v0.13.3.4rc4
- v0.13.3.4rc3
- v0.13.3.4rc2
- v0.13.3.4rc1
- v0.13.3.3
- v0.13.3.3rc4
- v0.13.3.3rc3
- v0.13.3.3rc2
- v0.13.3.3rc1
- v0.13.3.2
- v0.13.3.1
- v0.13.3.1rc6
- v0.13.3.1rc5
- v0.13.3.1rc4
- v0.13.3.1rc3
- v0.13.3.1rc2
- v0.13.3.1rc1
- v0.13.3
- v0.13.3rc17
- v0.13.3rc16
- v0.13.3rc15
- v0.13.3rc14
- v0.13.3rc13
- v0.13.3rc12
- v0.13.3rc11
- v0.13.3rc10
- v0.13.3rc9
- v0.13.3rc8
- v0.13.3rc7
- v0.13.3rc6
- v0.13.3rc5
- v0.13.3rc4
- v0.13.3rc3
- v0.13.3rc2
- v0.13.3rc1
- v0.13.2.5rc2
- v0.13.2.5rc1
- v0.13.2.4
- v0.13.2.4rc2
- v0.13.2.4rc1
- v0.13.2.3
- v0.13.2.3rc1
- v0.13.2.2
- v0.13.2.2rc3
- v0.13.2.2rc2
- v0.13.2.2rc1
- v0.13.2.1
- v0.13.2.1rc3
- v0.13.2.1rc2
- v0.13.2.1rc1
- v0.13.2
- v0.13.1.4rc4
- v0.13.1.4rc3
- v0.13.1.4rc2
- v0.13.1.4rc1
- v0.13.1.3
- v0.13.1.3rc17
- v0.13.1.3rc16
- v0.13.1.3rc15
- v0.13.1.3rc14
- v0.13.1.3rc13
- v0.13.1.3rc12
- v0.13.1.3rc11
- v0.13.1.3rc10
- v0.13.1.3rc9
- v0.13.1.3rc8
- v0.13.1.3rc7
- v0.13.1.3rc6
- v0.13.1.3rc5
- v0.13.1.3rc4
- v0.13.1.3rc3
- v0.13.1.3rc2
- v0.13.1.3rc1
- v0.13.1.2
- v0.13.1.1
- v0.13.1
- v0.13.1rc6
- v0.13.1rc5
- v0.13.1rc4
- v0.13.1rc3
- v0.13.1rc2
- v0.13.1rc1
- v0.13.0
- v0.13.0rc1
- v0.12.1.6rc7
- 0.14.1.5rc1
- 0.14.1.4
Showing
2 changed files
with
34 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
import React from "react"; | ||
import useDocusaurusContext from "@docusaurus/useDocusaurusContext"; | ||
import Layout from "@theme/Layout"; | ||
import Image from "@theme/IdealImage"; | ||
|
||
function DisplayImageHack() { | ||
// Needed because the datahub-web-react app used to directly link to this image. | ||
// See https://github.com/datahub-project/datahub/pull/9785 | ||
|
||
const context = useDocusaurusContext(); | ||
const { siteConfig } = context; | ||
|
||
return ( | ||
<Layout | ||
title={siteConfig.tagline} | ||
description="DataHub is a data discovery application built on an extensible metadata platform that helps you tame the complexity of diverse data ecosystems." | ||
> | ||
<Image | ||
className="hero__image" | ||
img={require(`/img/diagrams/datahub-flow-diagram-light.png`)} | ||
alt="DataHub Flow Diagram" | ||
/> | ||
<Image | ||
className="hero__image" | ||
img={require(`/img/diagrams/datahub-flow-diagram-dark.png`)} | ||
alt="DataHub Flow Diagram" | ||
/> | ||
</Layout> | ||
); | ||
} | ||
|
||
export default DisplayImageHack; |