Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -668,6 +668,7 @@ jobs:
if: startsWith(github.ref, 'refs/tags/') && runner.os == 'Linux'
id: download-prev-demos
uses: actions/download-artifact@v4
continue-on-error: true
with:
name: demos-develop-${{ runner.os }}
path: demos-previous
Expand All @@ -682,6 +683,13 @@ jobs:
LOCAL_DEMOS_DIR="./demos/"
PREV_DEMOS_DIR="./demos-previous/"
DIFF_DIR="./demos-diff/"

# Check if PREV_DEMOS_DIR exists and is not empty
if [[ ! -d $PREV_DEMOS_DIR || -z $(ls -A $PREV_DEMOS_DIR) ]]; then
echo "No previous demos found."
echo "diff=false" >> $GITHUB_OUTPUT
exit 0
fi

# Create directories if they don't exist
mkdir -p $PREV_DEMOS_DIR $DIFF_DIR
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
https://gitlab.com/antora/antora/-/issues/428
}}
{{#if (starts_with href "#")~}}
<<{{{href}}},{{> @partial-block }}>>
<<{{{remove_prefix href "#"}}},{{> @partial-block }}>>
{{~else if (starts_with href "/")~}}
xref:{{{remove_prefix href "/"}}}[{{> @partial-block }}]
{{~else if (starts_with href ".")~}}
Expand Down
6 changes: 3 additions & 3 deletions test-files/golden-tests/core/libcxx.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
|===
| Name | Description

| <<#std,`std`>>
| <<std,`std`>>
|

|===
Expand All @@ -18,7 +18,7 @@
|===
| Name | Description

| <<#sqrt,`sqrt`>>
| <<sqrt,`sqrt`>>
| Computes the square root of an integral value&period;


Expand All @@ -43,7 +43,7 @@ Declared in `&lt;libcxx&period;cpp&gt;`
[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
template&lt;typename T&gt;
<<#std,std>>::T
<<std,std>>::T
sqrt(T value);
----

Expand Down
2 changes: 1 addition & 1 deletion test-files/golden-tests/core/utf-8.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
|===
| Name | Description

| <<#Христос_воскрес,`Христос&lowbar;воскрес`>>
| <<Христос_воскрес,`Христос&lowbar;воскрес`>>
|

|===
Expand Down
6 changes: 3 additions & 3 deletions test-files/golden-tests/filters/file/include-self.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
|===
| Name | Description

| <<#TEST,`TEST`>>
| <<TEST,`TEST`>>
|

|===
Expand All @@ -22,13 +22,13 @@
|===
| Name | Description

| <<#TEST-SUCCESS,`SUCCESS`>>
| <<TEST-SUCCESS,`SUCCESS`>>
|

|===

[#TEST-SUCCESS]
== <<#TEST,TEST>>::SUCCESS
== <<TEST,TEST>>::SUCCESS

=== Synopsis

Expand Down
40 changes: 20 additions & 20 deletions test-files/golden-tests/filters/symbol-name/blacklist_0.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@
|===
| Name | Description

| <<#N0,`N0`>>
| <<N0,`N0`>>
|

| <<#N3,`N3`>>
| <<N3,`N3`>>
|

| <<#N4,`N4`>>
| <<N4,`N4`>>
|

| <<#N7,`N7`>>
| <<N7,`N7`>>
|

|===
Expand All @@ -31,13 +31,13 @@
|===
| Name | Description

| <<#N0-f0,`f0`>>
| <<N0-f0,`f0`>>
|

|===

[#N0-f0]
== <<#N0,N0>>::f0
== <<N0,N0>>::f0

=== Synopsis

Expand All @@ -61,29 +61,29 @@ f0();
|===
| Name | Description

| <<#N4-N5,`N5`>>
| <<N4-N5,`N5`>>
|

| <<#N4-N6,`N6`>>
| <<N4-N6,`N6`>>
|

|===

[#N4-N5]
== <<#N4,N4>>::N5
== <<N4,N4>>::N5

=== Functions
[cols=2]
|===
| Name | Description

| <<#N4-N5-f1,`f1`>>
| <<N4-N5-f1,`f1`>>
|

|===

[#N4-N5-f1]
== <<#N4,N4>>::<<#N4-N5,N5>>::f1
== <<N4,N4>>::<<N4-N5,N5>>::f1

=== Synopsis

Expand All @@ -96,20 +96,20 @@ f1();
----

[#N4-N6]
== <<#N4,N4>>::N6
== <<N4,N4>>::N6

=== Functions
[cols=2]
|===
| Name | Description

| <<#N4-N6-f1,`f1`>>
| <<N4-N6-f1,`f1`>>
|

|===

[#N4-N6-f1]
== <<#N4,N4>>::<<#N4-N6,N6>>::f1
== <<N4,N4>>::<<N4-N6,N6>>::f1

=== Synopsis

Expand All @@ -129,33 +129,33 @@ f1();
|===
| Name | Description

| <<#N7-N8,`N8`>>
| <<N7-N8,`N8`>>
|

| <<#N7-N9,`N9`>>
| <<N7-N9,`N9`>>
|

|===

[#N7-N8]
== <<#N7,N7>>::N8
== <<N7,N7>>::N8


[#N7-N9]
== <<#N7,N7>>::N9
== <<N7,N7>>::N9

=== Functions
[cols=2]
|===
| Name | Description

| <<#N7-N9-g0,`g0`>>
| <<N7-N9-g0,`g0`>>
|

|===

[#N7-N9-g0]
== <<#N7,N7>>::<<#N7-N9,N9>>::g0
== <<N7,N7>>::<<N7-N9,N9>>::g0

=== Synopsis

Expand Down
Loading
Loading