Commit 69399548 authored by Martin Lange's avatar Martin Lange
Browse files

upgrade to new yarner version, install yarner using cargo

parent b8fbe53a
Pipeline #14756 failed with stage
in 26 seconds
......@@ -574,7 +574,7 @@ Grimm V, Berger U, DeAngelis DL, Polhill G, Giske J, Railsback SF. 2010. **The O
## Appendix
The [Appendix](md/appendix.md) describes code that is not vital for understanding the model or the ECS concept.
The @[Appendix](md/appendix.md) describes code that is not vital for understanding the model or the ECS concept.
* [Graphics](md/appendix.md#graphics)
* [Utilities](md/appendix.md#utilities)
......
[md]
[parser]
# The sequence that identifies the start and end of a fenced code block
fence_sequence = "```"
......@@ -7,14 +7,12 @@ fence_sequence = "```"
# Allows for normal Markdown fences in code blocks
fence_sequence_alt = "~~~"
# The sequence that separates the language from the name of the code block after the fence
block_name_start = " - "
# Parsed comments are stripped from the code and written to an `<aside></aside>` block after the code when printing.
# If false, the comments are just written back into the code.
comments_as_aside = false
# The sequence to identify a comment which should be omitted from the compiled code,
# and may be rendered as an `<aside>` if `comments_as_aside` is set.
# Text after a comment in the first line of a code block gives the block's name
comment_start = "///"
# The sequence to identify the start of a meta variable interpolation.
......@@ -23,7 +21,7 @@ interpolation_start = "@{"
interpolation_end = "}"
# The sequence to identify the start of a macro invocation.
macro_start = "// ==> "
macro_start = "// ==>"
# The sequence to identify the end of a macro invocation.
macro_end = "."
......@@ -32,6 +30,10 @@ transclusion_start = "@{{"
# The sequence to identify the end of a transclusion.
transclusion_end = "}}"
# Prefix for links that should be followed during processing.
# Should be RegEx-compatible.
link_prefix = "@"
# The sequence to split variables into name and value.
variable_sep = ":"
......@@ -51,10 +53,12 @@ code = "code/"
docs = "docs/"
# The input source file(s) as glob pattern(s).
files = ["README.md"]
# File(s) to include in code output (unprocessed), as glob pattern(s).
code_files = ["gradle/**/*"]
# Allows to modify paths of copied code files. Replaces path components. Optional.
code_paths = ["-"]
## File(s) to include in docs output (unprocessed), as glob pattern(s).
# doc_files = ["**/*.png", "**/*.jpg"]
## Entrypoint block name. Optional. If not supplied, unnamed code blocks are used.
......
......@@ -54,7 +54,12 @@ cd ecs-tutorial
yarner
```
> This requires [Yarner](https://github.com/mlange-42/yarner) to be installed on your machine. Download Yarner [here](https://github.com/mlange-42/yarner/releases/). Yarner needs to be on the PATH, or you need use the full path to Yarner:
> This requires [Yarner](https://github.com/mlange-42/yarner) to be installed on your machine. Download Yarner [here](https://github.com/mlange-42/yarner/releases/), or install using `cargo` if you have Rust installed:
> ```
> cargo install --git https://github.com/mlange-42/yarner yarner
> ```
>
> Yarner needs to be on the PATH, or you need use the full path to Yarner:
>
> ```
> C:/path/to/yarner/yarner
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment