View documentation offline

Is there a way to view erpnext documentation offline?

@zealmurapa

You will have to build offline documentation in your local. To build documentation please use following guide,

To test your docs locally, add a --local option to the build-docs command.

bench --site [site] build-docs [appname] --local
Then it will build urls so that you can view these files locally. To view them locally in your browser, you can use the Python SimpleHTTPServer

Run this from your docs/myapp folder:

python -m SimpleHTTPServer 8080

Hope this helps you :slight_smile:

1 Like