Skip to content

Commit

Permalink
refactor(docs): re-name auto generated reference files
Browse files Browse the repository at this point in the history
  • Loading branch information
eysi09 committed Nov 1, 2018
1 parent d562fe2 commit cc47d64
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion garden-service/src/docs/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
2 changes: 1 addition & 1 deletion garden-service/src/docs/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 }) => {
Expand Down

0 comments on commit cc47d64

Please sign in to comment.