From bba38c31ac995f0a82338358f4171990a0fe7fb4 Mon Sep 17 00:00:00 2001 From: Kyle Robbertze Date: Fri, 14 Mar 2025 11:46:04 +0000 Subject: [PATCH] docs: fix broken codeblocks (#3142) --- docs/admin-manual/README.md | 2 +- docs/admin-manual/install/install-using-docker.mdx | 5 ++--- .../install/install-using-the-installer.mdx | 11 ++++------- docs/admin-manual/stream-configuration.md | 2 +- .../setup-a-pulseaudio-output-inside-containers.md | 2 +- docs/developer-manual/widgets.md | 2 +- 6 files changed, 10 insertions(+), 14 deletions(-) diff --git a/docs/admin-manual/README.md b/docs/admin-manual/README.md index e18e313ae..ad5003d45 100644 --- a/docs/admin-manual/README.md +++ b/docs/admin-manual/README.md @@ -23,7 +23,7 @@ Before following any steps, be sure that your system is up-to-date. - [:rocket: Install LibreTime](./install/README.md) - [:arrow_up: Upgrade from a previous install](./install/upgrade.md) -- [:airplane_arriving: Migrate from Airtime](./install/migrate-from-airtime.md) +- [:arrow_lower_right: Migrate from Airtime](./install/migrate-from-airtime.md) - [:gear: Configure your installation](./configuration.md) - [:lock: Put your installation behind a reverse proxy](./install/reverse-proxy.md) diff --git a/docs/admin-manual/install/install-using-docker.mdx b/docs/admin-manual/install/install-using-docker.mdx index 2c085e759..100c86532 100644 --- a/docs/admin-manual/install/install-using-docker.mdx +++ b/docs/admin-manual/install/install-using-docker.mdx @@ -18,9 +18,8 @@ Before installing LibreTime, you need to make sure that [Docker](https://docs.do First, set the version you want to install: - - echo LIBRETIME_VERSION="{vars.version}" > .env - +{/* prettier-ignore */} +echo LIBRETIME_VERSION="{vars.version}" > .env Download the docker compose files from the repository: diff --git a/docs/admin-manual/install/install-using-the-installer.mdx b/docs/admin-manual/install/install-using-the-installer.mdx index bec320545..b53c4fe93 100644 --- a/docs/admin-manual/install/install-using-the-installer.mdx +++ b/docs/admin-manual/install/install-using-the-installer.mdx @@ -68,16 +68,13 @@ Download the [latest released](https://github.com/libretime/libretime/releases) Or directly from the command-line: - - wget https://github.com/libretime/libretime/releases/download/{vars.version} - /libretime-{vars.version}.tar.gz - +{/* prettier-ignore */} +wget {"https://github.com/libretime/libretime/releases/download/" + vars.version + "/libretime-" + vars.version + ".tar.gz"} And extract the tarball: - - tar -xvf libretime-{vars.version}.tar.gz && cd libretime - +{/* prettier-ignore */} +tar -xvf libretime-{vars.version}.tar.gz && cd libretime diff --git a/docs/admin-manual/stream-configuration.md b/docs/admin-manual/stream-configuration.md index 9acab85ac..e8c74a3d0 100644 --- a/docs/admin-manual/stream-configuration.md +++ b/docs/admin-manual/stream-configuration.md @@ -91,7 +91,7 @@ Setting the value of _fallback-override_ to 1 (enabled) means that when the `/li Connect the other source to the Icecast server with the same parameters defined in the `/etc/libretime/liquidsoap.cfg` file, except for the mount point. This should one of the mount points you have defined in the `/etc/icecast2/icecast.xml` file, such as `/live.ogg` in the example above. -:::tip Streaming with Mixxx +:::tip[Streaming with Mixxx] To configure Mixxx for streaming to Icecast, click _Options_, _Preferences_, then _Live Broadcasting_. For server _Type_, select the default of _Icecast 2_ when streaming to Debian or Ubuntu servers. diff --git a/docs/admin-manual/tutorials/setup-a-pulseaudio-output-inside-containers.md b/docs/admin-manual/tutorials/setup-a-pulseaudio-output-inside-containers.md index 2b5a85471..a9e215007 100644 --- a/docs/admin-manual/tutorials/setup-a-pulseaudio-output-inside-containers.md +++ b/docs/admin-manual/tutorials/setup-a-pulseaudio-output-inside-containers.md @@ -10,7 +10,7 @@ We assume you already [installed LibreTime using docker-compose](../install/READ ::: -:::note links +:::note[Links] - https://github.com/mviereck/x11docker/wiki/Container-sound:-ALSA-or-Pulseaudio#pulseaudio-with-shared-socket diff --git a/docs/developer-manual/widgets.md b/docs/developer-manual/widgets.md index a7991aa1e..cc4f46d04 100644 --- a/docs/developer-manual/widgets.md +++ b/docs/developer-manual/widgets.md @@ -10,7 +10,7 @@ Before using the widgets, make sure LibreTime's Public API is enabled in **Setti ![](./widgets-widgets_settings.png) -:::tip Note +:::tip[Note] LibreTime widgets can't function through VPNs or SSH tunneling. The instance must be accessible from the internet for the widgets to work.