-
Notifications
You must be signed in to change notification settings - Fork 250
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: add docs for tera features for the template documenation #2584
base: main
Are you sure you want to change the base?
Conversation
you've got a lot of lint errors and a merge conflict |
9baab15
to
328ce80
Compare
Fixed! |
docs/.vitepress/config.ts
Outdated
// languages: [ | ||
// "elisp" | ||
// ] | ||
config(md) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
what is this for?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
vitepress
seems doing some magic on inline code block. e.g., vitepress doesn't render {{
. [
vitepress](https://github.com/vuejs/vitepress/discussions/480)
recommends to either use <code v-pre>{{ 1 + 1 }}</code>
or this config.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed with HTML blocks.
- `if version is semver_matching(String)` – Confirms if a version string matches | ||
a semantic version pattern (e.g., `if "1.10.2" is semver_matching("^1.10.0")`). | ||
|
||
### Example Templates |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all of these examples look wrong in several places, have you actually tested them?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ugh, my ChatGPT practice is not going so hot. I configured a few templates and build some examples. The examples should work now.
fdb9079
to
d922b65
Compare
Closes #2048
Please raises comments for the document structure and general documentation improvements.
This should be merged after closing #2049.