Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions stackql_cloudflare/bin/generate-docs.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ const providerDir = path.join(BASE_DIR, 'provider-dev', 'openapi', 'src', 'c
// website/docs/...
const outputDir = path.join(BASE_DIR, 'website');
const providerDataDir = path.join(BASE_DIR, 'provider-dev', 'docgen', 'provider-data');
// Repository linked from the Provider Summary on the docs landing page (the
// provider-utils --source-project row); override with SOURCE_PROJECT.
const sourceProject = process.env.SOURCE_PROJECT || 'https://github.com/stackql-registry/stackql-provider-cloudflare';

console.log(`[generate-docs] provider: ${providerDir}`);
console.log(`[generate-docs] providerData:${providerDataDir}`);
Expand All @@ -33,6 +36,7 @@ const result = await docgen.generateDocs({
providerDir,
outputDir,
providerDataDir,
sourceProject,
// Let docgen run SwaggerParser.dereference + flattenAllOf. Cloudflare's
// upstream `{accounts_or_zones}` paths (which used to crash the
// dereferencer) are now fanned out into concrete /accounts/ and /zones/
Expand Down
68 changes: 55 additions & 13 deletions stackql_cloudflare/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion stackql_cloudflare/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"dependencies": {
"@stackql/pgwire-lite": "^1.0.1",
"@stackql/provider-utils": "^0.7.5"
"@stackql/provider-utils": "^0.7.12"
},
"keywords": [
"stackql",
Expand Down
3 changes: 3 additions & 0 deletions stackql_cloudflare/website/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
.docusaurus
.cache-loader

# The shared stackql/docusaurus-config, vendored at build time
.shared-config

# Misc
.DS_Store
.env.local
Expand Down
1 change: 1 addition & 0 deletions stackql_cloudflare/website/docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ The connectivity cloud - DNS, CDN, Zero Trust, Workers, and more.

total services: __108__
total resources: __1235__
source project: __[stackql-provider-cloudflare](https://github.com/stackql-registry/stackql-provider-cloudflare)__

:::

Expand Down
Loading