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
@@ -113,7 +113,7 @@ export default function EditInstanceDetails() {
<strong>Owncast Directory</strong> <strong>Owncast Directory</strong>
</a> </a>
. This is an external service run by the Owncast project.{' '} . 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 Learn more
</a> </a>
. .
+1 -1
View File
@@ -108,7 +108,7 @@ export default function VideoLatency() {
For interactive live streams you may want to experiment with a lower latency, for For interactive live streams you may want to experiment with a lower latency, for
non-interactive broadcasts you may want to increase it.{' '} non-interactive broadcasts you may want to increase it.{' '}
<a <a
href="https://owncast.online/docs/encoding#latency-buffer" href="https://owncast.online/docs/encoding#latency-buffer?source=admin"
target="_blank" target="_blank"
rel="noopener noreferrer" rel="noopener noreferrer"
> >
+6 -6
View File
@@ -104,7 +104,7 @@ export default function VideoVariantForm({
return ( return (
<div className={classes}> <div className={classes}>
<p className="description"> <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 Learn more
</a>{' '} </a>{' '}
about how each of these settings can impact the performance of your server. about how each of these settings can impact the performance of your server.
@@ -140,7 +140,7 @@ export default function VideoVariantForm({
</div> </div>
<p className="read-more-subtext"> <p className="read-more-subtext">
<a <a
href="https://owncast.online/docs/video/#cpu-usage" href="https://owncast.online/docs/video/#cpu-usage?source=admin"
target="_blank" target="_blank"
rel="noopener noreferrer" rel="noopener noreferrer"
> >
@@ -175,7 +175,7 @@ export default function VideoVariantForm({
</div> </div>
<p className="read-more-subtext"> <p className="read-more-subtext">
<a <a
href="https://owncast.online/docs/video/#bitrate" href="https://owncast.online/docs/video/#bitrate?source=admin"
target="_blank" target="_blank"
rel="noopener noreferrer" rel="noopener noreferrer"
> >
@@ -196,7 +196,7 @@ export default function VideoVariantForm({
to optionally resize your content for this stream output then you should either 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.{' '} set the width <strong>or</strong> the height to keep your aspect ratio.{' '}
<a <a
href="https://owncast.online/docs/video/#resolution" href="https://owncast.online/docs/video/#resolution?source=admin"
target="_blank" target="_blank"
rel="noopener noreferrer" rel="noopener noreferrer"
> >
@@ -235,7 +235,7 @@ export default function VideoVariantForm({
</p> </p>
<p> <p>
<a <a
href="https://owncast.online/docs/video/#video-passthrough" href="https://owncast.online/docs/video/#video-passthrough?source=admin"
target="_blank" target="_blank"
rel="noopener noreferrer" rel="noopener noreferrer"
> >
@@ -287,7 +287,7 @@ export default function VideoVariantForm({
</div> </div>
<p className="read-more-subtext"> <p className="read-more-subtext">
<a <a
href="https://owncast.online/docs/video/#framerate" href="https://owncast.online/docs/video/#framerate?source=admin"
target="_blank" target="_blank"
rel="noopener noreferrer" rel="noopener noreferrer"
> >
+1 -1
View File
@@ -210,7 +210,7 @@ export default function MainLayout(props) {
<Content className="main-content-container">{children}</Content> <Content className="main-content-container">{children}</Content>
<Footer className="footer-container"> <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} About Owncast v{versionNumber}
</a> </a>
</Footer> </Footer>
+1 -1
View File
@@ -221,7 +221,7 @@ export default function AccessTokens() {
<Paragraph> <Paragraph>
Read more about how to use these tokens, with examples, at{' '} Read more about how to use these tokens, with examples, at{' '}
<a <a
href="https://owncast.online/docs/integrations/" href="https://owncast.online/docs/integrations/?source=admin"
target="_blank" target="_blank"
rel="noopener noreferrer" rel="noopener noreferrer"
> >
+1 -1
View File
@@ -14,7 +14,7 @@ export default function PublicFacingDetails() {
<Title>General Settings</Title> <Title>General Settings</Title>
<p className="description"> <p className="description">
The following are displayed on your site to describe your stream and its content.{' '} 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. Learn more.
</a> </a>
</p> </p>
+1 -1
View File
@@ -11,7 +11,7 @@ export default function ConfigStorageInfo() {
<p className="description"> <p className="description">
Owncast supports optionally using external storage providers to distribute your video. Learn Owncast supports optionally using external storage providers to distribute your video. Learn
more about this by visiting our{' '} 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 Storage Documentation
</a> </a>
. .
+1 -1
View File
@@ -12,7 +12,7 @@ export default function ConfigVideoSettings() {
<Title>Video configuration</Title> <Title>Video configuration</Title>
<p className="description"> <p className="description">
Before changing your video configuration{' '} 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 visit the video documentation
</a>{' '} </a>{' '}
to learn how it impacts your stream performance. The general rule is to start conservatively to learn how it impacts your stream performance. The general rule is to start conservatively
+10 -10
View File
@@ -23,7 +23,7 @@ export default function Help() {
content: ( content: (
<div> <div>
<a <a
href="https://owncast.online/docs/configuration/" href="https://owncast.online/docs/configuration/?source=admin"
target="_blank" target="_blank"
rel="noopener noreferrer" rel="noopener noreferrer"
> >
@@ -38,7 +38,7 @@ export default function Help() {
content: ( content: (
<div> <div>
<a <a
href="https://owncast.online/docs/broadcasting/" href="https://owncast.online/docs/broadcasting/?source=admin"
target="_blank" target="_blank"
rel="noopener noreferrer" rel="noopener noreferrer"
> >
@@ -52,7 +52,7 @@ export default function Help() {
title: 'I want to embed my stream into another site', title: 'I want to embed my stream into another site',
content: ( content: (
<div> <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 <LinkOutlined /> Learn more
</a> </a>
</div> </div>
@@ -63,7 +63,7 @@ export default function Help() {
title: 'I want to customize my website', title: 'I want to customize my website',
content: ( content: (
<div> <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 <LinkOutlined /> Learn more
</a> </a>
</div> </div>
@@ -74,7 +74,7 @@ export default function Help() {
title: 'I want to tweak my video output', title: 'I want to tweak my video output',
content: ( content: (
<div> <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 <LinkOutlined /> Learn more
</a> </a>
</div> </div>
@@ -85,7 +85,7 @@ export default function Help() {
title: 'I want to use an external storage provider', title: 'I want to use an external storage provider',
content: ( content: (
<div> <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 <LinkOutlined /> Learn more
</a> </a>
</div> </div>
@@ -117,7 +117,7 @@ export default function Help() {
content: ( content: (
<div> <div>
Most general questions are answered in our 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 FAQ
</a>{' '} </a>{' '}
@@ -138,7 +138,7 @@ export default function Help() {
content: ( content: (
<div> <div>
You can build your own bots, overlays, tools and add-ons with our 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; &nbsp;developer APIs.&nbsp;
</a> </a>
</div> </div>
@@ -156,7 +156,7 @@ export default function Help() {
<Button <Button
target="_blank" target="_blank"
rel="noopener noreferrer" rel="noopener noreferrer"
href="https://owncast.online/docs/troubleshooting/" href="https://owncast.online/docs/troubleshooting/?source=admin"
icon={<LinkOutlined />} icon={<LinkOutlined />}
type="primary" type="primary"
> >
@@ -169,7 +169,7 @@ export default function Help() {
<Button <Button
target="_blank" target="_blank"
rel="noopener noreferrer" rel="noopener noreferrer"
href="https://owncast.online/docs" href="https://owncast.online/docs?source=admin"
icon={<LinkOutlined />} icon={<LinkOutlined />}
type="primary" type="primary"
> >
+2 -2
View File
@@ -20,7 +20,7 @@ export default function Offline({ logs = [], config }) {
content: ( content: (
<div> <div>
<a <a
href="https://owncast.online/docs/broadcasting/" href="https://owncast.online/docs/broadcasting/?source=admin"
target="_blank" target="_blank"
rel="noopener noreferrer" rel="noopener noreferrer"
> >
@@ -40,7 +40,7 @@ export default function Offline({ logs = [], config }) {
title: 'Embed your video onto other sites', title: 'Embed your video onto other sites',
content: ( content: (
<div> <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. Learn how you can add your Owncast stream to other sites you control.
</a> </a>
</div> </div>
+1 -1
View File
@@ -197,7 +197,7 @@ export default function Webhooks() {
<Paragraph> <Paragraph>
Read more about how to use webhooks, with examples, at{' '} Read more about how to use webhooks, with examples, at{' '}
<a <a
href="https://owncast.online/docs/integrations/" href="https://owncast.online/docs/integrations/?source=admin"
target="_blank" target="_blank"
rel="noopener noreferrer" rel="noopener noreferrer"
> >