Procházet zdrojové kódy

Fix outdated documentation.

John Livingston před 1 rokem
rodič
revize
c34ccc1f20
2 změnil soubory, kde provedl 4 přidání a 3 odebrání
  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
 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
 ``/* 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.
 
 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.
 
 Exposing promises