You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
1.3 KiB

  1. # Customizing CryptPad
  2. In order allow a variety of features to be changed and to allow site-specific changes
  3. to CryptPad apps while still keeping the git repository pristine, this directory exists
  4. to allow a set of hooks to be run.
  5. The server is configured to load files from the `/customize/` path preferentially from
  6. `cryptpad/customize/`, and to fall back to `cryptpad/customize.dist/` if they are not found
  7. If you wish to customize cryptpad, please **copy**
  8. `/customize.dist/` to `/customize` and then edit it there, this way you will still be able
  9. to pull from (and make pull requests to (!) the git repository.
  10. ## Files you may be interested in
  11. * index.html is the main page
  12. * main.js contains javascript for the home page
  13. * application_config.js allows you to modify settings used by the various applications
  14. * messages.js contains functions for applying translations to various pages
  15. * look inside `/translations/` for the rest of the files which contain translated strings
  16. * `/share/` implements an iframe RPC which allows multiple domains to access the same localStorage
  17. * `/src/` contains source files for html and css (in the form of html templates and .less stylesheets)
  18. All other content which is placed in this directory will be referencable at the `/customize/`
  19. URL location.