Skip to content

Commit

Permalink
feat(docs): enhance Jettons Cookbook page (tact-lang#944)
Browse files Browse the repository at this point in the history
* feat(docs): enhance jetton page
* chore(docs): add pr info
* update docs/src/content/docs/cookbook/jettons.mdx
* fix: remove mermaid until it gets a proper support in Starlight or when we would really need inlined diagrams

Perhaps, we can pre-compute the mermaid diagrams using it's CLI, then
embed those onto the page via a remark plugin. Unless, of course, there
would be a simpler solution available if/when we need lots of diagrams
in the future!

* chore: editing busywork
* chore: final editing touches

---------

Co-authored-by: Novus Nota <[email protected]>
  • Loading branch information
a-bahdanau and novusnota authored Oct 25, 2024
1 parent 1adf5d5 commit 980f68a
Show file tree
Hide file tree
Showing 4 changed files with 262 additions and 52 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- The `parseImports` function now returns AST import nodes instead of raw strings: PR [#966](https://github.com/tact-lang/tact/pull/966)
- Optional types for `self` argument in `extends mutates` functions are now allowed: PR [#854](https://github.com/tact-lang/tact/pull/854)
- Docs: complete overhaul of the exit codes page: PR [#978](https://github.com/tact-lang/tact/pull/978)
- Docs: enhanced Jettons Cookbook page: PR [#944](https://github.com/tact-lang/tact/pull/944)

### Fixed

Expand Down
2 changes: 1 addition & 1 deletion docs/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export default defineConfig({
// Per-page Google tag setup
tag: "script",
content: "window.dataLayer=window.dataLayer||[];function gtag(){dataLayer.push(arguments)}gtag('js',new Date());gtag('config','G-ZJ3GZHJ0Z5');",
}
},
],
social: {
github: 'https://github.com/tact-lang/tact',
Expand Down
4 changes: 2 additions & 2 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@
"@astrojs/markdown-remark": "^5.2.0",
"@astrojs/starlight": "^0.28.2",
"astro": "^4.16.1",
"cspell": "^8.14.4",
"hast-util-to-string": "^3.0.0",
"rehype-autolink-headings": "7.1.0",
"rehype-katex": "7.0.1",
"remark-custom-heading-id": "2.0.0",
"remark-math": "6.0.0",
"sharp": "^0.32.5",
"starlight-links-validator": "^0.12.1",
"typescript": "^5.6.2",
"cspell": "^8.14.4",
"hast-util-to-string": "^3.0.0",
"unist-util-visit": "^5.0.0"
},
"packageManager": "[email protected]"
Expand Down
Loading

0 comments on commit 980f68a

Please sign in to comment.