Files
zooqueenandHanzo Dev 685c94fd09
Hanzo CI/CD / test (linux-arm64) (push) Skipped
Hanzo CI/CD / test (linux-amd64) (push) Skipped
Hanzo CI/CD / test-advisory (push) Skipped
Release / Release (push) Failing after 3m46s
Hanzo CI/CD / test-amd64 (push) Failing after 5m53s
Hanzo CI/CD / cicd (push) Skipped
Hanzo CI/CD / verify (push) Skipped
Deploy Zen Docs / deploy (push) Failing after 6m11s
CI/CD / cicd (push) Failing after 5m56s
Deploy ZT Docs / deploy (push) Failing after 5m26s
Deploy Cloud Landing Page / deploy (push) Failing after 6m38s
Deploy Base Docs / deploy (push) Failing after 7m3s
Deploy Insights Docs / deploy (push) Failing after 9m13s
Deploy Bootnode Docs / deploy (push) Failing after 10m32s
Deploy Dev Docs / deploy (push) Failing after 10m56s
Deploy Bot Docs / deploy (push) Failing after 17m41s
refactor(ts): standardize scripts, helpers, and Next configs to .ts
Co-authored-by: Hanzo Dev <[email protected]>
2026-11-10 18:49:10 -08:00

20 lines
493 B
TypeScript

import { rimraf } from 'rimraf';
import * as Python from '@hanzo/docs-python';
import * as fs from 'node:fs/promises';
async function generate() {
const out = 'content/docs/httpx';
await rimraf(out);
const content = JSON.parse(await fs.readFile('./httpx.json', 'utf-8'));
const converted = Python.convert(content, {
baseUrl: '/docs',
}).filter((file) => !file.path.startsWith('httpx/_transports'));
await Python.write(converted, {
outDir: out,
});
}
void generate();