Skip to content

Commit 0ffbd2e

Browse files
authored
custom integration docs (#70)
* custom integration docs * Exclude README.mdx from sync, fix App ID wording in agents * update post processing * address review * minor fix * more fixes * Update SDK documentation * Make subscribe() method public in docs * Fix docs: hide loginWithProvider, show realtime types, remove README.mdx * Remove unused Subscription type
1 parent ac0b300 commit 0ffbd2e

File tree

10 files changed

+301
-141
lines changed

10 files changed

+301
-141
lines changed
Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
{
22
"interfaces/EntitiesModule": "interfaces/EntityHandler",
3-
"type-aliases/integrations": "interfaces/CoreIntegrations"
3+
"type-aliases/integrations": [
4+
"interfaces/CoreIntegrations",
5+
"interfaces/CustomIntegrationsModule"
6+
]
47
}

scripts/mintlify-post-processing/copy-to-local-docs.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,12 @@ function main() {
248248
console.log(`Copying docs to ${sdkDocsTarget}...`);
249249
fs.cpSync(DOCS_SOURCE_PATH, sdkDocsTarget, { recursive: true });
250250

251+
// Remove README.mdx - it's not used in the docs navigation
252+
const readmePath = path.join(sdkDocsTarget, "README.mdx");
253+
if (fs.existsSync(readmePath)) {
254+
fs.rmSync(readmePath, { force: true });
255+
}
256+
251257
// Scan the sdk-docs directory
252258
const sdkFiles = scanSdkDocs(sdkDocsTarget);
253259
console.debug(`SDK files: ${JSON.stringify(sdkFiles, null, 2)}`);

0 commit comments

Comments
 (0)