AutoWiki
AutoWiki generates comprehensive, structured Wikis for your repositories.
AutoWiki generates comprehensive, structured Wikis for your repositories. It analyzes each codebase and produces browsable documentation with architecture overviews, module breakdowns, and cross-linked pages, then keeps each Wiki current as your code changes.
How it works
- 1Generate from the Droid CLI
Run
/wikiinside a Droid session. Droid analyzes the codebase and produces a set of structured markdown pages covering architecture, modules, APIs, and conventions. - 2Store in the Factory App
Cloud Sync stores the generated Wiki in the Factory App, where it becomes browsable at app.factory.ai/wiki. Each sync is versioned so you can compare changes over time.
- 3Sync to GitHub Wiki
For GitHub-hosted repositories, AutoWiki can push generated Wikis to the repo's built-in GitHub Wiki tab. Internal links are rewritten, a sidebar is generated, and the content is pushed to
{repo}.wiki.git. - 4Keep it current
Run
/install-wikito create a CI workflow (GitHub Actions or GitLab CI) that regenerates the Wiki on every push to the default branch, or trigger a refresh from the Factory App at any time.
GitHub Wiki sync
When AutoWiki generates a Wiki for a GitHub-hosted repository, Factory can optionally sync the content to GitHub Wiki. Your team can browse the same documentation directly from the repository page without visiting the Factory App. For details on how the sync works, see Initialize a Wiki.
GitHub requires GitHub Wiki to be initialized before Factory can sync to it.
If you haven't used GitHub Wiki before, create the first page manually at
https://github.com/{owner}/{repo}/wiki, then re-run /wiki.
Enterprise Controls
AutoWiki Cloud Sync
Organizations that need to prevent AutoWiki content from being stored in the Factory App can disable AutoWiki Cloud Sync. This is an org-level enterprise control available in the Factory App under Settings > Enterprise Controls.
When AutoWiki Cloud Sync is disabled:
- All AutoWiki API endpoints return 403 for your organization
- The
/wikicommand will not store content in the Factory App - GitHub Wiki sync is also skipped from the Droid CLI
- The AutoWiki page in the Factory App shows no content
AutoWiki Cloud Sync is enabled by default. Only org managers can toggle this setting.
For more on how Enterprise Controls work, see Enterprise Controls & Managed Settings.