Skip to content

Commit e672bd5

Browse files
committed
chore: rm ai context as it doesnt contain v2 info; update local init guide
Signed-off-by: Mark Phelps <[email protected]>
1 parent f75506b commit e672bd5

File tree

2 files changed

+36
-35
lines changed

2 files changed

+36
-35
lines changed

docs.json

Lines changed: 26 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,10 @@
2929
"groups": [
3030
{
3131
"group": "Overview",
32-
"pages": ["introduction", "concepts"]
32+
"pages": [
33+
"introduction",
34+
"concepts"
35+
]
3336
},
3437
{
3538
"group": "Use Cases",
@@ -174,7 +177,9 @@
174177
},
175178
{
176179
"group": "Authorization",
177-
"pages": ["authorization/overview"]
180+
"pages": [
181+
"authorization/overview"
182+
]
178183
},
179184
{
180185
"group": "Operations",
@@ -201,7 +206,9 @@
201206
"groups": [
202207
{
203208
"group": "Overview",
204-
"pages": ["reference/overview"]
209+
"pages": [
210+
"reference/overview"
211+
]
205212
},
206213
{
207214
"group": "Authentication",
@@ -312,12 +319,9 @@
312319
{
313320
"anchor": "Changelog",
314321
"icon": "clock",
315-
"pages": ["changelog/overview"]
316-
},
317-
{
318-
"anchor": "AI Context",
319-
"href": "https://docs.flipt.io/llms.txt",
320-
"icon": "robot"
322+
"pages": [
323+
"changelog/overview"
324+
]
321325
},
322326
{
323327
"anchor": "Blog",
@@ -361,7 +365,10 @@
361365
"group": "Pro Features",
362366
"tag": "NEW",
363367
"icon": "crown",
364-
"pages": ["/v2/pro", "/v2/licensing"]
368+
"pages": [
369+
"/v2/pro",
370+
"/v2/licensing"
371+
]
365372
},
366373
{
367374
"group": "Configuration",
@@ -387,7 +394,9 @@
387394
"v2/integration/overview",
388395
{
389396
"group": "Server-Side SDKs",
390-
"pages": ["v2/integration/server/rest"]
397+
"pages": [
398+
"v2/integration/server/rest"
399+
]
391400
},
392401
"v2/integration/client",
393402
"v2/integration/openfeature"
@@ -462,23 +471,22 @@
462471
},
463472
{
464473
"group": "Migration Guides",
465-
"pages": ["v2/guides/migration/cloud/flipt-cloud-to-v2"]
474+
"pages": [
475+
"v2/guides/migration/cloud/flipt-cloud-to-v2"
476+
]
466477
}
467478
]
468479
},
469480
{
470481
"group": "Tooling",
471482
"icon": "hammer",
472483
"tag": "NEW",
473-
"pages": ["v2/tooling/github-actions"]
484+
"pages": [
485+
"v2/tooling/github-actions"
486+
]
474487
}
475488
]
476489
},
477-
{
478-
"anchor": "AI Context",
479-
"href": "https://docs.flipt.io/llms.txt",
480-
"icon": "robot"
481-
},
482490
{
483491
"anchor": "Blog",
484492
"href": "https://blog.flipt.io",

v2/guides/operations/environments/git-repository-initialization.mdx

Lines changed: 10 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@ This guide explains how to set up Git repository initialization for existing fea
99

1010
Flipt v2 supports automatic Git repository detection and initialization for existing feature files when using the local storage backend. This addresses the common workflow where you have existing feature flag configurations but no Git repository initialized yet.
1111

12+
<Note>
13+
This is only necessary if you want to pre-populate Flipt with existing feature
14+
data from your local machine.
15+
16+
If you are starting fresh or have data synced to
17+
a remote repository then following this guide is not necessary.
18+
19+
</Note>
20+
1221
## Supported File Formats
1322

1423
Flipt v2 supports both YAML file extensions for feature configurations:
@@ -140,7 +149,6 @@ You can also combine local storage with remote Git synchronization:
140149
```yaml
141150
storage:
142151
local:
143-
name: "Local with Remote"
144152
remote: "https://github.com/your-org/feature-flags.git"
145153
branch: "main"
146154
poll_interval: "30s"
@@ -205,22 +213,7 @@ Check that:
205213
1. Your feature files use the correct naming: `features.yaml` or `features.yml`
206214
2. The files are in the correct directory structure
207215
3. The YAML syntax is valid
208-
209-
### Changes Not Persisting
210-
211-
For normal Git repositories:
212-
213-
- Changes made in the UI should automatically sync to your files
214-
- Check that Flipt has write permissions to the directory
215-
- Verify that the Git repository is properly initialized
216-
217-
## Best Practices
218-
219-
1. **Use Descriptive Commit Messages**: When initializing your repository, use clear commit messages that describe your feature set
220-
2. **Organize by Environment**: Structure your directories to separate different environments (staging, production, etc.)
221-
3. **Regular Commits**: Consider setting up automated commits for changes made through the UI
222-
4. **Backup Strategy**: Implement a backup strategy for your feature flag configurations
223-
5. **File Naming**: Stick to either `.yaml` or `.yml` consistently across your project
216+
4. You added and committed the files at `path`
224217

225218
## Backward Compatibility
226219

0 commit comments

Comments
 (0)