0

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

@ -113,7 +113,7 @@ export default function EditInstanceDetails() {
<strong>Owncast Directory</strong>
</a>
. This is an external service run by the Owncast project.{' '}
<a href="https://owncast.online/docs/directory/" target="_blank" rel="noopener noreferrer">
<a href="https://owncast.online/docs/directory/?source=admin" target="_blank" rel="noopener noreferrer">
Learn more
</a>
.

View File

@ -108,7 +108,7 @@ export default function VideoLatency() {
For interactive live streams you may want to experiment with a lower latency, for
non-interactive broadcasts you may want to increase it.{' '}
<a
href="https://owncast.online/docs/encoding#latency-buffer"
href="https://owncast.online/docs/encoding#latency-buffer?source=admin"
target="_blank"
rel="noopener noreferrer"
>

View File

@ -104,7 +104,7 @@ export default function VideoVariantForm({
return (
<div className={classes}>
<p className="description">
<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">
Learn more
</a>{' '}
about how each of these settings can impact the performance of your server.
@ -140,7 +140,7 @@ export default function VideoVariantForm({
</div>
<p className="read-more-subtext">
<a
href="https://owncast.online/docs/video/#cpu-usage"
href="https://owncast.online/docs/video/#cpu-usage?source=admin"
target="_blank"
rel="noopener noreferrer"
>
@ -175,7 +175,7 @@ export default function VideoVariantForm({
</div>
<p className="read-more-subtext">
<a
href="https://owncast.online/docs/video/#bitrate"
href="https://owncast.online/docs/video/#bitrate?source=admin"
target="_blank"
rel="noopener noreferrer"
>
@ -196,7 +196,7 @@ export default function VideoVariantForm({
to optionally resize your content for this stream output then you should either
set the width <strong>or</strong> the height to keep your aspect ratio.{' '}
<a
href="https://owncast.online/docs/video/#resolution"
href="https://owncast.online/docs/video/#resolution?source=admin"
target="_blank"
rel="noopener noreferrer"
>
@ -235,7 +235,7 @@ export default function VideoVariantForm({
</p>
<p>
<a
href="https://owncast.online/docs/video/#video-passthrough"
href="https://owncast.online/docs/video/#video-passthrough?source=admin"
target="_blank"
rel="noopener noreferrer"
>
@ -287,7 +287,7 @@ export default function VideoVariantForm({
</div>
<p className="read-more-subtext">
<a
href="https://owncast.online/docs/video/#framerate"
href="https://owncast.online/docs/video/#framerate?source=admin"
target="_blank"
rel="noopener noreferrer"
>

View File

@ -210,7 +210,7 @@ export default function MainLayout(props) {
<Content className="main-content-container">{children}</Content>
<Footer className="footer-container">
<a href="https://owncast.online/" target="_blank" rel="noopener noreferrer">
<a href="https://owncast.online/?source=admin" target="_blank" rel="noopener noreferrer">
About Owncast v{versionNumber}
</a>
</Footer>

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"
>