diff --git a/README.md b/README.md index a0117d9..17cdb6a 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ **tidy** is a package that generates documentation directly in [Typst](https://typst.app/) for your Typst modules. It parses doc-comments and can be used to easily build a reference section for a module. Doc-comments use Typst syntax − so markup, equations and even figures are no problem! > [!IMPORTANT] -> In version 0.4.0, the default documentation syntax has changed. You can take a look at the [migration guide][migration guide] or revert to the old syntax with `tidy.show-module(old-syntax: true, ...)`. +> In version 0.4.0, the default documentation syntax has changed. You can take a look at the [migration guide][migration guide] or revert to the old syntax with `tidy.parse-module(old-syntax: true, ...)`. > > You can still find the documentation for the old syntax in the [0.3.0 user guide](https://github.com/Mc-Zen/tidy/releases/download/v0.3.0/tidy-guide.pdf). @@ -120,7 +120,7 @@ A few test assertion functions are available to improve readability, simplicity, ### v0.4.0 _Major redesign of the documentation syntax_ - New features - - New parser for the new documentation syntax. The old parser is still available and can be activated via `tidy.show-module(old-syntax: true)`. There is a [migration guide][migration guide] for adopting the new syntax. + - New parser for the new documentation syntax. The old parser is still available and can be activated via `tidy.parse-module(old-syntax: true)`. There is a [migration guide][migration guide] for adopting the new syntax. - Cross-references to function arguments. - Support for detecting _curried functions_, i.e., function aliases with prepended arguments using the `.with()` function. diff --git a/docs/migration-to-0.4.0.md b/docs/migration-to-0.4.0.md index 6be2640..2bfe59d 100644 --- a/docs/migration-to-0.4.0.md +++ b/docs/migration-to-0.4.0.md @@ -1,7 +1,7 @@ # Migration guide from 0.3.0 to 0.4.0 (new parser) -If you choose to use the new documentation parser, this guide helps you with migrating your existing documentation to the new documentation syntax. Of course, you can also keep using the old syntax which will still be around for some time. It can be activated via `tidy.show-module(old-syntax: true, ...)`. +If you choose to use the new documentation parser, this guide helps you with migrating your existing documentation to the new documentation syntax. Of course, you can also keep using the old syntax which will still be around for some time. It can be activated via `tidy.parse-module(old-syntax: true, ...)`. ## Breaking changes