Browse Source

Add source param to documentation links

pull/1886/head
Gabe Kangas 4 years ago
parent
commit
f64699b379
  1. 2
      web/components/config/edit-instance-details.tsx
  2. 2
      web/components/config/video-latency.tsx
  3. 12
      web/components/config/video-variant-form.tsx
  4. 2
      web/components/main-layout.tsx
  5. 2
      web/pages/access-tokens.tsx
  6. 2
      web/pages/config-public-details.tsx
  7. 2
      web/pages/config-storage.tsx
  8. 2
      web/pages/config-video.tsx
  9. 20
      web/pages/help.tsx
  10. 4
      web/pages/offline-notice.tsx
  11. 2
      web/pages/webhooks.tsx

2
web/components/config/edit-instance-details.tsx

@ -113,7 +113,7 @@ export default function EditInstanceDetails() { @@ -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>
.

2
web/components/config/video-latency.tsx

@ -108,7 +108,7 @@ export default function VideoLatency() { @@ -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"
>

12
web/components/config/video-variant-form.tsx

@ -104,7 +104,7 @@ export default function VideoVariantForm({ @@ -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({ @@ -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({ @@ -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({ @@ -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({ @@ -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({ @@ -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"
>

2
web/components/main-layout.tsx

@ -210,7 +210,7 @@ export default function MainLayout(props) { @@ -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>

2
web/pages/access-tokens.tsx

@ -221,7 +221,7 @@ export default function AccessTokens() { @@ -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"
>

2
web/pages/config-public-details.tsx

@ -14,7 +14,7 @@ export default function PublicFacingDetails() { @@ -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>

2
web/pages/config-storage.tsx

@ -11,7 +11,7 @@ export default function ConfigStorageInfo() { @@ -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>
.

2
web/pages/config-video.tsx

@ -12,7 +12,7 @@ export default function ConfigVideoSettings() { @@ -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

20
web/pages/help.tsx

@ -23,7 +23,7 @@ export default function Help() { @@ -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() { @@ -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() { @@ -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() { @@ -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() { @@ -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() { @@ -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() { @@ -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() { @@ -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() { @@ -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() { @@ -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"
>

4
web/pages/offline-notice.tsx

@ -20,7 +20,7 @@ export default function Offline({ logs = [], config }) { @@ -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 }) { @@ -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>

2
web/pages/webhooks.tsx

@ -197,7 +197,7 @@ export default function Webhooks() { @@ -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"
>

Loading…
Cancel
Save