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: organize/mintignore.mdx
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,9 +8,9 @@ The `.mintignore` file allows you to exclude specific files and directories from
8
8
9
9
Use `.mintignore` to keep drafts, internal notes, and source files out of your public documentation while maintaining them in your repository.
10
10
11
-
## Creating a .mintignore file
11
+
## Create a .mintignore file
12
12
13
-
Create a `.mintignore` file in the root of your docs directory. This file uses the same pattern syntax as `.gitignore`, making it familiar and easy to configure.
13
+
Create a `.mintignore` file in the root of your docs directory. This file uses the same pattern syntax as `.gitignore`.
14
14
15
15
```plaintext .mintignore
16
16
# Exclude draft documents
@@ -24,20 +24,20 @@ internal/
24
24
private-notes.md
25
25
```
26
26
27
-
When Mintlify builds your documentation, it reads the `.mintignore` file and excludes any matching files or directories from processing. Excluded files:
27
+
When Mintlify builds your documentation, it reads the `.mintignore` file and excludes any matching files or directories from processing.
28
28
29
-
- Won't appear in your published documentation
30
-
- Won't be indexed for search
31
-
- Won't be accessible to visitors
29
+
Excluded files:
30
+
- Don't appear in your published documentation.
31
+
- Aren't indexed for search.
32
+
- Aren't accessible to visitors.
32
33
33
34
<Note>
34
-
Unlike [hidden pages](/organize/hidden-pages), files excluded by `.mintignore`
35
-
are completely removed from your site and cannot be accessed by URL.
35
+
Unlike [hidden pages](/organize/hidden-pages), files excluded by `.mintignore` are completely removed from your site and cannot be accessed by URL.
36
36
</Note>
37
37
38
38
## Pattern syntax
39
39
40
-
The `.mintignore` file follows `.gitignore` syntax. Here are common patterns:
40
+
The `.mintignore` file follows `.gitignore` syntax. Some common patterns include:
0 commit comments