Skip to content

Commit 1fda05a

Browse files
WesSouzaarturbien
authored andcommitted
chore: remove docz dependency
1 parent 018de20 commit 1fda05a

File tree

32 files changed

+19
-148
lines changed

32 files changed

+19
-148
lines changed

.gitignore

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,3 @@ yarn-error.log*
3333

3434
# JetBrains IDEs
3535
.idea/*
36-
37-
# Docs
38-
.docz
39-
/docs/build

docs/component_template renamed to docs/component_template.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ name: __component
33
menu: Components
44
---
55

6-
import { Playground, Props } from 'docz';
7-
86
import { __component } from 'react95';
97

108
# __component

docs/index.mdx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ name: Welcome
33
route: /
44
---
55

6-
import { Link } from 'docz';
7-
86
## Welcome to React95
97

108
<p align="center">
@@ -36,7 +34,7 @@ import { Link } from 'docz';
3634

3735
### Getting Started
3836

39-
<span>Check out our <Link to='/installation'>getting started</Link> docs!</span>
37+
<span>Check out our [getting started](/installation) docs!</span>
4038

4139
### Motivation
4240

docs/installation.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ To install and save your `package.json` dependencies, run:
1313

1414
```sh
1515
// yarn
16-
yarn react95 styled-components
16+
yarn add react95 styled-components
1717

1818
// npm
19-
npm i react95 styled-components
19+
npm i -S react95 styled-components
2020
```
2121

2222
In order to have `react95` working properly, you'll also need [`styled-components`](https://github.com/styled-components/styled-components), this way you can use custom themes and get the best of the library 🙂
@@ -31,11 +31,11 @@ import { createGlobalStyle, ThemeProvider } from 'styled-components';
3131
import { styleReset, List, ListItem, Divider } from 'react95';
3232

3333
/* Pick a theme of your choice */
34-
import original from "react95/dist/themes/original";
34+
import original from 'react95/dist/themes/original';
3535

3636
/* Original Windows95 font (optional) */
37-
import ms_sans_serif from "react95/dist/fonts/ms_sans_serif.woff2";
38-
import ms_sans_serif_bold from "react95/dist/fonts/ms_sans_serif_bold.woff2";
37+
import ms_sans_serif from 'react95/dist/fonts/ms_sans_serif.woff2';
38+
import ms_sans_serif_bold from 'react95/dist/fonts/ms_sans_serif_bold.woff2';
3939

4040
const GlobalStyles = createGlobalStyle`
4141
@font-face {

package.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,7 @@
4444
"lint": "eslint src --ext .js",
4545
"lint:fix": "npm run lint -- --fix",
4646
"semantic-release": "semantic-release",
47-
"cz": "git-cz",
48-
"docs:dev": "docz dev",
49-
"docs:build": "docz build"
47+
"cz": "git-cz"
5048
},
5149
"peerDependencies": {
5250
"react": ">= 16.8.0",
@@ -72,7 +70,6 @@
7270
"commitizen": "^4.2.5",
7371
"cross-env": "^7.0.3",
7472
"cz-conventional-changelog": "^3.3.0",
75-
"docz": "^2.4.0",
7673
"eslint": "^8.20.0",
7774
"eslint-config-airbnb": "^19.0.4",
7875
"eslint-config-prettier": "^8.5.0",
@@ -81,7 +78,6 @@
8178
"eslint-plugin-prettier": "^4.2.1",
8279
"eslint-plugin-react": "^7.30.1",
8380
"firebase-tools": "^11.3.0",
84-
"gatsby-theme-docz": "^2.4.0",
8581
"husky": "^8.0.1",
8682
"jest": "^28.1.3",
8783
"jest-environment-jsdom": "^28.1.3",

src/Anchor/Anchor.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ name: Anchor
33
menu: Components
44
---
55

6-
import { Playground, Props } from 'docz';
7-
86
import Anchor from './Anchor';
97

108
# Anchor

src/AppBar/AppBar.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ name: AppBar
33
menu: Components
44
---
55

6-
import { Playground, Props } from 'docz';
7-
86
import AppBar from './AppBar'
97
import Toolbar from '../Toolbar/Toolbar'
108
import Button from '../Button/Button'

src/Avatar/Avatar.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ name: Avatar
33
menu: Components
44
---
55

6-
import { Playground, Props } from 'docz';
7-
86
import Avatar from './Avatar';
97

108
# Avatar

src/Bar/Bar.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ name: Bar
33
menu: Components
44
---
55

6-
import { Playground, Props } from 'docz';
7-
86
import Bar from '../Bar/Bar'
97
import AppBar from '../AppBar/AppBar.js'
108
import Toolbar from '../Toolbar/Toolbar.js'

src/Button/Button.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ name: Button
33
menu: Components
44
---
55

6-
import { Playground, Props } from 'docz';
7-
86
import Button from './Button'
97
import Window from '../Window/Window'
108
import WindowContent from '../WindowContent/WindowContent'

0 commit comments

Comments
 (0)