Skip to content

Commit 1d64ac2

Browse files
evantahlerjatinyadav-cc
authored andcommitted
Do not add connector header to source and destination index pages (airbytehq#35553)
1 parent 74921d5 commit 1d64ac2

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

docusaurus/src/components/HeaderDecoration.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ export const HeaderDecoration = ({
8585
<h1 id={originalId}>
8686
{isArchived ? (
8787
<span>
88-
{originalTitle} <span style={{ color: "red" }}>[ARCHIVED]</span>
88+
{originalTitle} <span style={{ color: "gray" }}>[ARCHIVED]</span>
8989
</span>
9090
) : (
9191
originalTitle

docusaurus/src/remark/utils.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ const isDocsPage = (vfile) => {
88
return false;
99
}
1010

11+
// skip the root files in integrations/source and integrations/destinations
12+
if (vfile.path.includes("README.md")) {
13+
return false;
14+
}
15+
1116
if (vfile.path.includes("-migrations.md")) {
1217
return false;
1318
}

0 commit comments

Comments
 (0)