"Fossies" - the Fresh Open Source Software Archive 
Member "pmd-src-6.47.0/docs/search.json" (25 Jun 2022, 1104 Bytes) of package /linux/misc/pmd-src-6.47.0.zip:
As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) JSON source code syntax highlighting (style:
standard) with prefixed line numbers.
Alternatively you can here
view or
download the uninterpreted source code file.
1 ---
2 title: search
3 layout: none
4 search: exclude
5 ---
6
7 [
8 {% for page in site.pages %}
9 {% unless page.search == "exclude" %}
10
11 {% if page.permalink contains "pmd_rules_" and page.keywords %}
12 {% assign rules = page.keywords | split: ", " %}
13 {% for rule in rules %}
14 {
15 "title": "{{ rule | escape }} ({{page.language}}, {{page.title}})",
16 "tags": "{{ page.tags }}",
17 "keywords": "{{rule}}",
18 "url": "{{ page.url | remove: "/"}}#{{ rule | downcase }}",
19 "summary": "{{page.summary | strip }}"
20 }
21 {% unless forloop.last %},{% endunless %}
22 {% endfor %}
23 {% else %}
24 {
25 "title": "{{ page.title | escape }}",
26 "tags": "{{ page.tags }}",
27 "keywords": "{{page.keywords}}",
28 "url": "{{ page.url | remove: "/"}}",
29 "summary": "{{page.summary | strip }}"
30 }
31 {% endif %}
32
33
34 {% unless forloop.last and site.posts.size < 1 %},{% endunless %}
35 {% endunless %}
36 {% endfor %}
37
38 {% for post in site.posts %}
39
40 {
41 "title": "{{ post.title | escape }}",
42 "tags": "{{ post.tags }}",
43 "keywords": "{{post.keywords}}",
44 "url": "{{ post.url | remove: "/" }}",
45 "summary": "{{post.summary | strip }}"
46 }
47 {% unless forloop.last %},{% endunless %}
48 {% endfor %}
49
50 ]