Skip to content

Commit

Permalink
Merge pull request #1297 from activerecord-hackery/tweak-docs
Browse files Browse the repository at this point in the history
Reduce gem size and remove `yarn install` warning when building docs site
  • Loading branch information
scarroll32 authored Apr 6, 2022
2 parents cfc727f + 9588481 commit a7b2c27
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 9,210 deletions.
1 change: 0 additions & 1 deletion docs/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,5 @@
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
16 changes: 14 additions & 2 deletions docs/docs/going-further/documentation.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,24 @@ Ransack uses [Docusaurus](https://docusaurus.io/) for documentation. To contribu

### Local Development

Switch to docs folder

```
cd docs
yarn start
```

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
Install docusaurus and other dependencies

```
yarn install
```


Start a local development server and open up a browser window. Most changes are reflected live without having to restart the server.

```
yarn start
```

### Build

Expand Down
Loading

0 comments on commit a7b2c27

Please sign in to comment.