daml/docs/source/writing-daml.rst
Gary Verhaegen 2064443555
docs: fix intro project names (#13562)
It looks like we have changed the package naming rules such that a lot
of examples in our documentation are now producing warnings. This PR
fixes the `daml new` commands, though I believe we should rather change
the package name constraints back, as it looks like a gratuitous
backwards-compatibility break.

CHANGELOG_BEGIN
CHANGELOG_END
2022-04-12 10:47:52 +00:00

22 lines
1.2 KiB
ReStructuredText
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

.. Copyright (c) 2022 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
.. SPDX-License-Identifier: Apache-2.0
Writing Daml
=============
Daml is a smart contract language designed to build composable applications on the `Daml Ledger Model <https://docs.daml.com/concepts/ledger-model/index.html#da-ledgers>`_.
The Writing Daml section will teach you how to write Daml applications that run on any Daml Ledger implementation, including key language features, how they relate to the Daml Ledger Model and how to use Damls developer tools. It also covers the structure of a Daml Ledger as it pertains to designing your application.
You can find the Daml code for the example application and features in each section `here <https://github.com/digital-asset/daml/tree/main/docs/source/daml/intro/daml>`_ or download it using the Daml assistant. For example, to load the sources for section 1 into a folder called ``intro1``, run ``daml new intro1 --template daml-intro-1``.
To run the examples, you will first need to `install the Daml SDK <https://docs.daml.com/getting-started/installation.html>`_.
.. toctree::
:maxdepth: 2
daml/intro/0_Intro
daml/reference/index
daml/stdlib/index
daml/patterns