Skip to content

Commit 8987058

Browse files
authored
Merge pull request #639 from DannyBen/fix/render-examples
Fix render markdown command examples
2 parents 573c47c + 21b786d commit 8987058

File tree

5 files changed

+7
-5
lines changed

5 files changed

+7
-5
lines changed

examples/render-mandoc/docs/download.1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.\" Automatically generated by Pandoc 3.2
22
.\"
3-
.TH "download" "1" "June 2025" "Version 0.1.0" "Sample application"
3+
.TH "download" "1" "July 2025" "Version 0.1.0" "Sample application"
44
.SH NAME
55
\f[B]download\f[R] \- Sample application
66
.SH SYNOPSIS

examples/render-mandoc/docs/download.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
% download(1) Version 0.1.0 | Sample application
22
% Lana Lang
3-
% June 2025
3+
% July 2025
44

55
NAME
66
==================================================

lib/bashly/commands/render.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ class Render < Base
3434
example 'bashly render --list'
3535
example 'bashly render :markdown --about'
3636
example 'bashly render :markdown docs --watch'
37-
example 'bashly render :markdown docs --show "cli-download.1"'
37+
example 'bashly render :markdown docs --show "cli download.md'
38+
example 'bashly render :mandoc docs --show cli-download.1'
3839
example 'bashly render /path/to/templates ./out_path'
3940

4041
attr_reader :watching, :target, :source

spec/approvals/cli/render/help

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,5 +40,6 @@ Examples:
4040
bashly render --list
4141
bashly render :markdown --about
4242
bashly render :markdown docs --watch
43-
bashly render :markdown docs --show "cli-download.1"
43+
bashly render :markdown docs --show "cli download.md
44+
bashly render :mandoc docs --show cli-download.1
4445
bashly render /path/to/templates ./out_path

spec/approvals/examples/render-mandoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,4 +44,4 @@ ISSUE TRACKER
4444
AUTHORS
4545
Lana Lang.
4646

47-
Version 0.1.0 June 2025 download(1)
47+
Version 0.1.0 July 2025 download(1)

0 commit comments

Comments
 (0)