-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
33 additions
and
516 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
vineflowerVersion=1.9.2 | ||
vineflowerVersion=1.11.0-SNAPSHOT |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,25 @@ | ||
{# @pebvariable name="args" type="java.util.List<org.vineflower.docgen.UsageGenerator.ArgumentInfo>" #} | ||
{# @pebvariable name="hasLegacyShortNames" type="boolean" #} | ||
{% for arg in args %} | ||
```{option} {% if hasLegacyShortNames %} | ||
--{{ arg.argumentName }}{% if arg.type is not null %}={{ "{" }}{{ arg.type }}{{ "}" }}{% endif %}, {%if arg.legacyShortName is not null %}-{{ arg.legacyShortName }}{% if arg.type is not null %}={{ "{" }}{{ arg.type }}{{ "}" }}{% endif %}{% endif %} | ||
{# @pebvariable name="groups" type="java.util.List<io.pebbletemplates.pebble.utils.Pair<java.lang.String, java.util.List<org.jetbrains.java.decompiler.api.DecompilerOption>>>" #} | ||
{% for group in groups %} | ||
|
||
{% if group.left is not null %} | ||
--- | ||
### {{ group.left }} | ||
{% else %} | ||
-{{ arg.argumentName }}={{ "{" }}value{{ "}" }} | ||
### Base Decompiler Options | ||
{% endif %} | ||
|
||
{{ arg.description }} | ||
{% for option in group.right %} | ||
```{option} --{{ option.id }}={{ option.type }} | ||
|
||
{%if arg.defaultValue %} | ||
{# Escape $, MathJax uses it #} | ||
{{ option.description | replace({'$': '\$'}) }} | ||
|
||
**Default**: `{{ arg.defaultValue }}` | ||
{% if option.defaultValue %} | ||
**Default**: `{{ option.defaultValue }}` | ||
{% endif %} | ||
|
||
``` | ||
|
||
{% endfor %} | ||
|
||
{% endfor %} |
Oops, something went wrong.