From cc47d644903534181ef7e604b58cb5dcab32dd7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ey=C3=BE=C3=B3r=20Magn=C3=BAsson?= Date: Wed, 31 Oct 2018 12:19:19 +0100 Subject: [PATCH] refactor(docs): re-name auto generated reference files --- garden-service/src/docs/commands.ts | 2 +- garden-service/src/docs/config.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/garden-service/src/docs/commands.ts b/garden-service/src/docs/commands.ts index ee74ea22c6..74eb0f3929 100644 --- a/garden-service/src/docs/commands.ts +++ b/garden-service/src/docs/commands.ts @@ -19,7 +19,7 @@ import { describeParameters } from "../commands/base" export function generateCommandReferenceDocs(docsRoot: string) { const referenceDir = resolve(docsRoot, "reference") - const outputPath = resolve(referenceDir, "commands.md") + const outputPath = resolve(referenceDir, "command-reference.md") const commands = flatten(coreCommands.map(cmd => { if (cmd.subCommands && cmd.subCommands.length) { diff --git a/garden-service/src/docs/config.ts b/garden-service/src/docs/config.ts index 4e3ba79439..8ba204dee3 100644 --- a/garden-service/src/docs/config.ts +++ b/garden-service/src/docs/config.ts @@ -169,7 +169,7 @@ export function renderSchemaDescription(description: Joi.Description, opts: Rend export function generateConfigReferenceDocs(docsRoot: string) { const referenceDir = resolve(docsRoot, "reference") - const outputPath = resolve(referenceDir, "config.md") + const outputPath = resolve(referenceDir, "config-files-reference.md") const yaml = renderSchemaDescription(configSchema.describe(), { required: true }) const moduleTypes = builtInModuleTypes.map(({ name, schema }) => {