-
Notifications
You must be signed in to change notification settings - Fork 205
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generate hoogle docs for daml script/triggers (#7371)
* Generate hoogle docs for daml script/triggers This PR switches over the documentation generation for daml script and daml triggers to the multi-page format we already use for the standard library and extends it to also generate hoogle documentation. All 3 hoogle files are combined in a single hoogle_db.tar.gz archive. Since the location in the multi-page format is different, I’ve added redirects. I verified locally, that I can generate the hoogle database and that the links point to the right places. changelog_begin changelog_end * Fix baseurl for daml-stdlib changelog_begin changelog_end
- Loading branch information
1 parent
4b13b18
commit c0b6851
Showing
13 changed files
with
163 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
-- Hoogle documentation for DAML, generated by damlc | ||
-- See Hoogle, http://www.haskell.org/hoogle/ | ||
|
||
-- (C) Copyright 2020 Digital Asset (Switzerland) GmbH and/or its affiliates. | ||
-- All rights reserved. Any unauthorized use, duplication or distribution is strictly prohibited. | ||
|
||
-- | DAML Script library. | ||
@url {{base-url}} | ||
@package daml-script | ||
@version 1.2.0 | ||
|
||
{{{body}}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
.. Copyright (c) 2020 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved. | ||
.. SPDX-License-Identifier: Apache-2.0 | ||
.. _daml-script-api-docs: | ||
|
||
DAML Script Library | ||
==================== | ||
|
||
The DAML Script library defines the API used to implement DAML scripts. See :doc:`/daml-script/index`:: for more information on DAML script. | ||
|
||
{{{body}}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,4 @@ | ||
.. Copyright (c) 2020 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved. | ||
.. SPDX-License-Identifier: Apache-2.0 | ||
.. _daml-script-api-docs: | ||
|
||
DAML Script Library | ||
==================== | ||
|
||
The DAML Script library defines the API used to implement DAML scripts. See :doc:`index`:: for more information on DAML script. | ||
|
||
{{{body}}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
-- Hoogle documentation for DAML, generated by damlc | ||
-- See Hoogle, http://www.haskell.org/hoogle/ | ||
|
||
-- (C) Copyright 2020 Digital Asset (Switzerland) GmbH and/or its affiliates. | ||
-- All rights reserved. Any unauthorized use, duplication or distribution is strictly prohibited. | ||
|
||
-- | DAML Trigger library. | ||
@url {{base-url}} | ||
@package daml-trigger | ||
@version 1.2.0 | ||
|
||
{{{body}}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
.. Copyright (c) 2020 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved. | ||
.. SPDX-License-Identifier: Apache-2.0 | ||
.. _daml-trigger-api-docs: | ||
|
||
DAML Trigger Library | ||
==================== | ||
|
||
The DAML Trigger library defines the API used to declare a DAML trigger. See :doc:`/triggers/index`:: for more information on DAML triggers. | ||
|
||
{{{body}}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,4 @@ | ||
.. Copyright (c) 2020 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved. | ||
.. SPDX-License-Identifier: Apache-2.0 | ||
.. _daml-trigger-api-docs: | ||
|
||
DAML Trigger Library | ||
==================== | ||
|
||
The DAML Trigger library defines the API used to declare a DAML trigger. See :doc:`index`:: for more information on DAML triggers. | ||
|
||
{{{body}}} |