Generate Documentation
Use the dashboard to start a new documentation run for a Git repository, choose the branch, provider, and model you want, and get a browsable docs site from the same screen. This is the quickest path when you want to add a repo and launch generation without switching to a terminal.
Prerequisites
- Signed in to the dashboard as a
useroradmin - A remote Git repository URL in HTTPS or
git@...form - Git access from the machine running docsfy if the repository is private or uses SSH
- A provider and model that your docsfy server can run
Quick Example
Repository URL: https://github.com/myk-org/for-testing-only
Branch: main
Provider: gemini
Model: gemini-2.5-flash
Force full regeneration: off
Click New Generation, enter those values, then click Generate. If your server uses a different provider or model, swap those two fields and keep the rest of the flow the same.
Step-by-Step
-
Open the form.
In the dashboard sidebar, clickNew Generation. -
Enter the repository URL.
Paste the remote URL for the repository you want to document. docsfy uses the repository name from that URL as the project name, sohttps://github.com/myk-org/for-testing-onlyappears in the sidebar asfor-testing-only. -
Choose the branch.
Leave the defaultmainbranch or type another branch such asdev.
Warning: Branch names cannot contain
/. Userelease-1.x, notrelease/1.x.
- Choose the provider and model.
Pick one ofclaude,gemini, orcursor, then choose a model from the suggestions or type one manually. The form starts withcursorselected, but you can change it before you submit.
Tip: If the model list is empty, type the model name yourself. Suggestions only appear after successful generations have already recorded known models.
-
Decide whether to force a full rebuild.
LeaveForce full regenerationoff for a normal run. Turn it on when you want docsfy to ignore cached pages and rebuild everything from scratch. -
Start the run.
ClickGenerate. The new run is added to the sidebar, the dashboard opens its detail view automatically, and the status changes toGenerating. -
Wait for the ready state.
When the run finishes, the selected item showsReady. At that point you can open or download the generated site from the same view.
Advanced Usage
### Accepted repository URL formatshttps://github.com/org/repo
https://github.com/org/repo.git
git@github.com:org/repo.git
Troubleshooting
- The repository URL is rejected: Use an HTTPS URL like
https://github.com/org/repo.gitor an SSH URL likegit@github.com:org/repo.git. - The branch is rejected: Remove
/from the branch name and try a name such asrelease-1.x. - No model suggestions appear: Type the model name manually. Suggestions are learned from successful generations.
- The run fails during clone: Make sure the docsfy server can reach the Git host and authenticate to the repository.
- You get an "already being generated" error: That exact branch, provider, and model combination is already running. Wait for it to finish, or open it and abort the current run before retrying.
- You can view docs but cannot start a generation: Your account is probably
viewerrole. Ask an admin foruseroradminaccess. - The run finishes almost immediately: docsfy may have detected that the selected commit is already covered. If you need a clean rebuild, start another run with
Force full regenerationturned on.