Skip to content

Commit

Permalink
Do not add connector header to source and destination index pages (ai…
Browse files Browse the repository at this point in the history
  • Loading branch information
evantahler authored and jatinyadav-cc committed Feb 26, 2024
1 parent 933c84b commit e0552fa
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docusaurus/src/components/HeaderDecoration.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export const HeaderDecoration = ({
<h1 id={originalId}>
{isArchived ? (
<span>
{originalTitle} <span style={{ color: "red" }}>[ARCHIVED]</span>
{originalTitle} <span style={{ color: "gray" }}>[ARCHIVED]</span>
</span>
) : (
originalTitle
Expand Down
5 changes: 5 additions & 0 deletions docusaurus/src/remark/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ const isDocsPage = (vfile) => {
return false;
}

// skip the root files in integrations/source and integrations/destinations
if (vfile.path.includes("README.md")) {
return false;
}

if (vfile.path.includes("-migrations.md")) {
return false;
}
Expand Down

0 comments on commit e0552fa

Please sign in to comment.