All pages
Powered by GitBook
1 of 1

Loading...

About Links

This page is for contributors to the MariaDB Documentation and goes into detail on the internals of links. This page is not about MariaDB. If you're interested in contributing to the MariaDB Docs, please also see the Contributing Documentation and Documentation Style Guide pages.

There are three types of links in the MariaDB docs: external, relative, and space. The general rules for when to use each are:

  • If the link is outside of https://mariadb.com/docs/ → Use an External Link

  • If the link is to a page in the same space → Use a

  • If the link is to a page in another space → Use a

See for information on what Spaces are.

About Spaces

In GitBook (our documentation system), Spaces are the main sections of the site you see along the top of every docs page:

What space you are in is very important in determining whether you need to use a or link. Gitbook identifies Spaces via a unique space identifier. See the section for more details. We also have a handy for use when creating space links in Markdown.

In the on GitHub, the spaces are the top-level folders.

External Links

External links are the easiest, they are to external pages outside the site. Some examples in Markdown syntax of external links are:

Technically, you can use external links for links to docs content, you just put in the full URI to the page you want to link to. However, if you do that we lose the ability to automatically update the link if the page you're linking to is moved or renamed. So for links to docs content we prefer to use or .

Relative Links

Relative links are links to a page in the same space, relative to the page you are editing. For example a relative link to the page, from this page, looks like this in Markdown:

One big limitation of relative links is that they cannot cross boundaries.

This page you are currently reading is under the space, so we can use internal links to link to other pages under https://mariadb.com/docs/general-resources/. If we want to link to a page in another space, we need to use .

Space Links

To link to pages in other we need to use special Space Links which use an internal identifier so that GitBook knows exactly what page you are pointing to.

A space link begins with https://app.gitbook.com/s/ , followed by a unique alphanumeric space identifier (in this doc we'll call both of these together the space prefix), and finally the path to the page without the final .md extension that exists in the source code.

The path is everything after the space name in a full page URI. For example, take the following full URI for the page:

In this URI, the space name is server and the path, if you were creating a space link, is:

To convert that into a space link we need to get the Server space identifier and combine it with the path. Rather than list out just the identifiers for our spaces, we have a that you can copy from when creating space links.

Continuing with our example, a full space link in Markdown for the page is: space prefix (for the Server space) + path:

See the section for a list of all of our space prefixes.

List of Space Prefixes

A handy list of all space prefixes for the MariaDB Docs:

space prefix

space prefix

space prefix

space prefix

space prefix

space prefix

space prefix

space prefix

space prefix

space prefix

Space Link Examples

Here are some examples of Markdown links to various pages using space links:

in the Server space

in the Release Notes space

in the Connectors space

When Space Links are rendered to the public site, GitBook handles translating Space Links into a link to the correct page. And if a page is moved or renamed then the link will be automatically updated on every page it appears on.

Relative Link
Space Link
About Spaces
Relative
Space
Space Links
list of Space prefixes
documentation source repository
https://mariadb.com/docs
Relative Links
Space Links
Joining the Community
Space
General Resources
Space Links
Spaces
List of Space Prefixes
List of Space Prefixes
General Resources
MariaDB 12.1 Changes & Improvements
MariaDB Platform
Server
MaxScale
Analytics
Galera Cluster
Connectors
Tools
MariaDB Cloud
Release Notes
* [Example Website](https://example.com)
* [MariaDB Corp Blog](https://mariadb.com/blog)
* [MariaDB JIRA](https://jira.mariadb.org)
[Joining the Community](../../community/joining-the-community.md)
https://mariadb.com/docs/server/security/securing-mariadb
/security/securing-mariadb
[Securing MariaDB](https://app.gitbook.com/s/SsmexDFPv2xG2OTyO5yV/security/securing-mariadb)
https://app.gitbook.com/s/JqgUabdZsoY5EiaJmqgn
https://app.gitbook.com/s/SsmexDFPv2xG2OTyO5yV
https://app.gitbook.com/s/0pSbu5DcMSW4KwAkUcmX
https://app.gitbook.com/s/rBEU9juWLfTDcdwF3Q14
https://app.gitbook.com/s/3VYeeVGUV4AMqrA3zwy7
https://app.gitbook.com/s/CjGYMsT2MVP4nd3IyW2L
https://app.gitbook.com/s/kuTXWg0NDbRx6XUeYpGD
https://app.gitbook.com/s/vPz15Lz0Iw3P3yKR3Prd
https://app.gitbook.com/s/aEnK0ZXmUbJzqQrTjFyb
https://app.gitbook.com/s/WCInJQ9cmGjq1lsTG91E
[Options, System & Status Variables](https://app.gitbook.com/s/SsmexDFPv2xG2OTyO5yV/server-management/variables-and-modes/full-list-of-mariadb-options-system-and-status-variables)
[MariaDB 12.1 Changes & Improvements](https://app.gitbook.com/s/aEnK0ZXmUbJzqQrTjFyb/community-server/release-notes-mariadb-12.1-rolling-releases/changes-and-improvements-in-mariadb-12.1)
[MariaDB Connector/C Guide](https://app.gitbook.com/s/CjGYMsT2MVP4nd3IyW2L/connectors-quickstart-guides/mariadb-connector-c-guide)
MariaDB Connector/C Guide
Securing MariaDB
Securing MariaDB
Options, System & Status Variables