Commit Graph

290 Commits

Author SHA1 Message Date
Sander Spies
6da6fc2e59 Add SyntaxTitle component. 2020-03-09 18:19:46 +01:00
Sander Spies
3f1ee22bbc Refactor Switch component to be a plugin. 2020-03-09 18:19:31 +01:00
Lesenechal Remi
25f004844a self: now reject capitalized entrypoint annotation 2020-03-09 11:23:08 +01:00
Lesenechal Remi
68f562ffc6 add some doc about self in the reference page 2020-03-09 11:23:08 +01:00
Pierre-Emmanuel Wulfman
49625001b1 Fix simplifyer and test 2020-03-07 02:39:39 +01:00
Sander Spies
c95f4ee02c Merge 2020-03-06 08:38:07 +01:00
John David Pressman
15b3dc02db Improve LIGO intro page based on Sander's suggestions 2020-03-05 20:22:43 -08:00
Sander Spies
2a38375f6c Fix mobile homepage 2020-03-05 09:35:32 +01:00
Sander Spies
7b5dd8de3b Persistent syntax selection. 2020-03-04 21:39:57 +01:00
Pierre-Emmanuel Wulfman
38eaabb91f Merge branch 'fix-function-type-annotation-in-camel-simplifer' into 'dev'
Repare function annotation in let binding for Camligo and ReasonLigo and fix some contracts

See merge request ligolang/ligo!458
2020-03-04 14:33:57 +00:00
Sander
8f60accc24 - Improve darkmode support
- Reenable code block tabs
- Reeneble code blocks highlighting
2020-03-04 13:19:00 +00:00
Pierre-Emmanuel Wulfman
32d3bb5a0f fixing doc or fonction (partial application) 2020-03-04 10:35:34 +01:00
Pierre-Emmanuel Wulfman
5159f293f8 Repare function annotation in let binding for Camligo and ReasonLigo and fix some contracts 2020-03-04 10:35:34 +01:00
Lesenechal Remi
a4fece03d6 doc & changelog 2020-03-03 13:46:11 +01:00
John David Pressman
9791b993d2 Abbreviate and de-tone LIGO introduction draft 2020-03-02 21:42:45 -08:00
John David Pressman
f62ea8e8fe Make new intro page use less 'we' 2020-02-27 19:50:25 -08:00
Christian Rinderknecht
8d5a099009 Fixed "fail" -> "failwith" in the cheat-sheet. 2020-02-26 19:37:05 +01:00
Christian Rinderknecht
127a85822f More updates to the documentation. Synced the new reference page. 2020-02-26 18:31:58 +01:00
Christian Rinderknecht
623e16459f Changed Loop.continue to Loop.resume. 2020-02-26 13:36:50 +01:00
John David Pressman
f2bff77ffd Change LIGO documentation introduction to be about LIGO 2020-02-26 03:27:11 -08:00
Christian Rinderknecht
31a39bffbc I upgraded the parsers to accept Map.map etc. I rewrote the doc except "reference" to promote and deprecate built-ins. 2020-02-25 18:07:53 +01:00
Christian Rinderknecht
656807b22e Merge branch 'dev' of gitlab.com:ligolang/ligo into rinderknecht@doc 2020-02-25 17:09:19 +01:00
John David Pressman
936418615e Add Current.x reference page to doc tests 2020-02-25 05:26:04 -08:00
John David Pressman
9daabd0abf Merge branch 'dev' into docs/current-reference 2020-02-25 05:14:09 -08:00
John David Pressman
a0c2978b9f Add Current.x reference page to the docs 2020-02-25 05:13:25 -08:00
Christian Rinderknecht
4699d2c954 Included remarks on the MR. 2020-02-24 11:39:45 +01:00
Christian Rinderknecht
817e94603b Syncronised the *.ligo files of the tutorial with the contents of the tutorial. 2020-02-23 07:30:41 +01:00
Christian Rinderknecht
9fb311ef13 Renamed main to the original buy_taco. 2020-02-22 16:50:36 +01:00
Christian Rinderknecht
feaf143209 "access function" -> "main function" 2020-02-21 18:13:09 +01:00
Christian Rinderknecht
f4d688df7b Fixed the tutorial. Enabled underscores in tez amounts. Fixed docs on
Tez and tuples (zero-indexation).
2020-02-21 17:16:53 +01:00
John David Pressman
62fe576bc9 Revert "Merge branch 'fix/pascal-tuples-in-doc' into 'dev'"
This reverts merge request !437
2020-02-20 05:25:30 +00:00
Pierre-Emmanuel Wulfman
8d01fcb9f7 Merge branch 'fix/pascal-tuples-in-doc' into 'dev'
Make Tuple in PascaLigo starting at one

See merge request ligolang/ligo!437
2020-02-19 17:15:29 +00:00
Pierre-Emmanuel Wulfman
b8af9a56d9 fix contract with tuples starting at one 2020-02-19 16:15:43 +01:00
John David Pressman
ee4d62be46 Add reference pages to docs sidebar, change titles to include description like python 2020-02-15 00:14:46 -08:00
Eowyn Dean
8e9e871d08 Update siteConfig.js to collapse docs sidebar categories 2020-02-13 14:50:35 +00:00
Suzanne Dupéron
6be23179c6 Merge branch 'dev' into 'docs/list-reference'
# Conflicts:
#   src/test/contracts/list.ligo
#   src/test/md_file_tests.ml
2020-02-12 15:13:27 +00:00
John David Pressman
f2b3e83986 Merge branch 'dev' into docs/map-reference 2020-02-11 17:56:21 -08:00
John David Pressman
e8da2626e4 Add set reference page to the docs
Add Set.literal to the test suite
2020-02-12 01:39:41 +00:00
John David Pressman
93ed763483 Fix type of List.map and clean up its PascaLIGO example in list reference page 2020-02-11 17:27:27 -08:00
Christian Rinderknecht
37bf8d6f76 Merge branch 'dev' of gitlab.com:ligolang/ligo into dev 2020-02-11 22:29:44 +01:00
Christian Rinderknecht
8c0a25bdb5 Fixes after writing the slides. 2020-02-11 22:29:12 +01:00
John David Pressman
e0c5505886 Merge branch 'dev' into docs/big-map-reference 2020-02-11 01:07:32 -08:00
John David Pressman
39c0f01998 Add big_map reference page to doc tests and add big_map add to test suite 2020-02-11 01:03:46 -08:00
John David Pressman
bfd240dacf Merge branch 'dev' into docs/map-reference 2020-02-10 20:53:30 -08:00
John David Pressman
b6a6eea5d2 Add map reference page to doc tests and fix bugs 2020-02-10 20:51:48 -08:00
Christian Rinderknecht
61832354d9 Merge branch 'dev' of gitlab.com:ligolang/ligo into feature/doc-pascaligo-loop 2020-02-10 19:22:52 +01:00
Christian Rinderknecht
82aacde97f More documentation rewrites. 2020-02-10 19:07:20 +01:00
Suzanne Dupéron
78bbf9b044 Merge branch 'dev' into 'dev'
add Telegram link

See merge request ligolang/ligo!351
2020-02-09 09:02:31 +00:00
Suzanne Dupéron
995ca7e807 Print numeric records as tuples, better typer error messages for records & tuples 2020-02-09 00:31:30 +01:00
Christian Rinderknecht
e6dc4371ee Merge branch 'dev' of gitlab.com:ligolang/ligo into feature/doc-pascaligo-loop 2020-02-08 10:16:34 +01:00
Sander
c79b09ed86 Merge branch 'dev' into 'dev'
Changes add function to a single tuple param, resolving example LIGO statement

See merge request ligolang/ligo!397
2020-02-08 06:13:40 +00:00
John David Pressman
8db8f6f039 Add list reference page to docs and add unit tests for List.size 2020-02-07 20:17:13 -08:00
John David Pressman
02c59db8b8 Simplify a few pascaligo functions in string reference page 2020-02-07 14:03:57 -08:00
Justin Wilson
fff734dd00 Changes add function to a single tuple param, resolving example LIGO statement 2020-02-07 14:24:15 -07:00
John David Pressman
4c45eb9fb3 Add string reference page to docs 2020-02-07 05:27:23 -08:00
Lesenechal Remi
c82ae6359a fix broken .md file (sets-lists-tuples) 2020-02-06 13:34:32 +01:00
Christian Rinderknecht
9f9f5c82ae Added an example about lambdas. 2020-02-06 12:32:23 +01:00
Christian Rinderknecht
3583f72cb4 Improvements from Sander and JDP. 2020-02-06 11:48:59 +01:00
Christian Rinderknecht
410bbb0723 Complete rewrite of the documentation. 2020-02-05 16:28:40 +01:00
John David Pressman
04daf776d3 Add rough draft of big map reference page to docs 2020-02-04 23:08:47 -08:00
John David Pressman
59448e1d91 Add partial draft of Current library documentation and unit tests for Current.amount 2020-02-04 20:27:56 -08:00
Sander Spies
a0ffc441f3 Forgot to add these. 2020-02-03 11:25:13 +01:00
Christian Rinderknecht
87aa50f097 Merge branch 'docs/bytes-reference' into 'dev'
Add bytes reference page to docs

See merge request ligolang/ligo!371
2020-02-02 19:29:18 +00:00
John David Pressman
477d2e1b12 Add map reference page to docs 2020-01-31 17:22:51 -08:00
John David Pressman
ef83e2c39a Add correction of 'black2b' to changelog 2020-01-31 03:40:59 -08:00
John David Pressman
c8e0654ffe Add crypto reference page to docs
Change 'black2b' to 'blake2b' in CameLIGO/ReasonLIGO frontend
2020-01-31 03:34:36 -08:00
John David Pressman
e127528e95 Add bytes reference page to docs 2020-01-30 12:13:24 -08:00
Francis Brunelle
562f7d1b10 Merge branch 'dev' into 'dev'
# Conflicts:
#   gitlab-pages/docs/advanced/entrypoints-contracts.md
#   gitlab-pages/docs/language-basics/boolean-if-else.md
#   gitlab-pages/docs/language-basics/functions.md
2020-01-29 16:31:09 +00:00
Matej Šima
518c743172 LIGO-258 Docs updates 2020-01-29 16:15:03 +00:00
Christian Rinderknecht
04381b9dcf Merge branch 'feature/doc-pascaligo-loop' into 'dev'
Some doc update for Ligo training

See merge request ligolang/ligo!364
2020-01-29 14:56:50 +00:00
Lesenechal Remi
daba161105 review request: better description for entry points 2020-01-29 15:02:07 +01:00
Sander
c3137d9fa8 ReasonLIGO cheat-sheet. 2020-01-28 16:36:55 +00:00
Lesenechal Remi
e55c8400a7 better explaination for entry points 2020-01-28 17:00:51 +01:00
Christian Rinderknecht
149242a371 Updates. 2020-01-28 17:00:51 +01:00
Francis Brunelle
af23dcaebb
add Telegram link 2020-01-23 09:20:42 -05:00
John David Pressman
f17388bd80 Change ReasonLIGO and CameLIGO examples to use tuple param destructuring 2020-01-22 21:37:22 -08:00
John David Pressman
eba4901a76 Merge branch 'docs/update-front-page-examples-2' into 'dev'
Update CameLIGO and ReasonLIGO examples on front page so they're usable in the IDE

See merge request ligolang/ligo!347
2020-01-23 03:19:46 +00:00
John David Pressman
b50479b96b Merge branch 'docs/michelson-specific' into 'dev'
[LIGO-358] Add Tezos-specific LIGO features docs

See merge request ligolang/ligo!335
2020-01-22 09:58:46 +00:00
John David Pressman
69ee6d0521 Update CameLIGO and ReasonLIGO examples on front page so they're usable in the IDE 2020-01-21 14:49:42 -08:00
John David Pressman
f39e006cf9 Change warning about top level use of self_address in docs 2020-01-21 14:08:26 -08:00
John David Pressman
c811f0058e Change 'touples' to 'tuples' in docs 2020-01-21 03:13:57 -08:00
John David Pressman
dd44c0d621 Add self_address docs, fix warning for PACK and UNPACK 2020-01-21 02:45:38 -08:00
John David Pressman
44dd39dcb2 Fix examples on front page of ligolang.org, add reminder to change in future 2020-01-20 19:42:22 -08:00
John David Pressman
dea98d408c Fill in empty sections of Tezos-specific function page 2020-01-17 23:19:49 -08:00
John David Pressman
e8935ffa81 Add CameLIGO and ReasonLIGO examples to docs where they didn't already exist 2020-01-17 22:56:54 -08:00
John David Pressman
1d485b0242 Add signature checking to tezos specific functions page 2020-01-17 02:08:07 -08:00
John David Pressman
96bcbf572a Add rough draft documentation for hashing keys and pack/unpack operations 2020-01-16 21:50:45 -08:00
Lesenechal Remi
7143b82ba8 support for key and signature literals 2020-01-13 11:37:10 +01:00
John David Pressman
7b1d7755d1 [LIGO-365] Add CameLIGO and ReasonLIGO transaction examples 2020-01-09 23:13:53 +00:00
Lesenechal Remi
ad4dc27122 skip code block with #include 2020-01-09 10:34:30 +01:00
John David Pressman
71989876db Fix a bug, test added:
A never accounted message was not adding anything to the map
2020-01-08 20:58:26 +00:00
Christian Rinderknecht
cfe5494608 Fixed the examples in Markdown after my last MR forbidding
the shadowing of predefined values (like [balance] here).
2020-01-08 17:16:09 +01:00
John David Pressman
3b806d0bb7 [LIGO-342] Add big maps to docs, change example used for ordinary maps 2020-01-07 07:32:44 +00:00
John David Pressman
e89aace91c Clean up description of --predecessor-timestamp flag in logs 2020-01-03 12:49:42 -08:00
Lesenechal Remi
0ce29e22b9 add some timestamp doc 2020-01-03 21:39:25 +01:00
John David Pressman
fcd33026bb Fix loops page with ReasonLIGO 2020-01-02 12:26:02 -08:00
John David Pressman
2f25c4b683 Merge branch 'docs/loop-doc' of ssh://gitlab.com/ligolang/ligo into docs/loop-doc 2020-01-02 12:23:26 -08:00
Lesenechal Remi
e25c5bac35 adding loops.md to the list of tested file and fixed "loops.md" 2020-01-02 20:38:45 +01:00
John David Pressman
6b469ac869 Add docs page for loops 2020-01-02 20:35:04 +01:00
John David Pressman
7c4f59035f Add inclusion directive docs and inclusion tests for CameLIGO and ReasonLIGO 2020-01-02 16:11:03 +00:00