-
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BUGFIX] Warn when a directive has not title
resolves #983
- Loading branch information
Showing
5 changed files
with
55 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
tests/Integration/tests/confval/confval-no-title/expected/index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<!-- content start --> | ||
<div class="section" id="confval-directive"> | ||
<h1>Confval directive</h1> | ||
<dl class="confval"> | ||
<dt id="confval-"> | ||
<code class="sig-name descname"><span class="pre"></span></code></dt> | ||
<dd> | ||
<div class="line-block"> | ||
<div class="line"><strong>Type:</strong> <code>"Hello World"</code></div> | ||
<div class="line"><strong>Required:</strong> true</div> | ||
<div class="line"><strong>Custom Info:</strong> <strong>custom</strong></div> | ||
|
||
</div> | ||
<div class="confval-description"> | ||
|
||
<p>This is the confval <code>demo</code> content!</p> | ||
|
||
<p>Another paragraph.</p> | ||
|
||
</div> | ||
</dd> | ||
</dl> | ||
</div> | ||
<!-- content end --> |
1 change: 1 addition & 0 deletions
1
tests/Integration/tests/confval/confval-no-title/expected/logs/warning.log
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
app.WARNING: A directive must have a title |
12 changes: 12 additions & 0 deletions
12
tests/Integration/tests/confval/confval-no-title/input/index.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Confval directive | ||
================= | ||
|
||
.. confval:: | ||
:type: :php:`string` | ||
:default: ``"Hello World"`` | ||
:required: true | ||
:Custom Info: **custom** | ||
|
||
This is the confval ``demo`` content! | ||
|
||
Another paragraph. |
18 changes: 9 additions & 9 deletions
18
tests/Integration/tests/graphs/plantuml-server-error/expected/index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
<!-- content start --> | ||
<div class="section" id="uml-directive"> | ||
<h1>Uml Directive</h1> | ||
<figure | ||
class="uml-diagram" | ||
style="width: 1000" ><figcaption>Figure 1-1: Application flow</figcaption></figure> | ||
<figure | ||
class="uml-diagram" | ||
style="width: 1000" ><figcaption>Figure 1-1: Application flow</figcaption></figure> | ||
</div> | ||
<div class="section" id="uml-directive"> | ||
<h1>Uml Directive</h1> | ||
<figure | ||
class="uml-diagram" | ||
style="width: 1000" ><figcaption>Figure 1-1: Application flow</figcaption></figure> | ||
<figure | ||
class="uml-diagram" | ||
style="width: 1000" ><figcaption>Figure 1-1: Application flow</figcaption></figure> | ||
</div> | ||
<!-- content end --> |