Skip to content

Commit

Permalink
add docs to side nav (#2131)
Browse files Browse the repository at this point in the history
  • Loading branch information
GraceGardner authored Jun 3, 2024
1 parent 2b8cadb commit cbd72d3
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 1 deletion.
6 changes: 6 additions & 0 deletions src/lib/components/side-nav.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,12 @@
label={translate('common.namespaces')}
icon="namespace"
/>
<NavigationItem
link={linkList.docs}
data-testid="docs-button"
label={translate('common.docs')}
icon="book"
/>
</IsLegacyCloudGuard>
<slot name="middle" />
</svelte:fragment>
Expand Down
3 changes: 2 additions & 1 deletion src/lib/holocene/icon/paths.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ import arrowUp from './svg/arrow-up.svelte';
import ascending from './svg/ascending.svelte';
import astronaut from './svg/astronaut.svelte';
import batchOperation from './svg/batch-operation.svelte';
import book from './svg/book.svelte';
import book from './svg/book-sparkles.svelte';
// import book from './svg/book.svelte';
import bookmark from './svg/bookmark.svelte';
import calendarPlus from './svg/calendar-plus.svelte';
import calendar from './svg/calendar.svelte';
Expand Down
1 change: 1 addition & 0 deletions src/lib/i18n/locales/en/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,4 +159,5 @@ export const Strings = {
'execution-details': 'Execution Details',
day: 'Day',
night: 'Night',
docs: 'Docs',
} as const;
1 change: 1 addition & 0 deletions src/routes/(app)/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
feedback:
$page.data?.settings?.feedbackURL ||
'https://github.com/temporalio/ui/issues/new/choose',
docs: 'http://docs.temporal.io',
};
function getCurrentHref(namespace: string) {
Expand Down

0 comments on commit cbd72d3

Please sign in to comment.