Skip to content

Commit

Permalink
example values
Browse files Browse the repository at this point in the history
  • Loading branch information
abernier committed Aug 11, 2024
1 parent c6eec21 commit 15de64e
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
| var | description | default |
| ----------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------- |
| `MDX`\* | Path to `*.mdx` folder<br>NB: can be relative or absolute | none |
| `NEXT_PUBLIC_LIBNAME`\* | Library name | none |
| `BASE_PATH` | Base path for the final URL | none |
| `DIST_DIR` | Path to the output folder | none |
| `OUTPUT` | Set to `export` for static `out`put | none |
| `HOME_REDIRECT` | Where the home should redirect | none |
| `INLINE_IMAGES_ORIGIN` | [Origin](https://developer.mozilla.org/en-US/docs/Web/API/URL/origin) for inlining relative images<br>Eg: in a `/advanced/introduction.mdx` file, `<img src="./dog.png" />` becomes `<img src="https://github.com/pmndrs/uikit/raw/main/advanced/dog.png" />`<br> NB: if none, don't use relative images | none |
| var | description | example | default |
| ----------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------ | ------- |
| `MDX`\* | Path to `*.mdx` folder<br>NB: can be relative or absolute | `docs` or `~/code/myproject/documentation` | none |
| `NEXT_PUBLIC_LIBNAME`\* | Library name | `React Three Fiber` | none |
| `BASE_PATH` | Base path for the final URL | `/react-three-fiber` | none |
| `DIST_DIR` | Path to the output folder ([within project](https://nextjs.org/docs/app/api-reference/next-config-js/distDir#:~:text=should%20not%20leave%20your%20project%20directory)) | `out` or `docs/out/react-three-fiber` | none |
| `OUTPUT` | Set to `export` for static output | `export` | none |
| `HOME_REDIRECT` | Where the home should redirect | `/getting-started/introduction` | none |
| `INLINE_IMAGES_ORIGIN` | [Origin](https://developer.mozilla.org/en-US/docs/Web/API/URL/origin) for inlining relative images<br>Eg: in a `/advanced/introduction.mdx` file, `<img src="./dog.png" />` becomes `<img src="https://github.com/pmndrs/uikit/raw/main/advanced/dog.png" />`<br> NB: if none, don't use relative images | `https://github.com/pmndrs/react-three-fiber/raw/main` | none |

\* Required

Expand Down

0 comments on commit 15de64e

Please sign in to comment.