tact-docs
tact-docs copied to clipboard
Tact main documentation
As of now, one needs to create a FunC function, and then import the file with it and wrap the function into a `native` one in Tact Related to #182...
As of now, it only features `@tact-lang/deployer`. We should either augment or override current description with Blueprint's approach to deployment and related auto-generated scripts for each contract.
This is a complex topic that often baffles newcomers
And that it's done automatically. Also, mention that receivers don't do that by default — in order to do refunds in receivers one has to use, say, `self.notify("Cashback".asComment());` or alike...
And make references to experimental `inline` option in the `tact.config.json` configuration. Depends on tact-lang/tact#888.
Could be implemented using `lychee`: https://github.com/nowarp/misti/blob/1ee515cd2eea19034647237f69c7d2c68c02f6b9/.github/workflows/ci.yml#L56-L61
Closes #399
The recent version of the compiler rejects the following code: https://github.com/tact-lang/tact-docs/blob/d285e25dc2a906cfb43e743b8f8430fd10c480de/pages/cookbook/data-structures.mdx?plain=1#L254 ``` Syntax error: src/routes/(examples)/04-arrays/contract.tact:47:13: Parse error: expected not a reservedWord Line 47, col 13: 46 | > 47 |...
Towards #72
And provide links to the resulting files from the index page and from the sidebar. Links to explore: * https://github.com/jean-humann/docs-to-pdf * https://github.com/simonhaenisch/md-to-pdf * https://github.com/withastro/starlight/discussions/964 * https://www.npmjs.com/package/html-export-pdf-cli * https://wkhtmltopdf.org/ * https://pandoc.org/...