Переглянути джерело

Fix outdated documentation.

John Livingston 1 рік тому
батько
коміт
c34ccc1f20
2 змінених файлів з 4 додано та 3 видалено
  1. 3 2
      docs/source/builds.rst
  2. 1 1
      docs/source/plugin_development.rst

+ 3 - 2
docs/source/builds.rst

@@ -48,8 +48,9 @@ One reason you might want to create your own bundles, is because you want to
 remove some of the core plugins of Converse, or perhaps you want to include
 remove some of the core plugins of Converse, or perhaps you want to include
 your own.
 your own.
 
 
-To add or remove plugins from the build, you need to modify the
-`src/converse.js <https://github.com/conversejs/converse.js/blob/master/src/converse.js>`_ file.
+To add or remove plugins from the build, you need to modify
+`src/index.js <https://github.com/conversejs/converse.js/blob/master/src/index.js>`_ or
+`src/headless/index.js <https://github.com/conversejs/converse.js/blob/master/src/index.js>`_.
 
 
 You'll find a section marked ``/* START: Removable components`` and
 You'll find a section marked ``/* START: Removable components`` and
 ``/* END: Removable components */``.
 ``/* END: Removable components */``.

+ 1 - 1
docs/source/plugin_development.rst

@@ -351,7 +351,7 @@ All configuration settings have default values which can be overridden when
 gets called.
 gets called.
 
 
 Plugins often need their own additional configuration settings and you can add
 Plugins often need their own additional configuration settings and you can add
-these settings with the `_converse.api.settings.update </docs/html/api/-_converse.api.settings.html#.update>`_
+these settings with the `_converse.api.settings.extend </docs/html/api/-_converse.api.settings.html#.extend>`_
 method.
 method.
 
 
 Exposing promises
 Exposing promises