-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.md.j2
58 lines (44 loc) · 2.38 KB
/
README.md.j2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# wandbox-status
[Wandbox][] status
[Wandbox][] new compiler notification: [wandbox-news](https://github.com/srz-zumix/wandbox-news)
## Status Page
[https://srz-zumix.github.io/wandbox-status/](https://srz-zumix.github.io/wandbox-status/)
## Status Badge
* Status badge
```
https://img.shields.io/endpoint?url=https%3A%2F%2Fsrz-zumix.github.io%2Fwandbox-status%2Fshields%2F<< lang >>%2F<< version >>.json
```
* Head version badge
```
https://img.shields.io/endpoint?url=https%3A%2F%2Fsrz-zumix.github.io%2Fwandbox-status%2Fshields%2Fhead-version%2F<< lang >>%2F<< version >>-version.json
```
### Language List
{% set lang_list = wandbox_languages() | markdown_link_pair %}
{%- for lang in lang_list %}
* [{{ lang.name }}](#{{ lang.link }})
{%- endfor %}
### Head
[wandbox-builder GitHub Actions](https://github.com/melpon/wandbox-builder/actions/workflows/heads.yml)
[![heads](https://github.com/melpon/wandbox-builder/actions/workflows/heads.yml/badge.svg)](https://github.com/melpon/wandbox-builder/actions/workflows/heads.yml)
|language|name|version|status|
|:------|:------|:-----|:-----|
{%- set compilers = wandbox_list() | wandbox_fnmatch_compilers("*head*") %}
{%- for compiler in compilers %}
{%- set compiler_url_path = (compiler.language + "/" + compiler.name) | url_quote | replace_url_quote %}
{%- set version_td = "![" + compiler.name + "](https://img.shields.io/endpoint?url=https%3A%2F%2Fsrz-zumix.github.io%2Fwandbox-status%2Fshields%2Fhead-version%2F" + compiler_url_path + "-version.json)" %}
{%- set status_td = "![" + compiler.name + "](https://img.shields.io/endpoint?url=https%3A%2F%2Fsrz-zumix.github.io%2Fwandbox-status%2Fshields%2F" + compiler_url_path + ".json)" %}
|{{ compiler.language }}|{{ compiler.name }}|{{ version_td }}|{{ status_td }}|
{%- endfor %}
{%- set lang_list = wandbox_languages() %}
{%- for lang in lang_list %}
### {{ lang }}
|version|status|
|:------|:-----|
{%- set compilers = wandbox_list() | wandbox_language_compilers(lang) %}
{%- for compiler in compilers %}
{%- set compiler_url_path = (compiler.language + "/" + compiler.name) | url_quote | replace_url_quote %}
|{{ compiler.name }}|![{{ compiler.name }}](https://img.shields.io/endpoint?url=https%3A%2F%2Fsrz-zumix.github.io%2Fwandbox-status%2Fshields%2F{{ compiler_url_path }}.json)|
{%- endfor %}
{%- endfor %}
[Wandbox]:https://wandbox.org/
[wandbox-news]:https://github.com/srz-zumix/wandbox-news