Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Docs: Temp remove realtime mention in python ref docs (#18183)

Greg Richardson5e590ee999a4
diff --git a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.utils.ts b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.utils.ts
index 18aec08d326..6181b97204a 100644
--- a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.utils.ts
+++ b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.utils.ts
@@ -17,12 +17,19 @@ export function deepFilterSections<T extends ICommonItem>(
section.type === 'markdown' ||
specFunctionIds.includes(section.id)
)
- .map((section) => {
+ .flatMap((section) => {
if ('items' in section) {
- return {
- ...section,
- items: deepFilterSections(section.items, specFunctionIds),
+ const items = deepFilterSections(section.items, specFunctionIds)
+
+ // Only include this category (heading) if it has subitems
+ if (items.length > 0) {
+ return {
+ ...section,
+ items,
+ }
}
+
+ return []
}
return section
})
diff --git a/spec/supabase_py_v2.yml b/spec/supabase_py_v2.yml
index 7639d6e450a..96b1752b78f 100644
--- a/spec/supabase_py_v2.yml
+++ b/spec/supabase_py_v2.yml
@@ -1988,7 +1988,3 @@ functions:
```
res = supabase.storage.from_('bucket_name').list()
```
- - id: subscribe
- title: on().subscribe()
- notes: |
- - We are implementing this feature at the moment. If you have queries feel free to open an issue on the [realtime-py](https://github.com/supabase-community/realtime-py) repository.