Skip to content

All markdown files need to be updated to use handlebars template syntax over custom variable syntax. #581

Description

@DukeFerdinand

Please verify the version of wc-generator you have installed

4.6.2

Please describe the bug

All partial files are currently using the old [name] style syntax for replacing components. The auro-library documentation processor now supports handlebars, so these should be updated where possible. These custom bracket variables are harder to notice and less extensible than handlebars variables, and contain a lot of reused "copy paste" code snippets - a problem that has been solved in handlebars for probably a decade :)

For example, [namespace]-[name] is used A LOT in these files to get auro-flight type outputs. In the new Handlebars templating we can do {{ withAuroNamespace name }} to deduplicate the structuring. We can even theoretically get a whole CDN url just from a name like {{ withCdnUrl name }} since the prefix keywords are custom JavaScript function definitions.

The partials are in componentDocs/partials/ as that's where the README is pointing in each REMOTE: block.

Reproducing the error

None

Expected behavior

No legacy [name] variables should be used in production templates anymore.

What browsers are you seeing the problem on?

No response

Additional context

This does not need to be done right now, but should be done eventually.

Exit criteria

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions