Skip to content

Commit

Permalink
Merge pull request #1433 from jorenn92/docs_button_urls
Browse files Browse the repository at this point in the history
fix: changed all docs URLs to match new docs URL generations.
  • Loading branch information
benscobie authored Dec 15, 2024
2 parents c789c7b + c8161a3 commit ed9304b
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ Docker images for amd64 & arm64 are available under [jorenn92/maintainerr](https
Data is saved within the container under /opt/data, it is recommended to tie a persistent volume to this location in your docker command/compose file.
Make sure this directory is read/writeable by the user specified in the 'user' instruction. If no 'user' instruction is configured, the volume should be accessible by UID:GID 1000:1000.

For more information, visit the [installation guide](https://docs.maintainerr.info/Installation).
For more information, visit the [installation guide](https://docs.maintainerr.info/Installation.html).

Docker run:

Expand Down
2 changes: 1 addition & 1 deletion ui/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const nextConfig = {
return [
{
source: '/docs',
destination: 'https://docs.maintainerr.info/Introduction/',
destination: 'https://docs.maintainerr.info/Introduction.html',
permanent: true,
},
]
Expand Down
2 changes: 1 addition & 1 deletion ui/src/components/Rules/RuleGroup/AddModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ const AddModal = (props: AddModal) => {
<div className="ml-auto">
<Link
legacyBehavior
href={`https://docs.maintainerr.info/Rules`}
href={`https://docs.maintainerr.info/Rules.html`}
passHref={true}
>
<a target="_blank" rel="noopener noreferrer">
Expand Down
2 changes: 1 addition & 1 deletion ui/src/components/Settings/Overseerr/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ const OverseerrSettings = () => {
<div className="actions mt-5 w-full">
<div className="flex w-full flex-wrap sm:flex-nowrap">
<span className="m-auto rounded-md shadow-sm sm:ml-3 sm:mr-auto">
<DocsButton page="Configuration" />
<DocsButton page="Configuration.html#overseerr" />
</span>
<div className="m-auto mt-3 flex xs:mt-0 sm:m-0 sm:justify-end">
<TestButton
Expand Down
6 changes: 4 additions & 2 deletions ui/src/components/Settings/Plex/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,9 @@ const PlexSettings = () => {
plex_auth_token?: string
} = {
plex_hostname: sslRef.current?.checked
? `https://${hostnameRef.current.value.replace('http://', '').replace('https://', '')}`
? `https://${hostnameRef.current.value
.replace('http://', '')
.replace('https://', '')}`
: hostnameRef.current.value
.replace('http://', '')
.replace('https://', ''),
Expand Down Expand Up @@ -502,7 +504,7 @@ const PlexSettings = () => {
<div className="actions mt-5 w-full">
<div className="flex w-full flex-wrap sm:flex-nowrap">
<span className="m-auto rounded-md shadow-sm sm:ml-3 sm:mr-auto">
<DocsButton page="Configuration" />
<DocsButton page="Configuration.html#plex" />
</span>
<div className="m-auto mt-3 flex xs:mt-0 sm:m-0 sm:justify-end">
<TestButton onClick={appTest} testUrl="/settings/test/plex" />
Expand Down
2 changes: 1 addition & 1 deletion ui/src/components/Settings/Radarr/SettingsModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ const RadarrSettingsModal = (props: IRadarrSettingsModal) => {
<div className="actions mt-5 w-full">
<div className="flex w-full flex-wrap sm:flex-nowrap">
<span className="m-auto rounded-md shadow-sm sm:ml-3 sm:mr-auto">
<DocsButton page="Configuration" />
<DocsButton page="Configuration.html#radarr" />
</span>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion ui/src/components/Settings/Sonarr/SettingsModal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ const SonarrSettingsModal = (props: ISonarrSettingsModal) => {
<div className="actions mt-5 w-full">
<div className="flex w-full flex-wrap sm:flex-nowrap">
<span className="m-auto rounded-md shadow-sm sm:ml-3 sm:mr-auto">
<DocsButton page="Configuration" />
<DocsButton page="Configuration.html#sonarr" />
</span>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion ui/src/components/Settings/Tautulli/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ const TautulliSettings = () => {
<div className="actions mt-5 w-full">
<div className="flex w-full flex-wrap sm:flex-nowrap">
<span className="m-auto rounded-md shadow-sm sm:ml-3 sm:mr-auto">
<DocsButton page="Configuration" />
<DocsButton page="Configuration.html#tautulli" />
</span>
<div className="m-auto mt-3 flex xs:mt-0 sm:m-0 sm:justify-end">
<TestButton
Expand Down

0 comments on commit ed9304b

Please sign in to comment.