Hi Team,
I am new to ERPNext. Doing the frappe meeting app tutorial. While doing the document generation, I used the command
bench --site meeting.dev build-docs meeting current $PWD/docs/meeting/
After hitting enter it is throwing an error:
Usage: bench build-docs [OPTIONS] APP
Error: Got unexpected extra arguments (TEXT] meeting current /home/sagar/ERPWorkspace/clinic/frappe-bench/docs/meeting/)
I tried with [options] of build-docs command. but still throwing same error.
Could anyone please help me to solve this or correct me if I am wrong in writing the command syntax.
@Sagar_Madke,
the command should bench --site meeting.dev build-docs meeting
please check the https://frappe.github.io/frappe/user/en/guides/app-development/generating-docs
Thanks,
Makarand
Try bench --site meeting.dev build-docs meeting --docs-version current
Hi Makarand,
Thanks for your kind reply.
bench --site meeting.dev build-docs meeting
this worked well.
But I need to generate the docs in docs/meeting
folder which is parallel to apps
and sites
folders inside frappe-bench
folder.
In tutorial, they have written something like:
bench --site meeting.dev build-docs meeting current $PWD/docs/meeting/
Any other way to do it.?
Hi Kanchan,
Thanks for your kind reply. But still throwing same error for bench --site meeting.dev build-docs meeting --docs-version current
Looks like versioning might be broken. Can you raise a github issue for this.