Skip to content

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

chore: document atomic function.enabled config flag (#29355)

Andrew Valleteau1b27b561a2ed
diff --git a/apps/docs/spec/cli_v1_config.yaml b/apps/docs/spec/cli_v1_config.yaml
index 6c3efb8b287..73aebe43434 100644
--- a/apps/docs/spec/cli_v1_config.yaml
+++ b/apps/docs/spec/cli_v1_config.yaml
@@ -760,6 +760,20 @@ parameters:
- name: 'Auth Server configuration'
link: 'https://supabase.com/docs/reference/auth'
+ - id: 'functions.function_name.enabled'
+ title: 'functions.<function_name>.enabled'
+ tags: ['edge-functions']
+ required: false
+ default: 'true'
+ description: |
+ Controls whether a function is deployed or served. When set to false,
+ the function will be skipped during deployment and won't be served locally.
+ This is useful for disabling demo functions or temporarily disabling a function
+ without removing its code.
+ links:
+ - name: '`supabase functions` CLI subcommands'
+ link: 'https://supabase.com/docs/reference/cli/supabase-functions'
+
- id: 'functions.function_name.verify_jwt'
title: 'functions.<function_name>.verify_jwt'
tags: ['edge-functions']