docs: update DTL (Domain-Specific Text Literals) documentation#2649
Open
xgopilot[bot] wants to merge 1 commit intomainfrom
Open
docs: update DTL (Domain-Specific Text Literals) documentation#2649xgopilot[bot] wants to merge 1 commit intomainfrom
xgopilot[bot] wants to merge 1 commit intomainfrom
Conversation
Updates to the DTL documentation include: - List all built-in DTLs located in the encoding directory (csv, json, yaml, html, xml, regexp, regexposix, golang, xgo, fs) - Remove the requirement to import "golang.org/x/net/html" for html DTL - Add new section explaining relationship with DQL (DOM Query Language) - Add comprehensive usage examples for json, yaml, xml, html, golang, xgo, and fs DTLs - Document that many DTLs result in DOMs supporting NodeSet query operations (ns.* and ns.**) - Add special case documentation for fs DTL which returns NodeSet directly - Document the encoding directory structure Requested by @xushiwei Closes #2648 Generated with [codeagent](https://github.com/qbox/codeagent) Co-authored-by: xushiwei <[email protected]>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2649 +/- ##
=======================================
Coverage 94.10% 94.10%
=======================================
Files 32 32
Lines 9964 9964
=======================================
Hits 9377 9377
Misses 419 419
Partials 168 168 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by @xushiwei
This PR updates the DTL (Domain-Specific Text Literals) documentation with important changes.
Summary
ns.*andns.**)fs.means NodeSets of the current directoryTest plan
Closes #2648