Skip to content

Commit b56006d

Browse files
committed
style(xml): allow black lines in XML files
[skip ci]
1 parent 7aaedcf commit b56006d

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

package-lock.json

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"vuepress": "^1.8.0"
2323
},
2424
"devDependencies": {
25-
"@prettier/plugin-xml": "^0.12.0",
25+
"@prettier/plugin-xml": "^0.13.0",
2626
"husky": "^4.3.8",
2727
"prettier": "^2.2.1",
2828
"prettier-plugin-packagejson": "^2.2.9",

phpdoc.dist.xml

+5
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<phpdoc>
33
<!-- Title of your project. It will be used to show a mini description -->
44
<title>`phpdoc-vuepress` demo</title>
5+
56
<!-- [1]
67
Directories and files from where will be extracted the documentation;
78
where your PHP sources are. -->
@@ -12,23 +13,27 @@
1213
by using <file> tag-->
1314
<!-- <file>vendor/cakephp/utility/Text.php</file> -->
1415
</files>
16+
1517
<transformer>
1618
<!-- [2]
1719
Directory where the generate documentation files be. Set it according to
1820
your VuePress config. In this case, it will be used the route `/demo`,
1921
but you can use any you want -->
2022
<target>docs/demo</target>
2123
</transformer>
24+
2225
<transformations>
2326
<!-- [3] Directory where the template.xml is. In this case, the template.xml file is in that directory -->
2427
<template name="data/templates/vuepress" />
2528
<!-- But in your Composer project, you should use the following line instead of the previous one. -->
2629
<!-- <template name="vendor/nelson6e65/phpdoc-vuepress/data/templates/vuepress" /> -->
2730
</transformations>
31+
2832
<parser>
2933
<!-- [4] Elements to include in your documentation by visibility:
3034
public, protected and private. -->
3135
<visibility>public,protected</visibility>
36+
3237
<!-- Directory where to put the cache. This can be set to any directory.
3338
Remember ignore it by Git -->
3439
<target>build/api-cache</target>

0 commit comments

Comments
 (0)