manual.erpnext.com
You will need to fork this repository and send pull requests of your changes
Install Frappe Bench: https://github.com/frappe/bench
Step 1. Create a new site on the bench
$ bench new-site manual.erpnext.com
Step 2. Then install the app in the bench
$ bench get-app frappe_theme git@github.com:frappe/frappe_theme
$ bench get-app manual_erpnext_com git@github.com:frappe/manual_erpnext_com
Step 3: Then install the app in the site
$ bench --site manual.erpnext.com install-app frappe_theme
$ bench --site manual.erpnext.com install-app manual_erpnext_com
Step 4: Start the bench
$ bench --site manual.erpnext.com serve --port 8000
Open your browser on http://localhost:8000 to see the site
Disable website caching
- Open
sites/manual.erpnext.com/site_config.json - Add
"disable_website_cache": 1to the options - Clear the cache:
bench --site manual.erpnext.com clear-cache
Run $ bench --site manual.erpnext.com serve --port 8000 again
Edits will appear on the site.
- Sync New Pages into Database:
bench --site manual.erpnext.com sync-www - Rebuild Web Page Database:
bench --site manual.erpnext.com sync-www --force
- See
frappe-bench/apps/manual_erpnext_com/manual_erpnext_com/www - The home page is
www/index.html - Documentation starts from
www/contents/index.html index.txtholds the table of contents of that folder and will be used to produce a list of pages under that section. Any page you add should be added to its parent folder'sindex.txt. For example, seewww/contents/accounts/index.txt.accountsis a folder. Buthttps://manual.erpnext.com/contents/accountsis also a web page. This is handled by having aindex.mdfile underaccounts.- All images are to be stored in respective folders under
manual_erpnext_com/public/img. - To link an image in the public folder in the documentation, use
/assets/manual_erpnext_com/img/{path_to_the_image}. For example:/assets/manual_erpnext_com/img/accounts/account-settings.png - For any further help, post your question at
https://discuss.erpnext.comand select the topic category asDocumentation
ERPNext Manual is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
