Skip to content

Commit

Permalink
improved cheatsheet
Browse files Browse the repository at this point in the history
  • Loading branch information
jlangch committed Mar 22, 2024
1 parent 9bf17b9 commit b6b501f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public DocSection section() {
final DocSection create = new DocSection("Create", id());
all.addSection(create);
create.addItem(diBuilder.getDocItem("zipvault/zip", false));
create.addItem(diBuilder.getDocItem("zipvault/entropy", true));
create.addItem(diBuilder.getDocItem("zipvault/zip-folder", false));

final DocSection add = new DocSection("Add", id());
all.addSection(add);
Expand All @@ -67,6 +67,7 @@ public DocSection section() {
all.addSection(util);
util.addItem(diBuilder.getDocItem("zipvault/encrypted?", false));
util.addItem(diBuilder.getDocItem("zipvault/valid-zip-file?", false));
util.addItem(diBuilder.getDocItem("zipvault/entropy", true));

return section;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ ${ (doseq [s1 left] }$
${ (doseq [s3 (:sections s2)] }$
${= (:title s3) }$
${ (doseq [{:keys [id altName name]} (:items s3)] }$
${ (when id }$ ${= altName }$ ${ ) }$${ (when-not id }$ ${= name }$ ${ ) }$
${ ) }$
${ (when id }$ ${= altName }$ ${ ) }$${ (when-not id }$ ${= name }$ ${ ) }$${ ) }$
${ ) }$
${ ) }$

Expand All @@ -53,8 +52,7 @@ ${ (doseq [s1 right] }$
${ (doseq [s3 (:sections s2)] }$
${= (:title s3) }$
${ (doseq [{:keys [id altName name]} (:items s3)] }$
${ (when id }$ ${= altName }$ ${ ) }$${ (when-not id }$ ${= name }$ ${ ) }$
${ ) }$
${ (when id }$ ${= altName }$ ${ ) }$${ (when-not id }$ ${= name }$ ${ ) }$${ ) }$
${ ) }$
${ ) }$

Expand Down

0 comments on commit b6b501f

Please sign in to comment.