File tree Expand file tree Collapse file tree 5 files changed +17
-17
lines changed Expand file tree Collapse file tree 5 files changed +17
-17
lines changed Original file line number Diff line number Diff line change 15
15
use Symfony \Component \DomCrawler \Crawler ;
16
16
use Symfony \Component \Finder \Finder ;
17
17
use SymfonyDocsBuilder \DocBuilder ;
18
- use SymfonyDocsBuilder \Generator \JsonGenerator ;
19
18
use SymfonyDocsBuilder \KernelFactory ;
20
19
21
20
class IntegrationTest extends AbstractIntegrationTest
@@ -27,7 +26,7 @@ public function testIntegration(string $folder)
27
26
{
28
27
$ buildConfig = $ this ->createBuildConfig (sprintf ('%s/fixtures/source/%s ' , __DIR__ , $ folder ));
29
28
$ builder = new DocBuilder ();
30
- $ buildResult = $ builder ->build ($ buildConfig );
29
+ $ builder ->build ($ buildConfig );
31
30
32
31
$ finder = new Finder ();
33
32
$ finder ->in (sprintf ('%s/fixtures/expected/%s ' , __DIR__ , $ folder ))
Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ <h1 id="book-index-book">Book</h1>
8
8
< p > Here is a link to the < a href ="#index " class ="reference internal "> main index</ a > </ p >
9
9
< div class ="toctree-wrapper ">
10
10
< ul class ="toctree toctree-level-1 toctree-length-2 ">
11
- < li > < a href ="https://symfony.com/doc/4.0/book/first-page.html#first-page "> First page</ a > </ li >
12
- < li > < a href ="https://symfony.com/doc/4.0/book/second-page.html#second-page "> Second page</ a > </ li >
11
+ < li > < a href ="https://symfony.com/doc/4.0/book/first-page.html "> First page</ a > </ li >
12
+ < li > < a href ="https://symfony.com/doc/4.0/book/second-page.html "> Second page</ a > </ li >
13
13
</ ul >
14
14
</ div >
15
15
</ div >
Original file line number Diff line number Diff line change 3
3
< head >
4
4
< meta charset ="utf-8 " />
5
5
6
-
6
+
7
7
</ head >
8
8
9
9
< body >
10
10
< div class ="section ">
11
11
< h1 id ="some-test-docs "> < a class ="headerlink " href ="#some-test-docs " title ="Permalink to this headline "> Some Test Docs!</ a > </ h1 >
12
12
< img src ="_images/symfony-logo.png " />
13
- < div class ="toctree-wrapper "> < ul class ="toctree toctree-level-1 toctree-length-2 "> < li > < a href ="datetime.html#datetimetype-field "> DateTimeType Field</ a > < ul class ="toctree toctree-level-2 toctree-length-4 "> < li > < a href ="datetime.html#field-options "> Field Options</ a > </ li > < li > < a href ="datetime.html#overridden-options "> Overridden Options</ a > </ li > < li > < a href ="datetime.html#field-variables "> Field Variables</ a > </ li > < li > < a href ="datetime.html#url-checker-errors "> Url checker errors</ a > </ li > </ ul > </ li > < li > < a href ="form/form_type.html#formtype-documentation "> FormType Documentation</ a > </ li > </ ul > </ div >
13
+ < div class ="toctree-wrapper "> < ul class ="toctree toctree-level-1 toctree-length-2 "> < li > < a href ="datetime.html "> DateTimeType Field</ a > < ul class ="toctree toctree-level-2 toctree-length-4 "> < li > < a href ="datetime.html#field-options "> Field Options</ a > </ li > < li > < a href ="datetime.html#overridden-options "> Overridden Options</ a > </ li > < li > < a href ="datetime.html#field-variables "> Field Variables</ a > </ li > < li > < a href ="datetime.html#url-checker-errors "> Url checker errors</ a > </ li > </ ul > </ li > < li > < a href ="form/form_type.html "> FormType Documentation</ a > </ li > </ ul > </ div >
14
14
< span id ="reference-forms-type-date-format "> </ span >
15
15
< div class ="section ">
16
16
< h2 id ="a-header "> < a class ="headerlink " href ="#a-header " title ="Permalink to this headline "> A header</ a > </ h2 >
@@ -19,4 +19,4 @@ <h2 id="a-header"><a class="headerlink" href="#a-header" title="Permalink to thi
19
19
</ div >
20
20
21
21
</ body >
22
- </ html >
22
+ </ html >
Original file line number Diff line number Diff line change 9
9
< body >
10
10
< div class ="section ">
11
11
< h1 id ="toctree "> < a class ="headerlink " href ="#toctree " title ="Permalink to this headline "> Toctree</ a > </ h1 >
12
- < div class ="toctree-wrapper "> < ul class ="toctree toctree-level-1 toctree-length-1 "> < li > < a href ="file.html#title "> Title</ a > < ul class ="toctree toctree-level-2 toctree-length-1 "> < li > < a href ="file.html#sub-title "> Sub title</ a > </ li > </ ul > </ li > </ ul > </ div >
13
- < div class ="toctree-wrapper "> < ul class ="toctree toctree-level-1 toctree-length-1 "> < li > < a href ="file.html#title "> Title</ a > </ li > </ ul > </ div >
14
- < div class ="toctree-wrapper "> < ul class ="toctree toctree-level-1 toctree-length-1 "> < li > < a href ="directory/another_file.html#another-file "> Another file</ a > </ li > </ ul > </ div >
15
- < div class ="toctree-wrapper "> < ul class ="toctree toctree-level-1 toctree-length-3 "> < li > < a href ="index.html#toctree "> Toctree</ a > </ li > < li > < a href ="directory/another_file.html#another-file "> Another file</ a > </ li > < li > < a href ="file.html#title "> Title</ a > < ul class ="toctree toctree-level-2 toctree-length-1 "> < li > < a href ="file.html#sub-title "> Sub title</ a > </ li > </ ul > </ li > </ ul > </ div >
16
- < div class ="toctree-wrapper "> < ul class ="toctree toctree-level-1 toctree-length-3 "> < li > < a href ="file.html#title "> Title</ a > < ul class ="toctree toctree-level-2 toctree-length-1 "> < li > < a href ="file.html#sub-title "> Sub title</ a > </ li > </ ul > </ li > < li > < a href ="index.html#toctree "> Toctree</ a > </ li > < li > < a href ="directory/another_file.html#another-file "> Another file</ a > </ li > </ ul > </ div >
12
+ < div class ="toctree-wrapper "> < ul class ="toctree toctree-level-1 toctree-length-1 "> < li > < a href ="file.html "> Title</ a > < ul class ="toctree toctree-level-2 toctree-length-1 "> < li > < a href ="file.html#sub-title "> Sub title</ a > </ li > </ ul > </ li > </ ul > </ div >
13
+ < div class ="toctree-wrapper "> < ul class ="toctree toctree-level-1 toctree-length-1 "> < li > < a href ="file.html "> Title</ a > </ li > </ ul > </ div >
14
+ < div class ="toctree-wrapper "> < ul class ="toctree toctree-level-1 toctree-length-1 "> < li > < a href ="directory/another_file.html "> Another file</ a > </ li > </ ul > </ div >
15
+ < div class ="toctree-wrapper "> < ul class ="toctree toctree-level-1 toctree-length-3 "> < li > < a href ="index.html#toctree "> Toctree</ a > </ li > < li > < a href ="directory/another_file.html "> Another file</ a > </ li > < li > < a href ="file.html "> Title</ a > < ul class ="toctree toctree-level-2 toctree-length-1 "> < li > < a href ="file.html#sub-title "> Sub title</ a > </ li > </ ul > </ li > </ ul > </ div >
16
+ < div class ="toctree-wrapper "> < ul class ="toctree toctree-level-1 toctree-length-3 "> < li > < a href ="file.html "> Title</ a > < ul class ="toctree toctree-level-2 toctree-length-1 "> < li > < a href ="file.html#sub-title "> Sub title</ a > </ li > </ ul > </ li > < li > < a href ="index.html#toctree "> Toctree</ a > </ li > < li > < a href ="directory/another_file.html "> Another file</ a > </ li > </ ul > </ div >
17
17
18
18
</ div >
19
19
You can’t perform that action at this time.
0 commit comments