@primer/doctocat-nextjs 0.5.0-rc.d69336a → 0.5.0-rc.d795ae7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +5 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,9 +4,11 @@
|
|
|
4
4
|
|
|
5
5
|
### Minor Changes
|
|
6
6
|
|
|
7
|
-
- [#30](https://github.com/primer/doctocat-nextjs/pull/30) [`cdcb65e`](https://github.com/primer/doctocat-nextjs/commit/cdcb65e087d647a6d61c87d9122f105dcda64e35) Thanks [@joshfarrant](https://github.com/joshfarrant)! - -
|
|
7
|
+
- [#30](https://github.com/primer/doctocat-nextjs/pull/30) [`cdcb65e`](https://github.com/primer/doctocat-nextjs/commit/cdcb65e087d647a6d61c87d9122f105dcda64e35) Thanks [@joshfarrant](https://github.com/joshfarrant)! - - Arbitrary links can now be added to the sidebar and header using the `Theme` component's `headerLinks` and `sidebarLinks` props.
|
|
8
|
+
|
|
8
9
|
- Updated the header navigation to more closely visually align it with the existing Primer docs navigation.
|
|
9
|
-
- Removed `_meta.global.ts` and instead directly pass header and sidebar links into the
|
|
10
|
+
- Removed `_meta.global.ts` and instead directly pass header and sidebar links into the Doctocat `Theme` component.
|
|
11
|
+
|
|
10
12
|
```diff
|
|
11
13
|
- // _meta.global.ts
|
|
12
14
|
- export default {
|
|
@@ -15,6 +17,7 @@
|
|
|
15
17
|
- title: 'Doctocat',
|
|
16
18
|
- }
|
|
17
19
|
```
|
|
20
|
+
|
|
18
21
|
```diff
|
|
19
22
|
+ // app/layout.tsx
|
|
20
23
|
+
|