Skip to content

Commit cd2ff7e

Browse files
authored
Fix: Update API Documentation Navigation (#25)
1 parent 0db0b11 commit cd2ff7e

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

frontend/src/Helpers/Props/icons.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ import {
3030
faBan as fasBan,
3131
faBars as fasBars,
3232
faBolt as fasBolt,
33+
faBook as faBook,
3334
faBookmark as fasBookmark,
3435
faBookReader as fasBookReader,
3536
faBroadcastTower as fasBroadcastTower,
@@ -161,6 +162,7 @@ export const COMPUTER = fasDesktop;
161162
export const DANGER = fasExclamationCircle;
162163
export const DELETE = fasTrashAlt;
163164
export const DISC = fasCompactDisc;
165+
export const DOCUMENTATION = faBook;
164166
export const DOWNLOAD = fasDownload;
165167
export const DOWNLOADED = fasDownload;
166168
export const DOWNLOADING = fasCloudDownloadAlt;

frontend/src/Settings/General/SecuritySettings.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,10 +241,12 @@ class SecuritySettings extends Component {
241241
key="apidocumentation"
242242
kind={kinds.PRIMARY}
243243
to="/docs"
244+
target='_blank'
245+
title={translate=('ApiDocumentation')}
244246
noRouter={true}
245247
>
246248
<Icon
247-
name={icons.UNKNOWN}
249+
name={icons.DOCUMENTATION}
248250
/>
249251
</FormInputButton>
250252
]}

src/NzbDrone.Core/Localization/Core/en.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@
9595
"AnnouncedMovieAvailabilityDescription": "Movies are considered available as soon as they are added to {appName}.",
9696
"AnnouncedMovieDescription": "Movie is announced",
9797
"Any": "Any",
98+
"ApiDocumentation": "API Documentation",
9899
"ApiKey": "API Key",
99100
"ApiKeyValidationHealthCheckMessage": "Please update your API key to be at least {length} characters long. You can do this via settings or the config file",
100101
"AppDataDirectory": "AppData Directory",

0 commit comments

Comments
 (0)