Skip to content

Commit

Permalink
docs(core): Custom files per alias entries about their usage #9
Browse files Browse the repository at this point in the history
- Fix for GitHub AsciiDoc
- [skip ci]
  • Loading branch information
nandorholozsnyak committed Apr 24, 2023
1 parent 5252ba0 commit 83e86b3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,14 @@ This is a usage file, that will be rendered below the `hello` alias entry.

==== Result in AsciiDoc

ifndef::env-github[]
include::example$document-with-usage.adoc[]
endif::[]
ifdef::env-github[]
image::docs/modules/ROOT/examples/document-with-usage.adoc[]
endif::[]



It can put behind a collapsible section with the `-cus` (`--collapsible-usage-section`) flag.

Expand Down

0 comments on commit 83e86b3

Please # to comment.