mirror of
https://github.com/supabase/supabase.git
synced 2026-10-09 03:15:06 +03:00
* removes all generated files * ignore all generated files * moves the docs generator into docusaurus * clean up old files from the generator * generator -> parser * Adds the latest spec * fixing generated path * updates specs * delete generated files * keep the generated folder * keep generated folder * Adds a dart generator * Addds new auth doc for Dart v1 * Adds postgrest method in Dart doc * Adds realtime docs to Dart v1 * Adds storage docs to Dart doc * Adds filters and modifiers to Dart docs spec file * fix: label used in dart sidebar to match spec file for Dart docs * final items for generator * Adds a build command * Adds typescript * fix broken links * fix build * fix import error * lowercase helpers * clean missing file Co-authored-by: dshukertjr <18113850+dshukertjr@users.noreply.github.com>
42 lines
862 B
TypeScript
42 lines
862 B
TypeScript
const template = `
|
|
---
|
|
id: config
|
|
slug: /config
|
|
title: Configuration
|
|
toc_max_heading_level: 3
|
|
---
|
|
|
|
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->
|
|
|
|
<%= info.description %>
|
|
|
|
<% sections.forEach(function(section){ %>
|
|
|
|
<!-- AUTOGENERATED: DO NOT EDIT DIRECTLY -->
|
|
|
|
## <%= section.title %> {#<%= section.id %>}
|
|
|
|
<% section.parameters.forEach(function(parameter){ %>
|
|
|
|
### \`<%- parameter.title %>\` {#<%= parameter.id %>}
|
|
|
|
<%- parameter.description %>
|
|
|
|
<ul>
|
|
<li>Required: <code><%= parameter.required %></code></li>
|
|
<li>Default: <code><%- parameter?.default ? parameter?.default : 'None' %></code></li><% if(parameter?.links?.length){ %>
|
|
<li>
|
|
<span>See also:</span>
|
|
<ul><% parameter.links?.forEach(function(link){ %><li><a href="<%- link.link %>"><%- link.name %></a></li><% }); %></ul>
|
|
</li>
|
|
<% } %>
|
|
</ul>
|
|
|
|
<br />
|
|
<% }); %>
|
|
|
|
<% }); %>
|
|
`.trim()
|
|
|
|
export default template
|