Skip to content

Commit b61f2d5

Browse files
authored
add --groups [groupname] flag (#1006)
1 parent 483ceda commit b61f2d5

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

installation.mdx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,16 @@ If you attempt to run on a port that is already in use, it will use the next ava
8686
Port 3000 is already in use. Trying 3001 instead.
8787
```
8888

89+
## Previewing as a specific group
90+
91+
If you use partial authentication to restrict access to your documentation, you can preview as a specific authentication group by using the `--group [groupname]` flag.
92+
93+
For example, if you have a group named `admin`, you can preview as a member of that group with the command:
94+
95+
```bash
96+
mint dev --group admin
97+
```
98+
8999
## Additional commands
90100

91101
While `mint dev` is the most commonly used command, there are other commands you can use to manage your documentation.

0 commit comments

Comments
 (0)