1
0
mirror of synced 2025-12-19 18:14:56 -05:00

7 Commits

Author SHA1 Message Date
devin-ai-integration[bot]
2871a35523 docs(destination-postgres): add migration guide to sidebar (#70825)
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: ian.alton@airbyte.io <ian.alton@airbyte.io>
2025-12-09 23:52:01 +00:00
letiescanciano
72b6301730 chore(docs): upgrade Docosaurus to 3.9.2 with Rspack and SWC optimizations (#68600) 2025-10-24 07:43:39 +02:00
Ian Alton
f3c5ac2e07 feat: Support migration guides for enterprise connectors (#67615)
## What
<!--
* Describe what the change is solving. Link all GitHub issues related to
this change.
-->

This PR adds support for migration guides on enterprise connectors.

<img width="1920" height="883" alt="image"
src="https://github.com/user-attachments/assets/8a94d7a7-e390-4460-900c-bfaf000e6f0b"
/>

## How
<!--
* Describe how code changes achieve the solution.
-->

Updated filtering logic to support top-level `id` as well as nested
`link.id`.

The existing filtering logic for enterprise connectors in the sidebar
did not expect nested migration guides. The reason is because the
getFilenamesInDir() function returns two different object structures.

Simple doc (no migration file): { type: "doc", id: "...", label: "..." }
- has id at top level
Category with migration doc: { type: "category", label: "...", link: {
id: "..." }, items: [...] } - has id nested in link.id

@darynaishchenko discovered during work on
https://github.com/airbytehq/airbyte/pull/67214 that all builds failed
when a migration guide was added to an enterprise connector.

## Review guide

1. Review the logic in the sidebar filtering code.
2. There is currently no migration guide in master to test this on, but
I did test this fix with Darnya's PR and it built correctly with the
updated code. You can simulate a migration guide by adding a dummy
`<connector_filename>-migrations.md` doc for an enterprise connector. At
build time it should nest appropriately under its parent object.

## User Impact
<!--
* What is the end result perceived by the user?
* If there are negative side effects, please list them. 
-->

Enterprise customers can have migration guides too.

## Can this PR be safely reverted and rolled back?
<!--
* If unsure, leave it blank.
-->
- [x] YES 💚
- [ ] NO 
2025-10-13 18:11:36 +02:00
Ian Alton
297ee3aaaa Docs for speed in 1.8 (#64535) 2025-08-08 14:20:57 -07:00
Ian Alton
45a4de8555 Update logic sidebar uses to determine how connectors are categorized (#60233)
Co-authored-by: letiescanciano <leticia.escanciano@gmail.com>
2025-05-21 11:14:25 +02:00
letiescanciano
ad166066c6 feat(docs): separate Airbyte connectors and community connectors in sidebar (#55820) 2025-05-09 07:17:19 +02:00
Ian Alton
01cd16654e 11059 multi-instance, versioned docs (#58095)
Co-authored-by: devin-ai-integration[bot] <158243242+devin-ai-integration[bot]@users.noreply.github.com>
2025-04-24 02:58:09 +03:00