mirror of https://github.com/docker/docs.git
Merge pull request #11498 from thaJeztah/cleanup_glossary
Minor fixes to glossary
This commit is contained in:
commit
8d960416e6
|
@ -70,6 +70,10 @@ defaults:
|
|||
path: engine/reference/commandline
|
||||
values:
|
||||
edit_url: "https://github.com/docker/cli/tree/master/docs/reference/commandline"
|
||||
- scope:
|
||||
path: glossary
|
||||
values:
|
||||
edit_url: "https://github.com/docker/docker.github.io/blob/master/_data/glossary.yaml"
|
||||
- scope:
|
||||
path: notary/reference
|
||||
values:
|
||||
|
|
|
@ -68,6 +68,10 @@ defaults:
|
|||
path: engine/reference/commandline
|
||||
values:
|
||||
edit_url: "https://github.com/docker/cli/tree/master/docs/reference/commandline"
|
||||
- scope:
|
||||
path: glossary
|
||||
values:
|
||||
edit_url: "https://github.com/docker/docker.github.io/blob/master/_data/glossary.yaml"
|
||||
- scope:
|
||||
path: notary/reference
|
||||
values:
|
||||
|
|
|
@ -1,11 +1,6 @@
|
|||
---
|
||||
layout: null
|
||||
---
|
||||
var glossary = [
|
||||
{% for entry in site.data.glossary %}
|
||||
{
|
||||
"term": {{ entry[0] | jsonify }},
|
||||
"def": {{ entry[1] | markdownify | replace:'href="#','href="/glossary/?term=' | jsonify }}
|
||||
}{% unless forloop.last %},{% endunless %}
|
||||
{% endfor %}
|
||||
{%- for entry in site.data.glossary -%}
|
||||
{"term": {{ entry[0] | jsonify }}, "def": {{ entry[1] | markdownify | replace:'href="#','href="/glossary/?term=' | jsonify }}}
|
||||
{%- unless forloop.last -%},{%- endunless -%}
|
||||
{%- endfor -%}
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue