Skip to content

Commit

Permalink
correct broken ledger-api-introduction links (digital-asset#1565)
Browse files Browse the repository at this point in the history
* correct broken ledger-api-introduction links

* remove extra line break

* add required signatory to bindings-java code snippet
  • Loading branch information
dasormeter authored Jun 7, 2019
1 parent 290d2f3 commit 45c1dda
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 6 deletions.
9 changes: 7 additions & 2 deletions docs/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -322,8 +322,13 @@ java_binary(
)

daml_test(
name = "ledger-api-introduction-daml-test",
srcs = glob(["source/app-dev/ledger-api-introduction/code-snippets/**/*.daml"]),
name = "ledger-api-daml-test",
srcs = glob(["source/app-dev/code-snippets/**/*.daml"]),
)

daml_test(
name = "bindings-java-daml-test",
srcs = glob(["source/app-dev/bindings-java/code-snippets/**/*.daml"]),
)

daml_test(
Expand Down
8 changes: 5 additions & 3 deletions docs/redirects.map
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,12 @@ packages/da-docs-example-bond-trading/index.html -> /examples/bond-trading/index
packages/da-docs-example-bond-trading/automation-introduction.html -> /examples/bond-trading/automation-introduction.html
packages/da-docs-example-bond-trading/automation-implementation.html -> /examples/bond-trading/automation-implementation.html
packages/da-docs-example-bond-trading/bond-trading-model.html -> /examples/bond-trading/bond-trading-model.html
packages/ledger-api-introduction/index.html -> /app-dev/ledger-api-introduction/index.html
packages/ledger-api-introduction/changelog.html -> /app-dev/ledger-api-introduction/changelog.html
packages/ledger-api-introduction/index.html -> /app-dev/grpc/index.html
packages/ledger-api-introduction/daml-to-ledger-api.html -> /app-dev/grpc/daml-to-ledger-api.html
packages/ledger-api-introduction/proto-docs.html -> /app-dev/ledger-api-introduction/proto-docs.html
packages/ledger-api-introduction/proto-docs.html -> /app-dev/grpc/proto-docs.html
app-dev/ledger-api-introduction/index.html -> /app-dev/grpc/proto-docs.html
app-dev/ledger-api-introduction/daml-to-ledger-api.html -> /app-dev/grpc/daml-to-ledger-api.html
app-dev/ledger-api-introduction/proto-docs.html -> /app-dev/grpc/proto-docs.html
packages/da-docs-example-repo-market/daml-implementation.html -> /examples/repo-market/daml-implementation.html
packages/da-docs-example-repo-market/index.html -> /examples/repo-market/index.html
packages/da-docs-example-repo-market/repo-trading-model.html -> /examples/repo-market/repo-trading-model.html
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ template Bar
owner: Party
name: Text
where
signatory owner

controller owner can
Bar_SomeChoice: Bool
with
Expand Down
2 changes: 1 addition & 1 deletion ledger-api/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ This is the API code for the ledger, which contains:

# Documentation

The [Ledger API Introduction](https://docs.daml.com/app-dev/ledger-api-introduction/index.html) contains introductory material as well as links to the protodocs reference documentation.
The [Ledger API Introduction](https://docs.daml.com/app-dev/grpc/index.html) contains introductory material as well as links to the protodocs reference documentation.

See [the docs README](/docs/README.md) for more about how to preview and publish documentation.

0 comments on commit 45c1dda

Please sign in to comment.