Skip to content

Commit 25f5db0

Browse files
committed
Organize blocks in subdirectory
1 parent 5577d32 commit 25f5db0

13 files changed

+15
-15
lines changed

data/templates/vuepress/_member/constant.md.twig

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
{{- 'tip ' -}} {# TODO wait compatibiliti with PHP 7.1 constant visibility {{ constant.visibility }}#}
99
{% endif -%}
1010

11-
{#{ include('anchor-ref-constant.md.twig') }#}
12-
{{- constant.name }} {{ include('badges.md.twig', { elem: constant }) }}
11+
{#{ include('_blocks/anchor-ref-constant.md.twig') }#}
12+
{{- constant.name }} {{ include('_blocks/badges.md.twig', { elem: constant }) }}
1313
-----
1414

1515
{{ constant.summary|replace({'#### ': '- ', '### ': '- ', '## ': '- ', '# ': '- ',})|raw }}

data/templates/vuepress/_member/method.md.twig

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
{{- 'danger ' -}}
99
{% endif -%}
1010

11-
{{ include('anchor-ref-method.md.twig') }}
12-
{{- method.name }} ( ) {{ include('badges.md.twig', { elem: method }) }}
11+
{{ include('_blocks/anchor-ref-method.md.twig') }}
12+
{{- method.name }} ( ) {{ include('_blocks/badges.md.twig', { elem: method }) }}
1313
-----
1414

1515
{{ method.summary|replace({'#### ': '- ', '### ': '- ', '## ': '- ', '# ': '- ',})|raw }}

data/templates/vuepress/_member/property.md.twig

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
{{- 'danger ' -}}
99
{% endif -%}
1010

11-
{{ include('anchor-ref-property.md.twig') }}
12-
{{- '$' ~ property.name }} {{ include('badges.md.twig', { elem: property }) }}
11+
{{ include('_blocks/anchor-ref-property.md.twig') }}
12+
{{- '$' ~ property.name }} {{ include('_blocks/badges.md.twig', { elem: property }) }}
1313
-----
1414

1515
{{ property.summary|replace({'#### ': '- ', '### ': '- ', '## ': '- ', '# ': '- ',})|raw }}

data/templates/vuepress/_struct/class.md.twig

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
## {{ class|trim('\\') }} {{ include('badges.md.twig', { elem: class }) }}
2+
## {{ class|trim('\\') }} {{ include('_blocks/badges.md.twig', { elem: class }) }}
33

44
{{ class.summary|replace({'#### ': '- ', '### ': '- ', '## ': '- ', '# ': '- ',})|raw }}
55

@@ -114,8 +114,8 @@
114114
- [{{ method.parent.namespace|trim('\\') -}}\\<span style="font-weight: bold;">{{ method.parent.name }}</span>](/api/{{ parent_location }}.html#
115115
{{- method.parent|trim('\\')|lower|replace({'\\': '-'}) -}}
116116
)::
117-
{{- include('anchor-link-method.md.twig', { text: method.name ~ '()' }) -}}
118-
{{ include('badges.md.twig', { elem: method }) }}
117+
{{- include('_blocks/anchor-link-method.md.twig', { text: method.name ~ '()' }) -}}
118+
{{ include('_blocks/badges.md.twig', { elem: method }) }}
119119
{% else %}
120120
> This class has not inherited methods.
121121
{% endfor %}
@@ -144,8 +144,8 @@
144144
- [{{ property.parent.namespace|trim('\\') -}}\\<span style="font-weight: bold;">{{ property.parent.name }}</span>](/api/{{ parent_location }}.html#
145145
{{- property.parent|trim('\\')|lower|replace({'\\': '-'}) -}}
146146
)::
147-
{{- include('anchor-link-property.md.twig', { text: '$' ~ property.name }) -}}
148-
{{ include('badges.md.twig', { elem: property }) }}
147+
{{- include('_blocks/anchor-link-property.md.twig', { text: '$' ~ property.name }) -}}
148+
{{ include('_blocks/badges.md.twig', { elem: property }) }}
149149
{% else %}
150150
> This class has not inherited properties.
151151
{% endfor %}

data/templates/vuepress/_struct/constant.md.twig

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
## {{ constant|trim('\\') }} {{ include('badges.md.twig', { elem: constant }) }}
2+
## {{ constant|trim('\\') }} {{ include('_blocks/badges.md.twig', { elem: constant }) }}
33

44
{{ constant.summary|replace({'#### ': '- ', '### ': '- ', '## ': '- ', '# ': '- ',})|raw }}
55

data/templates/vuepress/_struct/function.md.twig

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
## {{ function|trim('\\') }} {{ include('badges.md.twig', { elem: function }) }}
2+
## {{ function|trim('\\') }} {{ include('_blocks/badges.md.twig', { elem: function }) }}
33

44
{{ function.summary|replace({'#### ': '- ', '### ': '- ', '## ': '- ', '# ': '- ',})|raw }}
55

data/templates/vuepress/_struct/interface.md.twig

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
## {{ interface|trim('\\') }} {{ include('badges.md.twig', { elem: interface }) }}
2+
## {{ interface|trim('\\') }} {{ include('_blocks/badges.md.twig', { elem: interface }) }}
33

44
{{ interface.summary|replace({'#### ': '- ', '### ': '- ', '## ': '- ', '# ': '- ',})|raw }}
55

data/templates/vuepress/_struct/trait.md.twig

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11

2-
## {{ trait|trim('\\') }} {{ include('badges.md.twig', { elem: trait }) }}
2+
## {{ trait|trim('\\') }} {{ include('_blocks/badges.md.twig', { elem: trait }) }}
33

44
{{ trait.summary|replace({'#### ': '- ', '### ': '- ', '## ': '- ', '# ': '- ',})|raw }}
55

0 commit comments

Comments
 (0)