From 34d085c39551b30268f3b41a14981f118a53471e Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Mon, 5 Jul 2021 13:43:04 +0200 Subject: [PATCH] Minor tweak in admonition titles --- .../default/html/directives/admonition.html.twig | 2 +- .../default/html/directives/sidebar.html.twig | 2 +- .../expected/blocks/directives/admonition.html | 2 +- .../blocks/directives/best-practice.html | 2 +- .../expected/blocks/directives/caution.html | 4 ++-- .../directives/note-code-block-nested.html | 4 ++-- .../expected/blocks/directives/note.html | 4 ++-- .../expected/blocks/directives/seealso.html | 2 +- .../directives/sidebar-code-block-nested.html | 2 +- .../expected/blocks/directives/sidebar.html | 2 +- .../fixtures/expected/blocks/directives/tip.html | 2 +- .../expected/blocks/directives/versionadded.html | 2 +- tests/fixtures/expected/main/datetime.html | 16 ++++++++-------- 13 files changed, 23 insertions(+), 23 deletions(-) diff --git a/src/Templates/default/html/directives/admonition.html.twig b/src/Templates/default/html/directives/admonition.html.twig index 19b0d3d..9913be3 100644 --- a/src/Templates/default/html/directives/admonition.html.twig +++ b/src/Templates/default/html/directives/admonition.html.twig @@ -14,5 +14,5 @@ {% elseif name in ['seealso'] %} {% endif %} - {{ text }} + {{ text }}

diff --git a/src/Templates/default/html/directives/sidebar.html.twig b/src/Templates/default/html/directives/sidebar.html.twig index 3e30d0f..774c6cd 100644 --- a/src/Templates/default/html/directives/sidebar.html.twig +++ b/src/Templates/default/html/directives/sidebar.html.twig @@ -1 +1 @@ -
\ No newline at end of file +
diff --git a/tests/fixtures/expected/blocks/directives/admonition.html b/tests/fixtures/expected/blocks/directives/admonition.html index 9d7e971..077ae0d 100644 --- a/tests/fixtures/expected/blocks/directives/admonition.html +++ b/tests/fixtures/expected/blocks/directives/admonition.html @@ -1,5 +1,5 @@

- Screencast + Screencast

Do you prefer video tutorials? Check out the the screencasts.

diff --git a/tests/fixtures/expected/blocks/directives/best-practice.html b/tests/fixtures/expected/blocks/directives/best-practice.html index 91a4e80..a23604d 100644 --- a/tests/fixtures/expected/blocks/directives/best-practice.html +++ b/tests/fixtures/expected/blocks/directives/best-practice.html @@ -1,5 +1,5 @@

- Best Practice + Best Practice

Use the bcrypt encoder for hashing your users' passwords.

diff --git a/tests/fixtures/expected/blocks/directives/caution.html b/tests/fixtures/expected/blocks/directives/caution.html index 2c51d5b..500ba6d 100644 --- a/tests/fixtures/expected/blocks/directives/caution.html +++ b/tests/fixtures/expected/blocks/directives/caution.html @@ -1,6 +1,6 @@

- - Caution + + Caution

Using too many sidebars or caution directives can be distracting!

diff --git a/tests/fixtures/expected/blocks/directives/note-code-block-nested.html b/tests/fixtures/expected/blocks/directives/note-code-block-nested.html index 29e5ba0..ff63126 100644 --- a/tests/fixtures/expected/blocks/directives/note-code-block-nested.html +++ b/tests/fixtures/expected/blocks/directives/note-code-block-nested.html @@ -1,7 +1,7 @@

- - Note + + Note

test

diff --git a/tests/fixtures/expected/blocks/directives/note.html b/tests/fixtures/expected/blocks/directives/note.html index ca8ecf7..5d7d2c2 100644 --- a/tests/fixtures/expected/blocks/directives/note.html +++ b/tests/fixtures/expected/blocks/directives/note.html @@ -1,6 +1,6 @@

- - Note + + Note

Sometimes we add notes. But not too often because they interrupt the flow.

diff --git a/tests/fixtures/expected/blocks/directives/seealso.html b/tests/fixtures/expected/blocks/directives/seealso.html index 52be87b..4f7b15d 100644 --- a/tests/fixtures/expected/blocks/directives/seealso.html +++ b/tests/fixtures/expected/blocks/directives/seealso.html @@ -3,7 +3,7 @@ - See also + See also

Also check out the homepage

diff --git a/tests/fixtures/expected/blocks/directives/sidebar-code-block-nested.html b/tests/fixtures/expected/blocks/directives/sidebar-code-block-nested.html index 2d2f0f1..ae37089 100644 --- a/tests/fixtures/expected/blocks/directives/sidebar-code-block-nested.html +++ b/tests/fixtures/expected/blocks/directives/sidebar-code-block-nested.html @@ -1,4 +1,4 @@ -

some text before code block

+

some text before code block

1
diff --git a/tests/fixtures/expected/blocks/directives/sidebar.html b/tests/fixtures/expected/blocks/directives/sidebar.html index 62daa97..ee4a046 100644 --- a/tests/fixtures/expected/blocks/directives/sidebar.html +++ b/tests/fixtures/expected/blocks/directives/sidebar.html @@ -1,2 +1,2 @@ -

some text inside sidebar

+

some text inside sidebar

diff --git a/tests/fixtures/expected/blocks/directives/tip.html b/tests/fixtures/expected/blocks/directives/tip.html index 6ef232b..023d0f5 100644 --- a/tests/fixtures/expected/blocks/directives/tip.html +++ b/tests/fixtures/expected/blocks/directives/tip.html @@ -1,6 +1,6 @@

- Tip + Tip

This is a little tip about something! We an also talk about specific

diff --git a/tests/fixtures/expected/blocks/directives/versionadded.html b/tests/fixtures/expected/blocks/directives/versionadded.html index adfbbc8..b5c6770 100644 --- a/tests/fixtures/expected/blocks/directives/versionadded.html +++ b/tests/fixtures/expected/blocks/directives/versionadded.html @@ -3,7 +3,7 @@ - New in version 4.1 + New in version 4.1

This option was introduced in Symfony 2.6 and replaces another option, which is available prior to 2.6.

diff --git a/tests/fixtures/expected/main/datetime.html b/tests/fixtures/expected/main/datetime.html index ae0bc98..1df3536 100644 --- a/tests/fixtures/expected/main/datetime.html +++ b/tests/fixtures/expected/main/datetime.html @@ -63,7 +63,7 @@

- Tip + Tip

This is a little tip about something! We an also talk about specific methods: doRequest(). Or a namespace: Constraints. @@ -76,8 +76,8 @@

- - Note + + Note

Sometimes we add notes. But not too often because they interrupt the flow. FormType Documentation

@@ -90,7 +90,7 @@

-New in version 2.6

+New in version 2.6

The placeholder option was introduced in Symfony 2.6 and replaces empty_value, which is available prior to 2.6. FormType Documentation

@@ -117,7 +117,7 @@

- See also + See also

Also check out the homepage - Some Test Docs!. FormType Documentation

@@ -137,17 +137,17 @@

widget option is set to single_text, this option specifies the format of the input, i.e. how Symfony will interpret the given input as a datetime string. See Date/Time Format Syntax.

-

But do they really? They also get in the way!

+

But do they really? They also get in the way!

- Caution + Caution

Using too many sidebars or caution directives can be distracting!

- Best Practice + Best Practice

Use the bcrypt encoder for hashing your users' passwords.