Browse Source

Name -> name

default_compile_flags
vector-of-bool 4 years ago
parent
commit
6db141a7ed
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      docs/guide/interdeps.rst
  2. +1
    -1
      docs/guide/packages.rst

+ 2
- 2
docs/guide/interdeps.rst View File

In ``dds``, library interdependencies are tracked separately from the packages In ``dds``, library interdependencies are tracked separately from the packages
that contain them. A library must declare its intent to use another library that contain them. A library must declare its intent to use another library
in the ``library.json5`` at its library root. The minimal content of a in the ``library.json5`` at its library root. The minimal content of a
``library.json5`` is the ``Name`` key:
``library.json5`` is the ``name`` key:


.. code-block:: js .. code-block:: js


between them. between them.


It is the responsibility of package authors to document the ``namespace`` and It is the responsibility of package authors to document the ``namespace`` and
``Name`` of the packages and libraries that they distribute.
``name`` of the packages and libraries that they distribute.


.. note:: .. note::
The ``namespace`` of a package is completely arbitrary, and need not relate The ``namespace`` of a package is completely arbitrary, and need not relate

+ 1
- 1
docs/guide/packages.rst View File



In order for ``dds`` to be able to distribute and interlink libraries, a In order for ``dds`` to be able to distribute and interlink libraries, a
``library.json5`` file must be present at the corresponding library root. The ``library.json5`` file must be present at the corresponding library root. The
only required key in a ``library.json5`` file is ``Name``:
only required key in a ``library.json5`` file is ``name``:


.. code-block:: js .. code-block:: js



Loading…
Cancel
Save