TYPO3 Logo
Sphinx TYPO3 Theme Rendering Test
  • Added object types
  • Admonitions and buttons
  • Block quotes
  • Codeblocks
  • confval
  • Directives
    • glossary
    • raw
    • sphinx.ext.graphviz
    • Plantuml basic examples
    • sphinxcontrib-slide
    • sphinxcontrib-t3fieldlisttable
    • sphinxcontrib-youtube
    • versionadded & friends
  • ExtLinks and Link styles
  • Developing & Using Extensions
  • Field lists
  • Fonts
  • Highlighting
  • Images and figures
  • Inline code and text roles
  • Line blocks
  • LinkTargets
  • Lists
  • List Items as Buttons
  • Markdown files
    • “Keep a changelog” example
  • Nested pages
    • Page title
      • Page title
        • Page title
          • Page title
            • Page title
  • Phpdomain
  • Replacements
    • Full example of an "About the project" page
  • Sitemap
  • Special characters
  • Sphinx panels
  • sphinx-tabs
  • Styled numbered lists
  • Tables
  • This and that
  • Typesetting
  • Typesetting H1
  • Typesetting H1
  • Varying ad hoc tests
  • Copyright
  • Index
  • Lexers of Pygments 2.5.2

PAGE CONTENTS

  • ExtLinks and Link styles
    • ExtLinks
    • Various
      • Within a page
      • Other, within page
      • External links, outside TYPO3 universe
      • External links, inside TYPO3 universe
  1. Start
  2. ExtLinks and Link styles
View source How to edit Edit on GitHub

Display settings


Color scheme of code blocks:


ExtLinks and Link styles¶

This page

  • ExtLinks

  • Various

    • Within a page

    • Other, within page

    • External links, outside TYPO3 universe

    • External links, inside TYPO3 universe

ExtLinks¶

In conf.py we have:

extlinks = {}
extlinks["forge"] = ("https://forge.typo3.org/issues/%s", "Forge #")
extlinks["issue"] = ("https://forge.typo3.org/issues/%s", "Issue #")
extlinks["review"] = ("https://review.typo3.org/%s", "Review #")

Defined in Settings.cfg:

[extlinks]

example1    = https://example.org/%s                    | example#
example2    = https://example.org/%s                    | example↗
example3    = https://example.org/%s                    | example:
forge       = https://forge.typo3.org/issues/%s         | forge#
issue       = https://forge.typo3.org/issues/%s"        | forge:
packagist   = https://packagist.org/packages/%s         |
review      = https://review.typo3.org/%s               | review:
t3ext       = https://extensions.typo3.org/extension/%s | EXT:
theme-issue = https://github.com/TYPO3-Documentation/sphinx_typo3_theme/issues/%s | theme#

Source:

===== ================================= ================================== =========================
Line  Notation                          Alt-notation                       Result
===== ================================= ================================== =========================
1     ``:example1:`dummy```             ```dummy`:example1:``              :example1:`dummy`
2     ``:example2:`dummy```             ```dummy`:example2:``              :example2:`dummy`
3     ``:example3:`dummy```             ```dummy`:example3:``              :example3:`dummy`
4     ``:forge:`345```                  ```345`:forge:``                   :forge:`345`
5     ``:issue:`12345```                ```12345`:issue:``                 :issue:`12345`
6     ``:packagist:`georgringer/news``` ```georgringer/news`:packagist:``  :packagist:`georgringer/news`
7     ``:review:`567```                 ```567`:review:``                  :review:`567`
8     ``:t3ext:`news```                 ```news`:t3ext:``                  :t3ext:`news`
9     ``:theme-issue:`21```             ```21`:theme-issue:``              :theme-issue:`21`
===== ================================= ================================== =========================

Rendering:

Line

Notation

Alt-notation

Result

1

:example1:`dummy`

`dummy`:example1:

example#dummy

2

:example2:`dummy`

`dummy`:example2:

example↗dummy

3

:example3:`dummy`

`dummy`:example3:

example:dummy

4

:forge:`345`

`345`:forge:

forge#345

5

:issue:`12345`

`12345`:issue:

forge#12345

6

:packagist:`georgringer/news`

`georgringer/news`:packagist:

georgringer/news

7

:review:`567`

`567`:review:

review:567

8

:t3ext:`news`

`news`:t3ext:

EXT:news

9

:theme-issue:`21`

`21`:theme-issue:

theme#21

Various¶

Within a page¶

Source:

Defining a _`target`.

Rendering:

Defining a target.

Source:

Linking to that `target`_.

Rendering:

Linking to that target.

Other, within page¶

Source:

Let's link to `various`_.

Result:

Let's link to various.

External links, outside TYPO3 universe¶

The domain names https://example.com, https://example.net, https://example.org, and https://example.edu are second-level domain names in the Domain Name System of the Internet. They are reserved by the Internet Assigned Numbers Authority (IANA) at the direction of the Internet Engineering Task Force (IETF) as special-use domain names for documentation purposes.

Expected:

<a class="reference external" href="https://example.com" rel="nofollow noopener">https://example.com</a>
<a class="reference external" href="https://example.net" rel="nofollow noopener">https://example.net</a>
<a class="reference external" href="https://example.org" rel="nofollow noopener">https://example.org</a>
<a class="reference external" href="https://example.edu" rel="nofollow noopener">https://example.edu</a>

External links, inside TYPO3 universe¶

  • https://typo3.org/

  • https://typo3.com/

  • https://docs.typo3.org/

Expected:

<a class="reference external" href="https://typo3.org/">https://typo3.org/</a>
<a class="reference external" href="https://typo3.com/">https://typo3.com/</a>
<a class="reference external" href="https://docs.typo3.org/">https://docs.typo3.org/</a>
  • Previous
  • Next
  • Home
  • Contact
  • Discussions
  • Issues
  • Repository

Page last updated: Aug 26, 2023 19:45

Last rendered: Aug 26, 2023 19:46

  • TYPO3 Theme 4.9.0
  • DRC v3.2.1
© Copyright 2020, TYPO3 Documentation Team