Add source param to documentation links

This commit is contained in:
Gabe Kangas
2021-03-04 00:53:50 -08:00
parent 7958fc6b32
commit f64699b379
11 changed files with 26 additions and 26 deletions

View File

@@ -221,7 +221,7 @@ export default function AccessTokens() {
<Paragraph>
Read more about how to use these tokens, with examples, at{' '}
<a
href="https://owncast.online/docs/integrations/"
href="https://owncast.online/docs/integrations/?source=admin"
target="_blank"
rel="noopener noreferrer"
>

View File

@@ -14,7 +14,7 @@ export default function PublicFacingDetails() {
<Title>General Settings</Title>
<p className="description">
The following are displayed on your site to describe your stream and its content.{' '}
<a href="https://owncast.online/docs/website/" target="_blank" rel="noopener noreferrer">
<a href="https://owncast.online/docs/website/?source=admin" target="_blank" rel="noopener noreferrer">
Learn more.
</a>
</p>

View File

@@ -11,7 +11,7 @@ export default function ConfigStorageInfo() {
<p className="description">
Owncast supports optionally using external storage providers to distribute your video. Learn
more about this by visiting our{' '}
<a href="https://owncast.online/docs/storage/" target="_blank" rel="noopener noreferrer">
<a href="https://owncast.online/docs/storage/?source=admin" target="_blank" rel="noopener noreferrer">
Storage Documentation
</a>
.

View File

@@ -12,7 +12,7 @@ export default function ConfigVideoSettings() {
<Title>Video configuration</Title>
<p className="description">
Before changing your video configuration{' '}
<a href="https://owncast.online/docs/video" target="_blank" rel="noopener noreferrer">
<a href="https://owncast.online/docs/video?source=admin" target="_blank" rel="noopener noreferrer">
visit the video documentation
</a>{' '}
to learn how it impacts your stream performance. The general rule is to start conservatively

View File

@@ -23,7 +23,7 @@ export default function Help() {
content: (
<div>
<a
href="https://owncast.online/docs/configuration/"
href="https://owncast.online/docs/configuration/?source=admin"
target="_blank"
rel="noopener noreferrer"
>
@@ -38,7 +38,7 @@ export default function Help() {
content: (
<div>
<a
href="https://owncast.online/docs/broadcasting/"
href="https://owncast.online/docs/broadcasting/?source=admin"
target="_blank"
rel="noopener noreferrer"
>
@@ -52,7 +52,7 @@ export default function Help() {
title: 'I want to embed my stream into another site',
content: (
<div>
<a href="https://owncast.online/docs/embed/" target="_blank" rel="noopener noreferrer">
<a href="https://owncast.online/docs/embed/?source=admin" target="_blank" rel="noopener noreferrer">
<LinkOutlined /> Learn more
</a>
</div>
@@ -63,7 +63,7 @@ export default function Help() {
title: 'I want to customize my website',
content: (
<div>
<a href="https://owncast.online/docs/website/" target="_blank" rel="noopener noreferrer">
<a href="https://owncast.online/docs/website/?source=admin" target="_blank" rel="noopener noreferrer">
<LinkOutlined /> Learn more
</a>
</div>
@@ -74,7 +74,7 @@ export default function Help() {
title: 'I want to tweak my video output',
content: (
<div>
<a href="https://owncast.online/docs/encoding/" target="_blank" rel="noopener noreferrer">
<a href="https://owncast.online/docs/encoding/?source=admin" target="_blank" rel="noopener noreferrer">
<LinkOutlined /> Learn more
</a>
</div>
@@ -85,7 +85,7 @@ export default function Help() {
title: 'I want to use an external storage provider',
content: (
<div>
<a href="https://owncast.online/docs/storage/" target="_blank" rel="noopener noreferrer">
<a href="https://owncast.online/docs/storage/?source=admin" target="_blank" rel="noopener noreferrer">
<LinkOutlined /> Learn more
</a>
</div>
@@ -117,7 +117,7 @@ export default function Help() {
content: (
<div>
Most general questions are answered in our
<a href="https://owncast.online/docs/faq/" target="_blank" rel="noopener noreferrer">
<a href="https://owncast.online/docs/faq/?source=admin" target="_blank" rel="noopener noreferrer">
{' '}
FAQ
</a>{' '}
@@ -138,7 +138,7 @@ export default function Help() {
content: (
<div>
You can build your own bots, overlays, tools and add-ons with our
<a href="https://owncast.online/thirdparty" target="_blank" rel="noopener noreferrer">
<a href="https://owncast.online/thirdparty?source=admin" target="_blank" rel="noopener noreferrer">
&nbsp;developer APIs.&nbsp;
</a>
</div>
@@ -156,7 +156,7 @@ export default function Help() {
<Button
target="_blank"
rel="noopener noreferrer"
href="https://owncast.online/docs/troubleshooting/"
href="https://owncast.online/docs/troubleshooting/?source=admin"
icon={<LinkOutlined />}
type="primary"
>
@@ -169,7 +169,7 @@ export default function Help() {
<Button
target="_blank"
rel="noopener noreferrer"
href="https://owncast.online/docs"
href="https://owncast.online/docs?source=admin"
icon={<LinkOutlined />}
type="primary"
>

View File

@@ -20,7 +20,7 @@ export default function Offline({ logs = [], config }) {
content: (
<div>
<a
href="https://owncast.online/docs/broadcasting/"
href="https://owncast.online/docs/broadcasting/?source=admin"
target="_blank"
rel="noopener noreferrer"
>
@@ -40,7 +40,7 @@ export default function Offline({ logs = [], config }) {
title: 'Embed your video onto other sites',
content: (
<div>
<a href="https://owncast.online/docs/embed" target="_blank" rel="noopener noreferrer">
<a href="https://owncast.online/docs/embed?source=admin" target="_blank" rel="noopener noreferrer">
Learn how you can add your Owncast stream to other sites you control.
</a>
</div>

View File

@@ -197,7 +197,7 @@ export default function Webhooks() {
<Paragraph>
Read more about how to use webhooks, with examples, at{' '}
<a
href="https://owncast.online/docs/integrations/"
href="https://owncast.online/docs/integrations/?source=admin"
target="_blank"
rel="noopener noreferrer"
>