You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/docs/auth/custom.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -83,13 +83,13 @@ yarn workspace web add @nhost/nhost-js
83
83
84
84
Then we'll have to make an account, an application, and get it's `backendUrl`.
85
85
On your application's dashboard, click "Settings" at the bottom of the the nav on the left, then "Environment Variables", and look for "NHOST_BACKEND_URL".
86
-
Copy its value into your project's `.env` file and include it in the list of env vars the web side has access to in your project's `redwood.toml` file:
86
+
Copy its value into your project's `.env` file and include it in the list of env vars the web side has access to in your project's `cedar.toml` file:
Copy file name to clipboardExpand all lines: docs/docs/auth/firebase.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ FIREBASE_PROJECT_ID="..."
31
31
32
32
Lastly, include `FIREBASE_API_KEY` and `FIREBASE_AUTH_DOMAIN` in the list of env vars that should be available to the web side (`FIREBASE_PROJECT_ID` is for the api side):
Copy file name to clipboardExpand all lines: docs/docs/auth/netlify.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ Right now, if we sign up, we'll have to verify our email address.
27
27
Let's forego that feature for the purposes of this doc: click "Settings and usage", then scroll down to "Emails" and look for "Confirmation template".
28
28
Click "Edit settings", tick the box next to "Allow users to sign up without verifying their email address", and click "Save".
29
29
30
-
Netlify Identity works a little differently than the other auth providers in that you don't have to copy API keys to your project's `.env` and `redwood.toml` files.
30
+
Netlify Identity works a little differently than the other auth providers in that you don't have to copy API keys to your project's `.env` and `cedar.toml` files.
31
31
Instead, the first time you use it (by, say, calling `signUp` from `useAuth`), it'll ask you for your app's API endpoint.
32
32
So let's go ahead and use it: if this is a brand new project, generate a home page.
33
33
There we'll try to sign up by destructuring `signUp` from the `useAuth` hook (import that from `'src/auth'`). We'll also destructure and display `isAuthenticated` to see if it worked:
Copy file name to clipboardExpand all lines: docs/docs/cli-commands.md
+16-16Lines changed: 16 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1090,8 +1090,8 @@ will output the following files, with the components and pages nested in a `Post
1090
1090
√ Adding scaffold asset imports...
1091
1091
```
1092
1092
1093
-
If it is not desired to nest the components and pages, then redwood provides an option that you can set to disable this for your project.
1094
-
Add the following in your `redwood.toml` file to disable the nesting of components and pages.
1093
+
If it is not desired to nest the components and pages, then Cedar provides an option that you can set to disable this for your project.
1094
+
Add the following in your `cedar.toml` file to disable the nesting of components and pages.
1095
1095
1096
1096
```
1097
1097
[generate]
@@ -1106,7 +1106,7 @@ Notes:
1106
1106
1107
1107
**Namespacing Scaffolds**
1108
1108
1109
-
You can namespace your scaffolds by providing `<path/model>`. The layout, pages, cells, and components will be nested in newly created dir(s). In addition, the nesting folder, based upon the model name, is still applied after the path for components and pages, unless turned off in the `redwood.toml` as described above. For example, given a model `user`, running `yarn redwood generate scaffold admin/user` will nest the layout, pages, and components in a newly created `Admin` directory created for each of the `layouts`, `pages`, and `components` folders:
1109
+
You can namespace your scaffolds by providing `<path/model>`. The layout, pages, cells, and components will be nested in newly created dir(s). In addition, the nesting folder, based upon the model name, is still applied after the path for components and pages, unless turned off in the `cedar.toml` as described above. For example, given a model `user`, running `yarn redwood generate scaffold admin/user` will nest the layout, pages, and components in a newly created `Admin` directory created for each of the `layouts`, `pages`, and `components` folders:
1. You can also use `<path/model>` to destroy files that were generated under a scaffold path. For example, `redwood d scaffold admin/post`
1170
+
1. You can also use `<path/model>` to destroy files that were generated under a scaffold path. For example, `cedar d scaffold admin/post`
1171
1171
2. The destroy command will remove empty folders along the path, provided they are lower than the folder level of component, layout, page, etc.
1172
-
3. The destroy scaffold command will also follow the `nestScaffoldbyModel` setting in the `redwood.toml` file. For example, if you have an existing scaffold that you wish to destroy, that does not have the pages and components nested by the model name, you can destroy the scaffold by temporarily setting:
1172
+
3. The destroy scaffold command will also follow the `nestScaffoldbyModel` setting in the `cedar.toml` file. For example, if you have an existing scaffold that you wish to destroy, that does not have the pages and components nested by the model name, you can destroy the scaffold by temporarily setting:
1173
1173
1174
1174
```
1175
1175
[generate]
@@ -1916,7 +1916,7 @@ Netlify Dev can also create a tunnel from your local development server that all
1916
1916
# to connect your local project to a site already on Netlify
1917
1917
# then run netlify dev and our app will be accessible on the port specified below
1918
1918
framework = "redwoodjs"
1919
-
# Set targetPort to the [web] side port as defined in redwood.toml
1919
+
# Set targetPort to the [web] side port as defined in cedar.toml
1920
1920
targetPort = 8910
1921
1921
# Point your browser to this port to access your CedarJS app
1922
1922
port = 8888
@@ -1926,7 +1926,7 @@ In order to use [Netlify Dev](https://www.netlify.com/products/dev/) you need to
1926
1926
1927
1927
- install the latest [netlify-cli](https://docs.netlify.com/cli/get-started/#installation)
1928
1928
- use [netlify link](https://docs.netlify.com/cli/get-started/#link-and-unlink-sites) to connect to your Netlify site
1929
-
- ensure that the `targetPort` matches the [web] side port in `redwood.toml`
1929
+
- ensure that the `targetPort` matches the [web] side port in `cedar.toml`
1930
1930
- run `netlify dev` and your site will be served on the specified `port` (e.g., 8888)
1931
1931
- if you wish to share your local server with others, you can run `netlify dev --live`
1932
1932
@@ -2050,7 +2050,7 @@ If you have not setup the CedarJS server file, it will be setup:
2050
2050
2051
2051
```bash
2052
2052
✔ Adding the experimental server file...
2053
-
✔ Adding config to redwood.toml...
2053
+
✔ Adding config to cedar.toml...
2054
2054
✔ Adding required api packages...
2055
2055
```
2056
2056
@@ -2094,7 +2094,7 @@ If you have not setup the CedarJS server file, it will be setup:
2094
2094
2095
2095
```bash
2096
2096
✔ Adding the experimental server file...
2097
-
✔ Adding config to redwood.toml...
2097
+
✔ Adding config to cedar.toml...
2098
2098
✔ Adding required api packages...
2099
2099
```
2100
2100
@@ -2206,7 +2206,7 @@ Runs a server that only serves the api side.
2206
2206
yarn rw serve api
2207
2207
```
2208
2208
2209
-
This command uses `apiUrl` in your `redwood.toml`. Use this command if you want to run just the api side on a server (e.g. running on Render).
2209
+
This command uses `apiUrl` in your `cedar.toml`. Use this command if you want to run just the api side on a server (e.g. running on Render).
The CLI can check forthingsin the background, like new versions of the framework, while you dev.
2286
2286
2287
2287
Right now it can only check for new versions.
2288
-
If you'd like it to do so, set `notifications.versionUpdates` in the `redwood.toml` file to include an array of the tags you're interested in hearing about.
2288
+
If you'd like it to do so, set `notifications.versionUpdates` in the `cedar.toml` file to include an array of the tags you're interested in hearing about.
2289
2289
(The former has priority.)
2290
2290
2291
2291
By default, the CLI won't check for upgrades—you have to opt into it.
Copy file name to clipboardExpand all lines: docs/docs/contributing-overview.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -133,7 +133,7 @@ How To's are tutorial-style content focused on a specific problem-solution. They
133
133
134
134
If you write it, will they read it? We think they will—if they can find it.
135
135
136
-
After you've finished writing, step back for a moment and consider the word(s) or phrase(s) people will use to find what you just wrote. For example, let's say you were writing a doc about configuring a Cedar app. If you didn't know much about configuring a Cedar app, a heading (in the nav bar to the left) like "redwood.toml" wouldn't make much sense, even though it _is_ the main configuration file. You'd probably look for "Cedar Config" or "Settings", or type "how to change Cedar App settings" in the "Search the docs" bar up top, or in Google.
136
+
After you've finished writing, step back for a moment and consider the word(s) or phrase(s) people will use to find what you just wrote. For example, let's say you were writing a doc about configuring a Cedar app. If you didn't know much about configuring a Cedar app, a heading (in the nav bar to the left) like "cedar.toml" wouldn't make much sense, even though it _is_ the main configuration file. You'd probably look for "Cedar Config" or "Settings", or type "how to change Cedar App settings" in the "Search the docs" bar up top, or in Google.
137
137
138
138
That is to say, the most useful headings aren't always the most literal ones. Indexing is more than just underlining the "important" words in a text—it's identifying and locating the concepts and topics that are the most relevant to our readers, the users of our documentation.
0 commit comments