Merge branch 'main' into fix-2107

This commit is contained in:
Rodrigo Girão Serrão
2023-03-23 11:04:21 +00:00
4 changed files with 36 additions and 31 deletions

View File

@@ -43,6 +43,11 @@ docs-serve: clean-screenshot-cache docs-online-nav
$(run) mkdocs serve --config-file mkdocs-nav-online.yml
rm -f mkdocs-nav-online.yml
.PHONY: docs-serve-offline
docs-serve-offline: clean-screenshot-cache docs-offline-nav
$(run) mkdocs serve --config-file mkdocs-nav-offline.yml
rm -f mkdocs-nav-offline.yml
.PHONY: docs-build
docs-build: docs-online-nav
$(run) mkdocs build --config-file mkdocs-nav-online.yml

View File

@@ -1,12 +1,12 @@
This example shows all border title and subtitle alignments, together with some examples of how (sub)titles can have custom markup.
Open the code tabs to see the details of the code examples.
Open the code tabs to see the details of the code examples.
=== "Output"
=== "Output"
```{.textual path="docs/examples/styles/border_sub_title_align_all.py"}
```
=== "border_sub_title_align_all.py"
=== "border_sub_title_align_all.py"
```py hl_lines="6 18 24 30 39 40 42 45 51 57 63"
--8<-- "docs/examples/styles/border_sub_title_align_all.py"
@@ -24,7 +24,7 @@ This example shows all border title and subtitle alignments, together with some
10. The title and subtitle are aligned on the right and very long, so they get truncated and we can still see the leftmost character of the border edge.
11. An auxiliary function to create labels with border title and subtitle.
=== "border_sub_title_align_all.css"
=== "border_sub_title_align_all.css"
```sass hl_lines="12 16 30 34 41 46"
--8<-- "docs/examples/styles/border_sub_title_align_all.css"

View File

@@ -40,7 +40,7 @@ This example shows three labels, each with a different border subtitle alignment
```
### All title and subtitle combinations
### Complete usage reference
--8<-- "docs/snippets/border_sub_title_align_all_example.md"

View File

@@ -40,7 +40,7 @@ This example shows three labels, each with a different border title alignment:
```
### All title and subtitle combinations
### Complete usage reference
--8<-- "docs/snippets/border_sub_title_align_all_example.md"