Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Separate Upgrade and Extend #687

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 6 additions & 9 deletions docs/3.1/_toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -234,15 +234,12 @@ subtrees:
- file: daml/resource-management/contention-reducing.rst
- file: daml/resource-management/contention-techniques.rst
- file: daml/resource-management/active-contract-set
- file: upgrade/index
title: "Upgrading and Extending Daml Applications"
entries:
- file: upgrade/extend
title: "Extending Daml Applications"
- file: upgrade/upgrade
title: "Upgrading Daml Applications"
- file: upgrade/automation
title: "Automating the Upgrade Process"
- file: upgrade/extend
title: "Extend Daml Applications"
- file: upgrade/upgrade
title: "Upgrade Daml Applications"
- file: upgrade/automation
title: "Automate Daml Application Upgrades"
- file: create-daml-apps/developer-tools/index
title: "Developer Tools"
subtrees:
Expand Down
2 changes: 2 additions & 0 deletions docs/3.1/docs/upgrade/extend.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ Extending Daml Applications
.. .. toctree::
:hidden:

An extension adds new templates and data structures to your Daml model, while leaving all previously written definitions unchanged.

Consider the following simple Daml model for carbon certificates:

.. literalinclude:: example/carbon-1.0.0/daml/CarbonV1.daml
Expand Down
30 changes: 0 additions & 30 deletions docs/3.1/docs/upgrade/index.rst

This file was deleted.

2 changes: 2 additions & 0 deletions docs/3.1/docs/upgrade/upgrade.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ Upgrading Daml Applications
.. .. toctree::
:hidden:

An upgrade changes previously defined data structures and templates in your Daml model.

In applications backed by a centralized database controlled by a
single operator, it is possible to upgrade an application in a single
step that migrates all existing data to a new data model.
Expand Down