File tree Expand file tree Collapse file tree 5 files changed +32
-3
lines changed
packages/guides/src/DependencyInjection
tests/Integration/tests/index-html-only Expand file tree Collapse file tree 5 files changed +32
-3
lines changed Original file line number Diff line number Diff line change 11
11
log-path =" php://stder"
12
12
>
13
13
<project title =" phpDocumentor Guides" />
14
- <output-format >html</output-format >
15
- <output-format >intersphinx</output-format >
16
14
17
15
<extension class =" phpDocumentor\Guides\Bootstrap" />
18
16
</guides >
Original file line number Diff line number Diff line change @@ -56,7 +56,13 @@ public function getConfigTreeBuilder(): TreeBuilder
56
56
->scalarNode ('output ' )->end ()
57
57
->scalarNode ('input_format ' )->end ()
58
58
->arrayNode ('output_format ' )
59
- ->defaultValue ([])
59
+ ->defaultValue (['html ' , 'intersphinx ' ])
60
+ ->beforeNormalization ()
61
+ ->ifString ()
62
+ ->then (static function ($ value ) {
63
+ return [$ value ];
64
+ })
65
+ ->end ()
60
66
->scalarPrototype ()->end ()
61
67
->end ()
62
68
->scalarNode ('log_path ' )->end ()
Original file line number Diff line number Diff line change
1
+ <!DOCTYPE html>
2
+ < html lang ="en ">
3
+ < head >
4
+ < title > Document Title</ title >
5
+ </ head >
6
+ < body >
7
+ < div class ="section " id ="document-title ">
8
+ < h1 > Document Title</ h1 >
9
+ < p > Lorem Ipsum Dolor.</ p >
10
+ </ div >
11
+ </ body >
12
+ </ html >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <guides xmlns =" https://www.phpdoc.org/guides"
3
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4
+ xsi : schemaLocation =" https://www.phpdoc.org/guides packages/guides-cli/resources/schema/guides.xsd" >
5
+ <output-format >html</output-format >
6
+
7
+ <extension class =" phpDocumentor\Guides\Bootstrap" />
8
+ </guides >
Original file line number Diff line number Diff line change
1
+ ==============
2
+ Document Title
3
+ ==============
4
+
5
+ Lorem Ipsum Dolor.
You can’t perform that action at this time.
0 commit comments