Commit Graph

87 Commits

Author SHA1 Message Date
Gary Verhaegen
20c0149b68
bump copyright for docs footer (#17098) 2023-07-10 17:02:02 +02:00
Gary Verhaegen
151e12b81a
bump copyright (#16002)
This is the result of:

- Updating `./COPY` to say `2023`.
- Running `./dev-env/bin/dade-copyright-headers update .`
2023-01-04 18:21:15 +01:00
Gary Verhaegen
46a4804672
bump nix (#15628)
Partly because the current version is from February (of this year,
fortunately), and partly because I need a more recent one to bump node
to 18 and fix the GSG for that.
2022-11-24 14:29:09 +00:00
Gary Verhaegen
3d70c68952
docs: no index (#14985)
This removes the index.rst files from the repo, and instead generates a
placeholder index that just includes all the rst files at build time.

The reason for this change is that the ToC is defined in docs.daml.com,
and having one on both sides is both confusing and error-prone.

CHANGELOG_BEGIN
CHANGELOG_END
2022-09-15 12:12:12 +02:00
Brian Weir
33f2ea596d
Integrate daml finance (#14989) 2022-09-09 10:54:24 +00:00
Moisés Ackerman
e97e8e31c7
Add pygments keywords (#14758)
* break daml_reserved into one keyword per line

* sort daml_reserved alphabetically

* add a few missing keywords

changelog_begin
changelog_end
2022-08-19 13:27:27 +02:00
Moisés Ackerman
d4d78fc6c4
Use rst_prolog to define typescript link targets (#14225) 2022-06-20 13:14:10 +02:00
carrielaben-da
1b4f9bb2f8
Removing the Daml Ledgers table (#13781)
* Removing the Daml Ledgers table

Removes the existing Deploying to Daml Ledgers table and moves Deploying To A Generic Daml Ledger up in the TOC

[CHANGELOG_BEGIN]

[CHANGELOG_END]

* Update index.pdf

Conforming the pdf to the rst

[CHANGELOG_BEGIN]

[CHANGELOG_END]

* Update packages.rst

Removed reference to a deleted page.

[CHANGELOG_BEGIN]

[CHANGELOG_END]

* Update authorization.rst

Removed link to deleted page

[CHANGELOG_BEGIN]

[CHANGELOG_END]

* Update authorization.rst

Corrected

[CHANGELOG_BEGIN]

[CHANGELOG_END]

* Update authorization.rst

Additional changes to try to pass the required checks.

[CHANGELOG_BEGIN]

[CHANGELOG_END]

Co-authored-by: carrie-laben <91496516+carrie-laben@users.noreply.github.com>
2022-05-06 12:51:40 -04:00
Sergey Kisel
c959812e96
Documentation for test evidence. [DPP-996] (#13545)
* Documentation for test evidence. [DPP-996]

CHANGELOG_BEGIN
CHANGELOG_END

* doc update
2022-05-05 17:28:06 +02:00
Gary Verhaegen
6fe55a0344
docs: remove ops/connect/index (#13575)
This brings the docs in line with digital-asset/docs.daml.com#5.

CHANGELOG_BEGIN
CHANGELOG_END
2022-04-12 21:30:25 +02:00
Gary Verhaegen
dfa648f585
hunt down DAML better (#13195)
Process:

- `git ls-files -z | xargs -0 -n 100 sed -i --follow-symlinks 's/DAML/Daml/g'`
- `git add -p`
- `git restore -p`
- Check there is no unstaged change left.

To review:

- Check for false positives by carefully reviewing the diff in this PR.
- Check for false negatives with `git grep DAML`.
- Quicker check for fals positives:

```
git grep DAML | grep -v migration | grep -v DAML_
```

Fixes #13190

Note: This is the "second half" of #13191, which failed to cover all the
remaining DAMLs because of:

```
$ git ls-files | grep "'"
compiler/damlc/tests/daml-test-files/MangledScenario'.daml
```

CHANGELOG_BEGIN
CHANGELOG_END
2022-03-08 17:04:58 +01:00
Simon Maxen
728f03c855
Participant metering documentation (#13070)
* Participant metering documentation

changelog_begin
Participant metering added to Daml operating insturctions documentation
changelog_end
2022-02-25 10:59:20 +00:00
davidrichards-da
0ed1e0526b
Moving the 'testing your web app' page to the GSG (#13060)
* Moving the 'testing your web app' page to the GSG

CHANGELOG_BEGIN
CHANGELOG_END

Moving the 'testing your web app' page to the GSG

* Updating paths after moving the file

Updating paths after moving the file

* Adding the testing page to the pdf file too.

* Adding a link to the user management description

CHANGELOG_BEGIN
CHANGELOG_END

Adding a link to the user management description

* fixing link in first-feature linking to the moved page

fixing link in first-feature linking to the moved page

* Updating a link to the testing file

Updating a link to the testing file
2022-02-24 13:00:48 +00:00
Moritz Kiefer
bd1ae4cae7
Enable html4 writer in sphinx (#13056)
The sphinx update switched to an html 5 writer by default which broke
a bunch of our CSS which I unfortunately missed. While that is
definitely fixable, a few days before our 2.0 release this doesn’t
seem sensible to focus on so for now let’s force the html4 writer.

changelog_begin
changelog_end
2022-02-24 12:27:02 +01:00
Stefano Baghino
21769eaff5
Move Daml Helm Chart and Auth0 setup pages to early access (#13052)
Add a disclaimer that these pages do not work with Daml 2.0
but are under active development.

Closes #13038
Closes #13039

changelog_begin
changelog_end
2022-02-24 10:51:08 +00:00
Moritz Kiefer
8a966bfaf3
Upgrade sphinx (#12968)
* Upgrade sphinx

Don’t want to be stuck on 1.8.3 forever. The current version is
4.4.0 (this upgrades to 4.3.1 which is the latest in nixpkgs).

I did had to drop footnotebackref. This runs into the same issue as
https://tex.stackexchange.com/questions/137594/hyperref-footnotebackref-in-longtable
but just copying the fix doesn’t work and I don’t understand enough
about the details here to fix this myself.

We have 7 footnotes in the Daml docs + some in the Canton docs. That
does not seem worth sticking on a sphinx version from 2018 for just to
get backreferences from footnotes to the link on the same page.

changelog_begin
changelog_end

* turns out you need fonts maybe

* .

changelog_begin
changelog_end

* suppport :force: in daml-docs

changelog_begin
changelog_end
2022-02-22 14:30:15 +00:00
Bernhard Elsner
5cb672db2b
Fix docs rendering of \n in interpolated strings in TypeScript (#13015)
CHANGELOG_BEGIN
CHANGELOG_END
2022-02-22 13:43:35 +01:00
Jennifer Whyte
4df4db11e8
Add new toctrees in daml docs (#12880)
* Add toctrees in daml docs

CHANGELOG_BEGIN
CHANGELOG_END

* Update operating-daml.rst

Remove wrong link (ops/index>

CHANGELOG_BEGIN
CHANGELOG_END

* Making toc visible on new pages

Making toctrees visible so new pages aren't empty

* Update docs/source/building-applications.rst

Co-authored-by: Moritz Kiefer <moritz.kiefer@purelyfunctional.org>

* Fix underlines

CHANGELOG_BEGIN
CHANGELOG_END

* Fix missing from toctree messages

CHANGELOG_BEGIN
CHANGELOG_END

* Fix pdf docs

changelog_begin
changelog_end

Co-authored-by: Moritz Kiefer <moritz.kiefer@purelyfunctional.org>
2022-02-15 07:34:29 +00:00
Gary Verhaegen
ea55ea2d14
Further copyright updates (#12249)
Somewhat error-prone, so please review carefully.

Reasons we need this:

- Some file types are not properly handled by the script.
- The only exclusion mechanism we currently have (`NO_AUTO_COPYRIGHT`)
  is overly coarse.

CHANGELOG_BEGIN
CHANGELOG_END
2022-01-04 16:32:17 +01:00
Gary Verhaegen
d2e2c21684
update copyright headers (#12240)
New year, new copyright, new expected unknown issues with various files
that won't be covered by the script and/or will be but shouldn't change.

I'll do the details on Jan 1, but would appreciate this being
preapproved so I can actually get it merged by then.

CHANGELOG_BEGIN
CHANGELOG_END
2022-01-03 16:36:51 +00:00
Stefano Baghino
52110e31a3
Remove Extractor (#12188)
* Remove Extractor

Extractor is being removed after a long time being in Labs status.

This should improve the flakiness on CI.

🔥

changelog_begin
Extractor has been removed from the SDK
changelog_end

* Remove Extractor documentation

* Remove Extractor from CODEOWNERS

* Remove Extractor references in Daml-LF build files

* Remove Extractor references in the Daml SDK assistant

* Remove Extractor from the SDK

* Remove Extractor reference from CONTRIBUTING.md
2021-12-17 13:43:23 +00:00
Moritz Kiefer
97e3a1a557
Refactor docs build (#12172)
* Refactor docs build

This is in preparation for the split docs build where we publish our
sphinx sources here and then build the final docs combined with the
Canton docs in the assembly repo.

Apologies for the messy diff. The idea here is the following:

1. We bundle together all files used as sphinx inputs in
sphinx-source-tree. This will be what we publish.
2. We factor out the calls to sphinx-build for the pdf and html
build to be as generic as possible and share the code.
3. The existing rules for the html build & pdf docs don’t invoke
sphinx anymore and instead only keep the postprocessing (copying other
html files or calling lualatex).

In a followup PR I’ll also simplify the postprocessing steps and then
finally publish those artifacts as part of our build.

changelog_begin
changelog_end

* fmt

changelog_begin
changelog_end

* .

changelog_begin
changelog_end

* .

changelog_begin
changelog_end

* .

changelog_begin
changelog_end
2021-12-16 15:37:21 +00:00
Simon Meier
64e228b72b
integration-kit: remove all its docs (#12157)
CHANGELOG_BEGIN
- [Daml Integration Kit]: removed from Daml 2.0
CHANGELOG_END
2021-12-16 10:30:19 +01:00
Andreas Lochbihler
9a931854b2
add docs for command dedup (#11928)
CHANGELOG_BEGIN
Documentation on the new command deduplication mechanism
CHANGELOG_END
2021-12-14 09:36:32 +01:00
Bernhard Elsner
80768427d0
Add Java and database compatibility docs. (#11979)
* Add Java and database compatibility docs.
CHANGELOG_BEGIN
CHANGELOG_END
* Update the versions we test on to match reality
2021-12-06 12:15:33 +00:00
Andreas Lochbihler
49e5d415f6
align index.rst files for HTML and PDF (#11907)
CHANGELOG_BEGIN
CHANGELOG_END
2021-11-29 14:48:20 +01:00
pbatko-da
55191847cd
[DPP-673][Self-service error-codes] Generate error code directory compatible with both pdf and html docs (#11794)
CHANGELOG_BEGIN
CHANGELOG_END
2021-11-23 15:30:48 +01:00
pbatko-da
d3dad75d00
[DPP-592] Generate docs for self-service error codes. (#11129)
Adding `Daml Documentation >> Building applications >> "Self-Service Error Codes (Experimental)` section in the HTML documentation. 

The section is populated automatically with error code information retrieved from the classpath.
The process of generating documentation for error codes looks like this:
- first we find error codes information from the classpath,
- then we save it to a json file,
- then the json file is made available to a custom Sphinx extension,
- then the custom Sphinx extension generates documentation wherever we put a new custom Sphinx directive.

Try it out with
`./docs/scripts/live-preview.sh`
or
`./docs/scripts/preview.sh`


CHANGELOG_BEGIN
CHANGELOG_END
2021-10-20 08:47:54 +02:00
Gary Verhaegen
185f888b44
move e2e testing to app-dev (#10479)
* move e2e testing to app-dev

This should take care of step 1 in #10419.

CHANGELOG_BEGIN
CHANGELOG_END

* change title
2021-08-05 11:28:46 +02:00
Moritz Kiefer
0303017343
Delete "testing with scenarios" section (#9360)
This is superseded by
https://docs.daml.com/daml/intro/2_DamlScript.html which seems much
nicer and I don’t see what we gain by having both.

fixes #8839

changelog_begin
changelog_end
2021-04-08 14:50:33 +02:00
Moritz Kiefer
6c9679f511
Add documentation for the Daml Profiler (#9174)
* Add documentation for the Daml Profiler

changelog_begin

- [Daml Profiler] Daml Connect EE now includes a profiler which can be
used to profile Daml execution time.

changelog_end

* Update docs/source/tools/profiler.rst

Co-authored-by: Bernhard Elsner <40762178+bame-da@users.noreply.github.com>

* Make sphinx happy

changelog_begin
changelog_end

Co-authored-by: Bernhard Elsner <40762178+bame-da@users.noreply.github.com>
2021-03-18 09:48:10 +01:00
Moritz Kiefer
98c2651998
Support fetching SDK EE tarball in the assistant (#9146)
* Support fetching SDK EE tarball in the assistant

This PR adds an `artifactory-api-key` field to `daml-config.yaml`. If
this is set, we will download the SDK EE tarball if it exists, falling
back to GH releases on 404s (for old releases).

changelog_begin

- [Daml Assistant] The assistant now supports an `artifactory-api-key`
  field in `daml-config.yaml`. If you have a license for Daml Connect
  EE you can specify this and the assistant will automatically fetch
  the EE edition which provides additional functionality.

changelog_end

* Hardcode first EE snapshot

changelog_begin
changelog_end
2021-03-16 14:17:50 +01:00
Gary Verhaegen
bdf4095735
docs: remove references to create-daml-app repo (#8805)
* docs: remove references to create-daml-app repo

Hopefully that's all of them. Thanks to Alexander Bernauer for reporting
on [the forum].

[the forum]: https://discuss.daml.com/t/type-script-support-dropped-with-sdk-1-9-0/2054/6?u=gary_verhaegen

CHANGELOG_BEGIN
CHANGELOG_END

* remove template link
2021-02-10 11:45:59 +00:00
Bernhard Elsner
24116e4fa2
Minor docs fixes (#8662)
* Fix copyright messages.

The (C) Copyright gets inserted automatically.

CHANGELOG_BEGIN
CHANGELOG_END

* Update favicons

* Reduce z-indices

* Improve inline search hover effect

* Avoid putting "null" in the search bar

* Address Gary's feedback

* Remove pycache

* Improve gitignore

* Change © to (c)
2021-01-29 08:42:36 +00:00
Gary Verhaegen
ce8c38bac1
copyright updates (#8610)
CHANGELOG_BEGIN
CHANGELOG_END
2021-01-22 15:03:36 +00:00
Bernhard Elsner
cda93db944
Daml case and logo (#8433)
* Replace many occurrences of DAML with Daml

* Update docs logo

* A few more CLI occurrences

CHANGELOG_BEGIN
- Change DAML capitalization and docs logo
CHANGELOG_END

* Fix some over-eager replacements

* A few mor occurrences in md files

* Address comments in *.proto files

* Change case in comments and strings in .ts files

* Revert changes to frozen proto files

* Also revert LF 1.11

* Update get-daml.sh

* Update windows installer

* Include .py files

* Include comments in .daml files

* More instances in the assistant CLI

* some more help texts
2021-01-08 12:50:15 +00:00
Bernhard Elsner
61beb175f3
Improve the docs copyright notice (#8205)
* Improve the docs copyright notice

CHANGELOG_BEGIN
CHANGELOG_END

* Update docs/configs/html/conf.py

Co-authored-by: Gary Verhaegen <gary.verhaegen@digitalasset.com>

Co-authored-by: Gary Verhaegen <gary.verhaegen@digitalasset.com>
2021-01-07 17:22:12 +00:00
Moritz Kiefer
df35aed5bb
Remove Navigator console (#8392)
* Remove Navigator console

This was a labs feature so we can remove it without a deprecation
cycle. It doesn’t have any known users and is almost completely
superseded by DAML REPL.

@bame-da agreed to the removal.

This also has the nice side effect of eliminating 1 of our 2
dependencies that were not Scala 2.13 compatible.

changelog_begin

- [Navigator Console] The labs feature Navigator Console has been
  removed. Users are encouraged to use DAML REPL instead.

changelog_end

* Kill Navigator database docs completely

changelog_begin
changelog_end
2021-01-05 13:20:48 +01:00
Gary Verhaegen
a925f0174c
update copyright notices for 2021 (#8257)
* update copyright notices for 2021

To be merged on 2021-01-01.

CHANGELOG_BEGIN
CHANGELOG_END

* patch-bazel-windows & da-ghc-lib
2021-01-01 19:49:51 +01:00
Bernhard Elsner
7f81db4fc4
Add build rule for DAML Driver for PostgreSQL docs (#8188)
* Add build rule for DAML Driver for PostgreSQL docs

CHANGELOG_BEGIN
CHANGELOG_END

* Reimplement some JS functions

* fmt

changelog_begin
changelog_end

Co-authored-by: Moritz Kiefer <moritz.kiefer@purelyfunctional.org>
2020-12-08 10:19:48 +00:00
fabiotudone-da
29dd5909b8
Document participant pruning for operators [KVL-421] (#8138)
* Document participant pruning for operators

CHANGELOG_BEGIN
CHANGELOG_END

* Add references

* Add references and authorization info

* Address review comments

* Keep paragraphs on the same line

* Fix link to Pruning Service

* Add services section for Pruning Service

* Add Pruning Service to service diagrams

* Fix leftover

* How to determine a suitable pruning offset

* Expand determining a suitable offset

* Expand API impacts

* Expand limitations

* Address review comments

* Address review comments
2020-12-04 19:35:31 +01:00
Bernhard Elsner
ec41bb2652
Small sizing and alignment fixes (#8171)
CHANGELOG_BEGIN
CHANGELOG_END
2020-12-04 15:16:50 +00:00
Bernhard Elsner
0f54a0cbdb
Remove the examples page from the docs in favour of one on daml.com (#8090)
* Remove the examples page from the docs in favour of one on daml.com

CHANGELOG_BEGIN
CHANGELOG_END

* Fix link from /samples to /examples

* Fix link in daml intro

* Fix link, second try
2020-11-30 15:37:15 +01:00
Bernhard Elsner
df1dee2397
Replace occurrances of DAML SDK in the docs with appropriate new terms (#7739)
* Replace occurrances of DAML SDK in the docs with appropriate new terms

CHANGELOG_BEGIN
CHANGELOG_END

* Apply suggestions from code review

Revert two renamings.

* Fix broken internal link
2020-10-21 12:03:00 +00:00
Bernhard Elsner
cfed918e40
Fix bifunctor docs (#7552)
* Fix bifunctor docs

- Remove non-implemented Haddock markup
- Fix code blocks
- Fix Lexer to accept `≡`
- Change Haskell REPL `>>>` to DAML REPL `daml>`

CHANGELOG_BEGIN
CHANGELOG_END

* Further improvements
2020-10-02 11:48:03 +00:00
Moritz Kiefer
d87d658245
Document standalone JAR for the JSON API (#7494)
fixes #7453

changelog_begin
changelog_end
2020-09-25 17:52:36 +02:00
Bernhard Elsner
331ee44978
Documentation of our support and compatibility framework (#7458)
* Documentation of our support and compatibility framework

CHANGELOG_BEGIN
CHANGELOG_END

* Update docs/source/daml-integration-kit/index.rst

Co-authored-by: Moritz Kiefer <moritz.kiefer@purelyfunctional.org>

* Update docs/source/support/component-statuses.rst

Co-authored-by: Moritz Kiefer <moritz.kiefer@purelyfunctional.org>

* Address feedback

* Update docs/source/support/compatibility.rst

Co-authored-by: Gerolf Seitz <gerolf.seitz@daml.com>

* Add Deprecations and address feedback

* Fix short title underline

* Apply suggestions from code review

Co-authored-by: Gerolf Seitz <gerolf.seitz@daml.com>

* Improve sentence on Integration Kit

* Imprive SemVer TLDR

* Uncapitalize release candidate

* Fix release timeline image

* Make the DAML Language Server CLI a Labs feature

Co-authored-by: Moritz Kiefer <moritz.kiefer@purelyfunctional.org>
Co-authored-by: Gerolf Seitz <gerolf.seitz@daml.com>
2020-09-24 14:40:57 +00:00
Gary Verhaegen
4f2bd150b9
focus SDK install page (#7131)
- Put Windows first, and add a direct link to the installer.
- Move the manual step to a separate page.
- Link to AdoptOpenJDK as they have by far the simplest download page.

CHANGELOG_BEGIN
CHANGELOG_END
2020-08-18 15:34:28 +02:00
Moritz Kiefer
ee74551642
Add previous/next buttons to the documentation (#6811)
fixes #6701

changelog_begin
changelog_end
2020-07-21 17:14:33 +02:00
Moritz Kiefer
c060febdf6
Update DAML Studio documentation (#6808)
* Update DAML Studio documentation

This updates the DAML Studio docs primarily focusing on the table view
which was completely omitted so far. This also includes the new
disclosure information.

This is probably best reviewed locally.

changelog_begin
changelog_end

* No copyright header for samples

changelog_begin
changelog_end

* Move to SDK tools section

changelog_begin
changelog_end

* fix typo

fixes #6775 

changelog_begin
changelog_end

* Update docs/source/daml/daml-studio.rst

Co-authored-by: Sofia Faro <sofia.faro@digitalasset.com>

Co-authored-by: Sofia Faro <sofia.faro@digitalasset.com>
2020-07-21 13:41:39 +02:00