Skip to content

Commit 4435abe

Browse files
committed
docs: add custom meta tag for description
1 parent e8876af commit 4435abe

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@ To fix formatting errors, run the following:
4343
yarn lint --fix
4444
```
4545

46+
The documentation for the project is under `docs` directory. To run the documentation locally, run the following:
47+
48+
```sh
49+
yarn docs dev
50+
```
51+
4652
## Acknowledgements
4753

4854
Thanks to the authors of these libraries for inspiration:

docs/theme.config.jsx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,15 @@ export default {
88
},
99
docsRepositoryBase:
1010
'https://github.com/callstack/react-native-builder-bob/tree/main/docs',
11+
head: (
12+
<>
13+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
14+
<meta
15+
property="og:description"
16+
content="Bob - Create and build React Native libraries with ease"
17+
/>
18+
</>
19+
),
1120
footer: {
1221
text: (
1322
<span>

0 commit comments

Comments
 (0)