mirror of
https://github.com/Dokploy/website.git
synced 2026-07-17 03:45:31 +02:00
chore: update OpenAPI documentation paths and enhance references
- Changed input path for documentation generation from './api.json' to '../../public/openapi.json'. - Updated multiple generated documentation files to reference the new OpenAPI document path. - Added new documentation files for 'Environment', 'Gitea', 'Organization', 'Preview Deployment', 'Rollback', 'Schedule', 'Swarm', and 'Volume Backups'. - Enhanced existing documentation with additional endpoints and improved structure for clarity.
This commit is contained in:
@@ -2,7 +2,7 @@ import { generateFiles } from "fumadocs-openapi";
|
||||
|
||||
try {
|
||||
void generateFiles({
|
||||
input: ["./api.json"],
|
||||
input: ["../../public/openapi.json"],
|
||||
output: "./content/docs/api/generated",
|
||||
per: "tag",
|
||||
name: (tag, name) => {
|
||||
@@ -10,6 +10,7 @@ try {
|
||||
return `reference-${name}`;
|
||||
},
|
||||
});
|
||||
console.log("Done");
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user