mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-25 04:20:02 +00:00
Clean code
This commit is contained in:
@@ -6,7 +6,7 @@ async function generate() {
|
||||
const out = 'content/docs/httpx';
|
||||
await rimraf(out);
|
||||
|
||||
const content = JSON.parse((await fs.readFile('./httpx.json')).toString());
|
||||
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'));
|
||||
|
||||
Reference in New Issue
Block a user