Skip to content

Incorrect file name for markdown commands #638

@Turtle-In-Space

Description

@Turtle-In-Space

Bashly Version

Latest Ruby Gem

Description

When creating markdown files with render :markdown, the links in the index.md file does not contain the extension ".md". Resulting in them not being valid links on github for example. The markdown files created has the extension.

Contents of bashly.yml

name: download
help: Sample minimal application without commands
version: 0.1.0

commands: 
  - name: upload
  - name: download

Reproduction Steps

bashly init --minimal  
# create atleast 2 commands in bashly.yml
bashly generate
bashly render :markdown

Actual Behavior

file docs/index.md

download

Sample minimal application without commands

Attributes  
Version: 0.1.0

Usage

download COMMAND

Commands

Expected Behavior

file docs/index.md

download

Sample minimal application without commands

Attributes  
Version: 0.1.0

Usage

download COMMAND

Commands

(added ".md" at the end of both files.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions