Skip to content

Commit

Permalink
📚 docs: Allow visitors to request ERDs (airbytehq#45694)
Browse files Browse the repository at this point in the history
  • Loading branch information
letiescanciano authored Oct 10, 2024
1 parent b051802 commit 13b158e
Show file tree
Hide file tree
Showing 13 changed files with 619 additions and 37 deletions.
1 change: 1 addition & 0 deletions docusaurus/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
REQUEST_ERD_API_URL=
2 changes: 2 additions & 0 deletions docusaurus/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@

# Misc
.DS_Store
.env
.env.local
.env
.env.development.local
.env.test.local
.env.production.local
Expand Down
6 changes: 4 additions & 2 deletions docusaurus/docusaurus.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// @ts-check
// Note: type annotations allow type checking and IDEs autocompletion

import "dotenv/config.js";
const yaml = require("js-yaml");
const fs = require("node:fs");
const path = require("node:path");
Expand Down Expand Up @@ -78,7 +78,9 @@ const config = {
},
}),
],

customFields: {
requestErdApiUrl: process.env.REQUEST_ERD_API_URL,
},
clientModules: [
require.resolve("./src/scripts/cloudStatus.js"),
require.resolve("./src/scripts/download-abctl-buttons.js"),
Expand Down
3 changes: 2 additions & 1 deletion docusaurus/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@
"@fortawesome/free-regular-svg-icons": "^6.5.1",
"@fortawesome/free-solid-svg-icons": "^6.5.1",
"@fortawesome/react-fontawesome": "^0.2.0",
"@headlessui/react": "^1.7.18",
"@headlessui/react": "^2.1.9",
"@mdx-js/react": "^3.0.0",
"async": "2.6.4",
"autoprefixer": "10.4.16",
Expand All @@ -106,6 +106,7 @@
"del": "6.1.1",
"docusaurus-plugin-hubspot": "^1.0.0",
"docusaurus-plugin-segment": "^1.0.3",
"dotenv": "^16.4.5",
"html-loader": "^4.2.0",
"js-yaml": "^4.1.0",
"json-schema-faker": "^0.5.4",
Expand Down
177 changes: 156 additions & 21 deletions docusaurus/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 13b158e

Please sign in to comment.