diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 000000000..fe2fec991 --- /dev/null +++ b/.dockerignore @@ -0,0 +1,14 @@ +.git/ +.settings +.buildpath +.project +vendor +nbproject/ +**/nbactions.xml +**/nb-configuration.xml +build/ +**/.idea/ +**/composer.lock +**/*.swp +website/node_modules +**/tests/.phpunit.result.cache diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 75b9bc9ad..b0e0f6681 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -27,7 +27,7 @@ jobs: uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php-versions }} - extensions: mbstring + extensions: none, json, dom, tokenizer, xml, xmlwriter, simplexml, iconv, mbstring, intl, sodium coverage: pcov - name: ♻️ Get composer cache directory diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 000000000..4dcce7afd --- /dev/null +++ b/Dockerfile @@ -0,0 +1,13 @@ +ARG VERSION= + +FROM php:${VERSION}-cli + +COPY --from=composer:latest /usr/bin/composer /usr/local/bin/composer +RUN \ + apt-get update -yq; \ + apt-get install -yq unzip libicu-dev libonig-dev libxml2-dev; \ + pecl install pcov libsodium; \ + docker-php-ext-enable pcov sodium; \ + docker-php-ext-install dom tokenizer json mbstring intl xml xmlwriter simplexml iconv + +RUN echo 'memory_limit = 512M' >> /usr/local/etc/php/conf.d/docker-php-memlimit.ini; diff --git a/Makefile b/Makefile new file mode 100644 index 000000000..4a6df7a12 --- /dev/null +++ b/Makefile @@ -0,0 +1,40 @@ +.PHONY: help + +help: + @grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' + +build-php: ## Build PHP image for given version + @echo "Build php $(filter-out $@,$(MAKECMDGOALS))" + @DOCKER_BUILDKIT=1 docker build -t "twbs-helper-php:$(filter-out $@,$(MAKECMDGOALS))" --build-arg "VERSION=$(filter-out $@,$(MAKECMDGOALS))" . + +install: + @$(call run-php,$(filter-out $@,$(MAKECMDGOALS)) composer install --no-progress --no-suggest --prefer-dist --optimize-autoloader) + +shell: + @$(call run-php,$(filter-out $@,$(MAKECMDGOALS)) bash) + +test: + @$(call run-php,$(filter-out $@,$(MAKECMDGOALS)) composer test) + +test-update: + @$(call run-php,$(filter-out $@,$(MAKECMDGOALS)) composer test:update-snapshot) + +lint-fix: + @$(call run-php,$(filter-out $@,$(MAKECMDGOALS)) composer cbf) + +ci: + @$(call run-php,$(filter-out $@,$(MAKECMDGOALS)) composer ci) + +generate-docs: + @$(call run-php,$(filter-out $@,$(MAKECMDGOALS)) composer generate-docs) + +## Run PHP for given version +define run-php + @docker run -it --rm -u $(shell id -u):$(shell id -g) -v ${PWD}:/usr/src/app -w /usr/src/app twbs-helper-php:$(1) +endef + +############################# +# Argument fix workaround +############################# +%: + @: diff --git a/README.md b/README.md index 0303ae09b..4f27f0f6f 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,8 @@ ### [Code coverage](https://codecov.io/gh/neilime/twbs-helper-module) +### [Development](https://neilime.github.io/twbs-helper-module/docs/development/) + ## Author 👤 **ESCEMI ** diff --git a/src/Documentation/Test/Config.php b/src/Documentation/Test/Config.php index 25de23daf..367915f66 100644 --- a/src/Documentation/Test/Config.php +++ b/src/Documentation/Test/Config.php @@ -6,8 +6,14 @@ class Config { public static $TITLE_SEPARATOR = ' / '; + /** + * @var string + */ public $title; + /** + * @var string + */ public $url; public $rendering; @@ -29,7 +35,7 @@ public function getNestedPosition() public function getTitleParts() { - return explode(self::$TITLE_SEPARATOR, $this->title); + return explode(self::$TITLE_SEPARATOR, $this->title ?? ''); } public static function fromArray( diff --git a/src/Documentation/Test/Snapshots/Drivers/HtmlDriver.php b/src/Documentation/Test/Snapshots/Drivers/HtmlDriver.php index a0fcae368..4535f6be8 100644 --- a/src/Documentation/Test/Snapshots/Drivers/HtmlDriver.php +++ b/src/Documentation/Test/Snapshots/Drivers/HtmlDriver.php @@ -6,7 +6,8 @@ class HtmlDriver extends \Spatie\Snapshots\Drivers\HtmlDriver { public function serialize($data): string { - return parent::serialize('' . $data); + $serializedData = parent::serialize(mb_convert_encoding($data, 'HTML-ENTITIES', 'UTF-8')); + return preg_replace('~<(?:!DOCTYPE|/?(?:html|head|body))[^>]*>\s*~i', '', $serializedData); } public function extension(): string diff --git a/tests/TestSuite/Documentation/Test/Snapshots/Drivers/HtmlDriverTest.php b/tests/TestSuite/Documentation/Test/Snapshots/Drivers/HtmlDriverTest.php index 1afa40197..a1c9867b4 100644 --- a/tests/TestSuite/Documentation/Test/Snapshots/Drivers/HtmlDriverTest.php +++ b/tests/TestSuite/Documentation/Test/Snapshots/Drivers/HtmlDriverTest.php @@ -17,9 +17,7 @@ protected function setUp(): void public function testSerialize() { $this->assertEquals( - '' . PHP_EOL . - '

test

' . PHP_EOL, + '

test

', $this->htmlDriver->serialize('test') ); } diff --git a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Accordion/Example/Always_open__1.html b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Accordion/Example/Always_open__1.html index 0d644059e..3e756057c 100644 --- a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Accordion/Example/Always_open__1.html +++ b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Accordion/Example/Always_open__1.html @@ -1,5 +1,4 @@ - -
+

@@ -24,4 +23,4 @@

-
+
\ No newline at end of file diff --git a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Accordion/Example/Flush__1.html b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Accordion/Example/Flush__1.html index 0304e25df..df7d00af4 100644 --- a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Accordion/Example/Flush__1.html +++ b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Accordion/Example/Flush__1.html @@ -1,5 +1,4 @@ - -
+

@@ -24,4 +23,4 @@

@@ -24,4 +23,4 @@

-

+
\ No newline at end of file diff --git a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Alerts/Example/Icons__1.html b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Alerts/Example/Icons__1.html index 28e994c7d..947d20537 100644 --- a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Alerts/Example/Icons__1.html +++ b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Alerts/Example/Icons__1.html @@ -1,5 +1,3 @@ - -
- diff --git a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Alerts/Example/Link_color__1.html b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Alerts/Example/Link_color__1.html index 6fd941f8f..9d3da0d67 100644 --- a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Alerts/Example/Link_color__1.html +++ b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Alerts/Example/Link_color__1.html @@ -1,5 +1,3 @@ - - @@ -24,4 +22,3 @@ - diff --git a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Alerts/Example__1.html b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Alerts/Example__1.html index 906c657b7..5553e34a1 100644 --- a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Alerts/Example__1.html +++ b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Alerts/Example__1.html @@ -1,5 +1,3 @@ - - @@ -24,4 +22,3 @@ - diff --git a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Badges/Examples/Background_colors__1.html b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Badges/Examples/Background_colors__1.html index f257b1461..11da6cca4 100644 --- a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Badges/Examples/Background_colors__1.html +++ b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Badges/Examples/Background_colors__1.html @@ -1,5 +1,3 @@ - - Primary Secondary Success @@ -8,4 +6,3 @@ Info Light Dark - diff --git a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Badges/Examples/Buttons__1.html b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Badges/Examples/Buttons__1.html index e39edda72..83ffc492e 100644 --- a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Badges/Examples/Buttons__1.html +++ b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Badges/Examples/Buttons__1.html @@ -1,5 +1,4 @@ - - + \ No newline at end of file diff --git a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Badges/Examples/Headings__1.html b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Badges/Examples/Headings__1.html index ae767b94a..81744efbd 100644 --- a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Badges/Examples/Headings__1.html +++ b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Badges/Examples/Headings__1.html @@ -1,5 +1,3 @@ - -

Example heading New

Example heading New @@ -12,4 +10,3 @@

Example heading New
Example heading New
- diff --git a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Badges/Examples/Pill_badges__1.html b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Badges/Examples/Pill_badges__1.html index aa2258a09..ee20e05f5 100644 --- a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Badges/Examples/Pill_badges__1.html +++ b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Badges/Examples/Pill_badges__1.html @@ -1,5 +1,3 @@ - - Primary Secondary Success @@ -8,4 +6,3 @@ Info Light Dark - diff --git a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Badges/Examples/Positioned__1.html b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Badges/Examples/Positioned__1.html index f25d86274..27d0febda 100644 --- a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Badges/Examples/Positioned__1.html +++ b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Badges/Examples/Positioned__1.html @@ -1,5 +1,3 @@ - - - diff --git a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Breadcrumb/Dividers__1.html b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Breadcrumb/Dividers__1.html index 81bfee433..9c5f8f2e8 100644 --- a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Breadcrumb/Dividers__1.html +++ b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Breadcrumb/Dividers__1.html @@ -1,5 +1,3 @@ - - - diff --git a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Breadcrumb/Example__1.html b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Breadcrumb/Example__1.html index 6d5c43da3..579a46d42 100644 --- a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Breadcrumb/Example__1.html +++ b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Breadcrumb/Example__1.html @@ -1,5 +1,3 @@ - - @@ -16,4 +14,3 @@ - diff --git a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Button_group/Basic_example__1.html b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Button_group/Basic_example__1.html index 355d242e4..bb1384aec 100644 --- a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Button_group/Basic_example__1.html +++ b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Button_group/Basic_example__1.html @@ -1,5 +1,3 @@ - -
@@ -10,4 +8,3 @@ Link Link
- diff --git a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Button_group/Button_toolbar/Combine_sets_of_button_groups__1.html b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Button_group/Button_toolbar/Combine_sets_of_button_groups__1.html index 549ea4c61..9573856f5 100644 --- a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Button_group/Button_toolbar/Combine_sets_of_button_groups__1.html +++ b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Button_group/Button_toolbar/Combine_sets_of_button_groups__1.html @@ -1,5 +1,4 @@ - - - diff --git a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Card_layout/Grid_cards__1.html b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Card_layout/Grid_cards__1.html index 6f5e96d52..1fc56bacf 100644 --- a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Card_layout/Grid_cards__1.html +++ b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Card_layout/Grid_cards__1.html @@ -1,5 +1,3 @@ - -
@@ -85,4 +83,3 @@
Card title
- diff --git a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Card_styles/Background_and_color__1.html b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Card_styles/Background_and_color__1.html index 1df279681..e0071dc5e 100644 --- a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Card_styles/Background_and_color__1.html +++ b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Card_styles/Background_and_color__1.html @@ -1,5 +1,3 @@ - -
Header @@ -72,4 +70,3 @@
Dark card title

Some quick example text to build on the card title and make up the bulk of the card's content.

- diff --git a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Card_styles/Border__1.html b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Card_styles/Border__1.html index 2cdb363bd..2777f43c5 100644 --- a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Card_styles/Border__1.html +++ b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Card_styles/Border__1.html @@ -1,5 +1,3 @@ - -
Header @@ -72,4 +70,3 @@
DarkPrimary card title

Some quick example text to build on the card title and make up the bulk of the card's content.

- diff --git a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Card_styles/Mixins_utilities__1.html b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Card_styles/Mixins_utilities__1.html index 1988e5294..6a48fddc1 100644 --- a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Card_styles/Mixins_utilities__1.html +++ b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Card_styles/Mixins_utilities__1.html @@ -1,5 +1,4 @@ - -
+
Header
@@ -10,4 +9,4 @@
Success card title
-
+
\ No newline at end of file diff --git a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Content_types/Body__1.html b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Content_types/Body__1.html index 858af6e18..6316dabbb 100644 --- a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Content_types/Body__1.html +++ b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Content_types/Body__1.html @@ -1,6 +1,5 @@ - -
+
This is some text within a card body.
-
+
\ No newline at end of file diff --git a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Content_types/Header_and_footer__1.html b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Content_types/Header_and_footer__1.html index 534d92ae4..ada4affee 100644 --- a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Content_types/Header_and_footer__1.html +++ b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Content_types/Header_and_footer__1.html @@ -1,5 +1,3 @@ - -
Featured @@ -45,4 +43,3 @@
Special title treatment
2 days ago
- diff --git a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Content_types/Images__1.html b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Content_types/Images__1.html index 8065f5206..9f3b82f59 100644 --- a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Content_types/Images__1.html +++ b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Content_types/Images__1.html @@ -1,7 +1,6 @@ - -
+
...

Some quick example text to build on the card title and make up the bulk of the card's content.

-
+
\ No newline at end of file diff --git a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Content_types/Kitchen_sink__1.html b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Content_types/Kitchen_sink__1.html index 5e2ecea35..c4b6aa227 100644 --- a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Content_types/Kitchen_sink__1.html +++ b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Content_types/Kitchen_sink__1.html @@ -1,5 +1,4 @@ - -
+
...
Card title
@@ -14,4 +13,4 @@
Card title
Card link Another link
-
+
\ No newline at end of file diff --git a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Content_types/List_groups__1.html b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Content_types/List_groups__1.html index 1383035d0..99c9ba224 100644 --- a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Content_types/List_groups__1.html +++ b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Content_types/List_groups__1.html @@ -1,5 +1,3 @@ - -
  • An item
  • @@ -29,4 +27,3 @@ Card footer
- diff --git a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Content_types/Titles_text_and_links__1.html b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Content_types/Titles_text_and_links__1.html index b0ed2fa5a..1917225d1 100644 --- a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Content_types/Titles_text_and_links__1.html +++ b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Content_types/Titles_text_and_links__1.html @@ -1,5 +1,4 @@ - -
+
Card title
Card subtitle
@@ -7,4 +6,4 @@
Card subtitle
Card link Another link
-
+
\ No newline at end of file diff --git a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Example__1.html b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Example__1.html index 193c7af7a..73cbba0ab 100644 --- a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Example__1.html +++ b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Example__1.html @@ -1,9 +1,8 @@ - -
+
...
Card title

Some quick example text to build on the card title and make up the bulk of the card's content.

Go somewhere
-
+
\ No newline at end of file diff --git a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Horizontal__1.html b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Horizontal__1.html index 6d470b8ed..42b9620f0 100644 --- a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Horizontal__1.html +++ b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Horizontal__1.html @@ -1,5 +1,4 @@ - -
+
... @@ -12,4 +11,4 @@
Card title
-
+
\ No newline at end of file diff --git a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Images/Image_caps__1.html b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Images/Image_caps__1.html index fb08dabfd..a03ff5870 100644 --- a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Images/Image_caps__1.html +++ b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Images/Image_caps__1.html @@ -1,5 +1,3 @@ - -
...
@@ -16,4 +14,3 @@
Card title
...
- diff --git a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Images/Image_overlays__1.html b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Images/Image_overlays__1.html index b12a949a7..468e2002e 100644 --- a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Images/Image_overlays__1.html +++ b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Images/Image_overlays__1.html @@ -1,9 +1,8 @@ - -
+
...
Card title

This is a wider card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.

Last updated 3 mins ago

-
+
\ No newline at end of file diff --git a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Navigation__1.html b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Navigation__1.html index 9f8c03299..d394c3419 100644 --- a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Navigation__1.html +++ b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Navigation__1.html @@ -1,5 +1,3 @@ - -
- diff --git a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Sizing/Using_custom_CSS__1.html b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Sizing/Using_custom_CSS__1.html index dd0687c74..c519dd977 100644 --- a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Sizing/Using_custom_CSS__1.html +++ b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Sizing/Using_custom_CSS__1.html @@ -1,8 +1,7 @@ - -
+
Special title treatment

With supporting text below as a natural lead-in to additional content.

Go somewhere
-
+
\ No newline at end of file diff --git a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Sizing/Using_grid_markup__1.html b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Sizing/Using_grid_markup__1.html index 6240521ad..2fd31c4a1 100644 --- a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Sizing/Using_grid_markup__1.html +++ b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Sizing/Using_grid_markup__1.html @@ -1,5 +1,4 @@ - -
+
@@ -18,4 +17,4 @@
Special title treatment
-
+
\ No newline at end of file diff --git a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Sizing/Using_utilities__1.html b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Sizing/Using_utilities__1.html index b5d541316..78fb1a2f9 100644 --- a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Sizing/Using_utilities__1.html +++ b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Sizing/Using_utilities__1.html @@ -1,5 +1,3 @@ - -
Card title
@@ -15,4 +13,3 @@
Card title
Button
- diff --git a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Text_alignment__1.html b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Text_alignment__1.html index 0695b67b0..545c0f778 100644 --- a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Text_alignment__1.html +++ b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Card/Text_alignment__1.html @@ -1,5 +1,3 @@ - -
Special title treatment
@@ -23,4 +21,3 @@
Special title treatment
Go somewhere
- diff --git a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Carousel/Dark_variant__1.html b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Carousel/Dark_variant__1.html index d100043fc..dfb063008 100644 --- a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Carousel/Dark_variant__1.html +++ b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Carousel/Dark_variant__1.html @@ -1,5 +1,4 @@ - - \ No newline at end of file diff --git a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Carousel/Example/Crossfade__1.html b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Carousel/Example/Crossfade__1.html index 31cd49905..cad7ac6ce 100644 --- a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Carousel/Example/Crossfade__1.html +++ b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Carousel/Example/Crossfade__1.html @@ -1,5 +1,4 @@ - - - diff --git a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Dropdowns/Directions/Dropleft__1.html b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Dropdowns/Directions/Dropleft__1.html index f90e1c6ff..90b7f2bcd 100644 --- a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Dropdowns/Directions/Dropleft__1.html +++ b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Dropdowns/Directions/Dropleft__1.html @@ -1,5 +1,3 @@ - -
- diff --git a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Dropdowns/Directions/Dropright__1.html b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Dropdowns/Directions/Dropright__1.html index 03ca37acb..7ef3284e4 100644 --- a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Dropdowns/Directions/Dropright__1.html +++ b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Dropdowns/Directions/Dropright__1.html @@ -1,5 +1,3 @@ - -
- diff --git a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Dropdowns/Directions/Dropup__1.html b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Dropdowns/Directions/Dropup__1.html index 22f66691b..602b73981 100644 --- a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Dropdowns/Directions/Dropup__1.html +++ b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Dropdowns/Directions/Dropup__1.html @@ -1,5 +1,3 @@ - -
- diff --git a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Dropdowns/Dropdown_options/Auto_close_behavior__1.html b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Dropdowns/Dropdown_options/Auto_close_behavior__1.html index 3e8acaca8..4cd19f8c2 100644 --- a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Dropdowns/Dropdown_options/Auto_close_behavior__1.html +++ b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Dropdowns/Dropdown_options/Auto_close_behavior__1.html @@ -1,5 +1,3 @@ - - - diff --git a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Dropdowns/Dropdown_options__1.html b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Dropdowns/Dropdown_options__1.html index f1cfb0b74..19a749f1a 100644 --- a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Dropdowns/Dropdown_options__1.html +++ b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Dropdowns/Dropdown_options__1.html @@ -1,5 +1,4 @@ - -
+
-
+
\ No newline at end of file diff --git a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Dropdowns/Examples/Single_button__1.html b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Dropdowns/Examples/Single_button__1.html index a03a272a4..a3f95ac3d 100644 --- a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Dropdowns/Examples/Single_button__1.html +++ b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Dropdowns/Examples/Single_button__1.html @@ -1,5 +1,3 @@ - - - diff --git a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Dropdowns/Examples/Split_button__1.html b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Dropdowns/Examples/Split_button__1.html index 72ebe0abf..176465cbd 100644 --- a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Dropdowns/Examples/Split_button__1.html +++ b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Dropdowns/Examples/Split_button__1.html @@ -1,5 +1,3 @@ - -
@@ -66,4 +64,3 @@
  • Separated link
  • - diff --git a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Dropdowns/Menu_alignment/Alignment_options__1.html b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Dropdowns/Menu_alignment/Alignment_options__1.html index 392bf5938..b8bef52ec 100644 --- a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Dropdowns/Menu_alignment/Alignment_options__1.html +++ b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Dropdowns/Menu_alignment/Alignment_options__1.html @@ -1,5 +1,3 @@ - -
    - diff --git a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Dropdowns/Menu_alignment/Responsive_alignment__1.html b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Dropdowns/Menu_alignment/Responsive_alignment__1.html index 74b5fa6bb..e6fa3b9d6 100644 --- a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Dropdowns/Menu_alignment/Responsive_alignment__1.html +++ b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Dropdowns/Menu_alignment/Responsive_alignment__1.html @@ -1,5 +1,3 @@ - - - diff --git a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Dropdowns/Menu_alignment__1.html b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Dropdowns/Menu_alignment__1.html index 5822f18e6..63c8daece 100644 --- a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Dropdowns/Menu_alignment__1.html +++ b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Dropdowns/Menu_alignment__1.html @@ -1,9 +1,8 @@ - - \ No newline at end of file diff --git a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Dropdowns/Menu_content/Dividers__1.html b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Dropdowns/Menu_content/Dividers__1.html index aa16f76a3..5906c555c 100644 --- a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Dropdowns/Menu_content/Dividers__1.html +++ b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Dropdowns/Menu_content/Dividers__1.html @@ -1,8 +1,7 @@ - - \ No newline at end of file diff --git a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Dropdowns/Menu_content/Forms__1.html b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Dropdowns/Menu_content/Forms__1.html index 53871bc6c..7ef2c7799 100644 --- a/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Dropdowns/Menu_content/Forms__1.html +++ b/tests/TestSuite/Documentation/Tests/__snapshots__/Components/Dropdowns/Menu_content/Forms__1.html @@ -1,5 +1,3 @@ - -