Skip to content

feat: allow custom docs folder path via docsDir config#32

Open
hiiamtrong wants to merge 3 commits intocodeaholicguy:mainfrom
hiiamtrong:feat/custom-docs-dir
Open

feat: allow custom docs folder path via docsDir config#32
hiiamtrong wants to merge 3 commits intocodeaholicguy:mainfrom
hiiamtrong:feat/custom-docs-dir

Conversation

@hiiamtrong
Copy link

Add a docsDir option to .ai-devkit.json that allows users to customize where AI documentation is stored instead of the hardcoded docs/ai path. The init command now prompts for the docs directory, and templates also support the new field.

Closes #31

sotatek added 3 commits March 6, 2026 00:02
Add a docsDir option to .ai-devkit.json that allows users to
customize where AI documentation is stored instead of the hardcoded
docs/ai path. The init command now prompts for the docs directory,
and templates also support the new field.

Closes codeaholicguy#31
Allows setting custom docs directory non-interactively via
`ai-devkit init --docs-dir .ai-docs`. Priority: CLI flag >
template config > interactive prompt > default (docs/ai).
When copying command templates, replace all `docs/ai` references with
the configured docsDir value. This affects copyCommands, copyGeminiSpecificFiles,
and copyCommandsToGlobal. Also fix init command to use docsDir-aware
template manager for environment setup.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow custom docs folder path in .ai-devkit.json

1 participant