Skip to content

Commit

Permalink
Remove old external link styling (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-schneider authored Feb 6, 2024
1 parent 4dd55d6 commit 00b71df
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 17 deletions.
8 changes: 4 additions & 4 deletions preview-src/asciidoc/blocks.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ The document header is useful, but not required.
== Blockquote


[,'Famous Person. Cum dicat putant ne.','Cum dicat putant ne. https://example.com[Famous Person Website^,role=external]']
[,'Famous Person. Cum dicat putant ne.','Cum dicat putant ne. https://example.com[Famous Person Website]']
____
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Mauris eget leo nunc, nec tempus mi? Curabitur id nisl mi, ut vulputate urna.
Expand All @@ -112,12 +112,12 @@ ____

[NOTE]
====
The AsciiDoc language supports embedding math-mode macros from https://docs.mathjax.org/en/latest/input/tex/index.html[LaTeX^,role=external] and/or https://docs.mathjax.org/en/latest/input/asciimath.html[AsciiMath^,role=external] notation as block or inline elements.
The AsciiDoc language supports embedding math-mode macros from https://docs.mathjax.org/en/latest/input/tex/index.html[LaTeX] and/or https://docs.mathjax.org/en/latest/input/asciimath.html[AsciiMath] notation as block or inline elements.
These elements act as passthroughs to preserve the expressions as entered.
The expressions are then passed on to the converter to be processed and rendered for display using a STEM provider (e.g., MathJax).
Although AsciiDoc supports STEM at the https://docs.asciidoctor.org/asciidoc/latest/stem/[language level^,role=external], the STEM provider must be configured in the output converter to render the expressions.
See the discussion in https://gitlab.com/antora/antora/-/issues/184[Antora Issue #184^,role=external] to learn more about the requirements for configuring STEM in Antora.
Although AsciiDoc supports STEM at the https://docs.asciidoctor.org/asciidoc/latest/stem/[language level], the STEM provider must be configured in the output converter to render the expressions.
See the discussion in https://gitlab.com/antora/antora/-/issues/184[Antora Issue #184] to learn more about the requirements for configuring STEM in Antora.
====

=== Inline stem macro
Expand Down
2 changes: 1 addition & 1 deletion preview-src/asciidoc/images.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ Click the Astra Vector icon image:../img/astra-vector-light.svg[title="Astra Vec

[NOTE]
======
You can define icons from https://fonts.google.com/icons?icon.set=Material+Icons&icon.style=Outlined[Material Icons,role=external,window=_blank] or an svg file using the customized `icon` macro or the `material-icons` role.
You can define icons from https://fonts.google.com/icons?icon.set=Material+Icons&icon.style=Outlined[Material Icons,window=_blank] or an svg file using the customized `icon` macro or the `material-icons` role.
Method 1: Inline icon macro with an svg file::
The customized inline icon macro accepts a file path as it's target source. The file must be an svg file.
Expand Down
2 changes: 1 addition & 1 deletion preview-src/asciidoc/tables.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ It's designed for:
* portability

image::https://upload.wikimedia.org/wikipedia/commons/a/a0/Firefox_logo%2C_2019.svg[Firefox logo,align=left,link=https://getfirefox.com]
https://getfirefox.com[Get Firefox^,role=external]!
https://getfirefox.com[Get Firefox]!

|Arquillian
|Testing
Expand Down
10 changes: 5 additions & 5 deletions preview-src/asciidoc/tabsets.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@

[NOTE]
====
Tabsets depend on the https://github.com/asciidoctor/asciidoctor-tabs[Asciidoctor Tabs^,role=external] extension.
Tabsets depend on the https://github.com/asciidoctor/asciidoctor-tabs[Asciidoctor Tabs] extension.
Tabs syncing is controlled by the `tabs-sync-option` attribute.
For more information, see the Asciidoctor Tabs https://github.com/asciidoctor/asciidoctor-tabs#tabs-sync[documentation^,role=external].
For more information, see the Asciidoctor Tabs https://github.com/asciidoctor/asciidoctor-tabs#tabs-sync[documentation].
====

== Basic tabset
Expand Down Expand Up @@ -222,10 +222,10 @@ wget https://archive.apache.org/dist/cassandra/4.1.2/apache-cassandra-4.1.2-bin.
+
[NOTE]
====
To download a different version of Cassandra, visit the https://archive.apache.org/dist/cassandra/[Apache Archives^,role=external].
To download a different version of Cassandra, visit the https://archive.apache.org/dist/cassandra/[Apache Archives].
====
+
. (Optional) Verify the integrity of the downloaded tarball using one of the methods https://www.apache.org/dyn/closer.cgi#verify[here^,role=external].
. (Optional) Verify the integrity of the downloaded tarball using one of the methods https://www.apache.org/dyn/closer.cgi#verify[here].
+
.. For example, to verify the SHA256 hash of the downloaded file using GPG:
+
Expand All @@ -243,7 +243,7 @@ curl -L https://archive.apache.org/dist/cassandra/4.1.2/apache-cassandra-4.1.2-b
Debian::
+
. (Optional) Verify the integrity of the downloaded tarball using one of the methods https://www.apache.org/dyn/closer.cgi#verify[here^,role=external].
. (Optional) Verify the integrity of the downloaded tarball using one of the methods https://www.apache.org/dyn/closer.cgi#verify[here].
+
.. For example, to verify the SHA256 hash of the downloaded file using GPG:
+
Expand Down
6 changes: 3 additions & 3 deletions preview-src/asciidoc/text-formatting.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@ Instead of having to enclose text within <<text-formatting,tags or special chara

=== External link

The UI automatically applies a https://materialui.co/icon/open-in-new[special icon] to external links.
(An external link is any link that doesn't target a topic on `docs.datastax.com`.)
The UI automatically applies the https://fonts.google.com/icons?selected=Material+Symbols+Outlined:open_in_new:[open_in_new] icon to external links.
(An external link is any link that doesn't target a page on `docs.datastax.com`.)

In the rare case where you don't want the special icon to appear for a particular external link, just apply `role=remove-ext-icon` to https://materialui.co/icon/open-in-new[remove it,role=remove-ext-icon].
In the rare case where you don't want the special icon to appear for a particular external link, just apply `role=remove-ext-icon` to https://fonts.google.com/icons?selected=Material+Symbols+Outlined:open_in_new:[remove it,role=remove-ext-icon].

=== Unresolved link

Expand Down
4 changes: 2 additions & 2 deletions preview-src/page-templates/integrations-detail.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ This combination enhances vector data analysis, allowing natural language data t
.Architecture diagram
image::../img/placeholder-image.svg["Diagram of LangChain integration architecture"]
To get started, ensure you have an https://example.com[active LangChain account^,role=external] with the requisite permissions.
To get started, ensure you have an https://example.com[active LangChain account] with the requisite permissions.
You will also need an https://example.com[active LangChain account^,role=external] an access to its API keys.
You will also need an https://example.com[active LangChain account] an access to its API keys.
== Setup
Expand Down
2 changes: 1 addition & 1 deletion preview-src/page-templates/tutorial.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ image::../img/placeholder-image.svg["Tutorial overview"]
== Prerequisites
To get started, ensure you have an {astra-link}[active Astra account^,role=external] with the requisite permissions.
To get started, ensure you have an {astra-link}[active Astra account] with the requisite permissions.
[.step]
=== Install the Python SDK and open a Python REPL
Expand Down

0 comments on commit 00b71df

Please sign in to comment.