jj/docs
Yuya Nishihara 891fe085a6 templater: add DiffStats type to provide raw stats values
I originally considered adding `stats() -> DiffStats` which returns an
unprintable object, with deprecation of `.stat(width)` in favor of
`.stats().<method_to_render>(width)`. However, I couldn't find a good name for
the rendering function. This patch instead made the width parameter optional. I
think that's good because template language doesn't have to be overly strict.

Closes #4154
2025-02-05 00:31:16 +00:00
..
design
governance
images
technical
bookmarks.md
cli-reference.md
code-of-conduct.md
community_tools.md
config-schema.json
config.md docs: add language identifiers to code blocks to improve syntax highlighting 2025-02-03 13:43:24 +00:00
config.toml
conflicts.md docs: add language identifiers to code blocks to improve syntax highlighting 2025-02-03 13:43:24 +00:00
contributing.md
design_doc_blueprint.md
design_docs.md
FAQ.md docs: add language identifiers to code blocks to improve syntax highlighting 2025-02-03 13:43:24 +00:00
filesets.md docs: add language identifiers to code blocks to improve syntax highlighting 2025-02-03 13:43:24 +00:00
git-comparison.md
git-compatibility.md
github.md
glossary.md
index.md
install-and-setup.md docs/install-and-setup: replace linuxbrew with Homebrew 2025-02-04 12:42:21 +00:00
operation-log.md
related-work.md
revsets.md docs: add language identifiers to code blocks to improve syntax highlighting 2025-02-03 13:43:24 +00:00
roadmap.md
sapling-comparison.md
templates.md templater: add DiffStats type to provide raw stats values 2025-02-05 00:31:16 +00:00
testimonials.md
tutorial.md docs: add language identifiers to code blocks to improve syntax highlighting 2025-02-03 13:43:24 +00:00
windows.md docs/windows: remove unused link 2025-02-04 12:59:26 +00:00
working-copy.md