We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3c7c313 + 5dbe529 commit b1edd5fCopy full SHA for b1edd5f
README.md
@@ -1,3 +1,33 @@
1
# storybook-addon-github
2
3
A Storybook addon that allows you to link a source code of your story on GitHub.
4
+
5
+## Installation
6
7
+```
8
+npm i -D @kemuridama/storybook-addon-github
9
10
11
+## Configuration
12
13
+Add the following to your `.storybook/main.js`:
14
15
16
+export default {
17
+ addons: ['@kemuridama/storybook-addon-github'],
18
+}
19
20
21
+Then, add the following to your `.storybook/preview.js`:
22
23
24
25
+ parameters: {
26
+ github: {
27
+ baseURL: "<GitHub Enterprise Server URL (optional)>",
28
+ repository: "<repository name>",
29
+ branch: "<branch name>",
30
+ }
31
32
33
0 commit comments