Skip to content

Commit c15c91e

Browse files
committed
- Add github_markdown library to libraries index
1 parent 3db2bed commit c15c91e

5 files changed

Lines changed: 22 additions & 3 deletions

File tree

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.9
22
.\"
3-
.TH "download" "1" "March 2026" "Version 0.1.0" "Sample application"
3+
.TH "download" "1" "May 2026" "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-
% March 2026
3+
% May 2026
44

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

lib/bashly/libraries/libraries.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,21 @@ render_markdown:
7979
8080
m`$ bashly render templates/markdown docs`
8181
82+
render_markdown_github:
83+
help: Copy the github markdown templates to your project, allowing you to customize the markdown documentation output.
84+
skip_src_check: true
85+
files:
86+
- source: "render/markdown_github/README.md"
87+
target: "templates/markdown_github/README.md"
88+
- source: "render/markdown_github/markdown.gtx"
89+
target: "templates/markdown_github/markdown.gtx"
90+
- source: "render/markdown_github/render.rb"
91+
target: "templates/markdown_github/render.rb"
92+
post_install_message: |
93+
Generate your markdown documentation by running:
94+
95+
m`$ bashly render templates/markdown_github docs`
96+
8297
render_mandoc:
8398
help: Copy the mandoc templates to your project, allowing you to customize the man documentation output.
8499
skip_src_check: true

spec/approvals/cli/add/list

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ render_markdown
3434
Copy the markdown templates to your project, allowing you to customize the
3535
markdown documentation output.
3636

37+
render_markdown_github
38+
Copy the github markdown templates to your project, allowing you to customize
39+
the markdown documentation output.
40+
3741
render_mandoc
3842
Copy the mandoc templates to your project, allowing you to customize the man
3943
documentation output.

spec/bashly/library_source_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
expect(subject.libraries.keys).to match_array %i[
103103
colors completions completions_script completions_yaml config
104104
help hooks ini lib settings stacktrace strings validations yaml
105-
render_markdown render_mandoc
105+
render_markdown render_markdown_github render_mandoc
106106
]
107107
end
108108

0 commit comments

Comments
 (0)