Skip to content

Commit 3dfc5b6

Browse files
committed
docs
1 parent f8cd8f3 commit 3dfc5b6

File tree

255 files changed

+38382
-7491
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

255 files changed

+38382
-7491
lines changed

.env

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
API_KEY=

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,5 @@
1818
npm-debug.log*
1919
yarn-debug.log*
2020
yarn-error.log*
21+
22+

.vale.ini

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
StylesPath = styles
2+
3+
MinAlertLevel = suggestion
4+
5+
Packages = Google, Readability
6+
7+
[*]
8+
BasedOnStyles = Readability, RunPod, Google

README.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,33 @@ $ GIT_USER=<Your GitHub username> yarn deploy
3939
```
4040

4141
If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch.
42+
43+
## Linting
44+
45+
To lint a specific folder or file, run:
46+
47+
```command
48+
vale path/to/docs/
49+
# or
50+
vale path/to/*.md
51+
```
52+
53+
To lint the entire repo, run:
54+
55+
```command
56+
yarn lint
57+
```
58+
59+
## Format Python code examples
60+
61+
Install `blacken-docs`.
62+
63+
```bash
64+
python -m pip install blacken-docs
65+
```
66+
67+
Run the formatter.
68+
69+
```bash
70+
git ls-files -z -- '*.md' | xargs -0 blacken-docs
71+
```

babel.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module.exports = {
2-
presets: [require.resolve('@docusaurus/core/lib/babel/preset')],
2+
presets: [require.resolve("@docusaurus/core/lib/babel/preset")],
33
};

blog/2019-05-28-first-blog-post.md

Lines changed: 0 additions & 12 deletions
This file was deleted.

blog/2019-05-29-long-blog-post.md

Lines changed: 0 additions & 44 deletions
This file was deleted.

blog/2021-08-01-mdx-blog-post.mdx

Lines changed: 0 additions & 20 deletions
This file was deleted.
Binary file not shown.

blog/2021-08-26-welcome/index.md

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)