87 Commits
Author SHA1 Message Date
Justin Su 3c2269c6b8 Document support for box ul style (#2118) 2026-10-04 20:00:43 -04:00
Dan Davison 88c761397a Link to new binaries 2026-10-04 15:31:18 -04:00
Dan Davison 9800a761ab Link to new binaries 2026-10-04 11:12:15 -04:00
Dan Davison db221687c6 Make the manual build without errors or warnings under mdbook 0.5
mdbook 0.5 rejects book.toml's multilingual field and the fa-github icon name;
both were defaults anyway. Close three table cells, and escape '<=' and
'<SHELL>', which mdbook 0.5 parses as HTML.

cd manual && mdbook build
2026-10-04 08:58:29 -04:00
5ddd7fa66e Take the terminal width from $COLUMNS when it is set (#2240)
* Take the terminal width from $COLUMNS when it is set

Delta learns how wide to render by asking the terminal on its stdout. A caller
that runs delta with no terminal there cannot state a width, so delta falls back
to 80 columns. Editors and TUIs that render delta's output into one of their own
views hit this, and have to pass --width on every invocation.

Read $COLUMNS first, and ask the terminal only if $COLUMNS is unset or does not
hold a positive number. Git resolves the width the same way in term_columns(),
and sets $COLUMNS for the pager it spawns, because its own stdout is a pipe to
that pager by then and the ioctl no longer reaches a terminal. Following git
keeps delta and the git process feeding it on the same width. An explicit
--width still wins over both.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>

* Edit help text

---------

Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
Co-authored-by: Dan Davison <[email protected]>
2026-09-19 10:00:26 -04:00
Dan Davison 95a0e224f5 Manual: recommend aha instead of ansifilter for HTML export
aha has a simpler interface (just pipe to `aha`) compared to
`ansifilter --html`.
2026-07-30 00:11:51 -04:00
Bartok b8cbc62631 docs: fix DELTA_FEATURES markdown link and grammar (#2199)
The toggle tip linked DELTA_FEATURES with a broken markdown/backtick
pairing, so the features page link did not render. Also fix "can used".
2026-07-21 08:06:11 -04:00
Dan Davison 2e1f08c593 Update --help output 2026-03-19 23:02:46 -04:00
Justin Su a5b8c1b57e Update docs to make 3 basic configs match (#2117) 2026-03-09 06:57:22 -04:00
Arjun Mahishi c22adcea90 config: add setup instructions for Jujutsu (jj) vcs (#2048)
this commit adds the setup instructions for Jujutsu (jj) version control
system to the `manual/src/configuration.md` file.
2025-10-03 06:40:21 -04:00
Justin Su 686f19ae49 Normalize merge.conflictStyle casing 2025-08-03 17:41:01 +02:00
Dan Davison de1b5a6914 Document alternative config file location and include technique 2025-02-21 08:46:13 -05:00
Kevin Ernst d4017ea9cb Suggest minimum bat version in manual (#1941)
- make explicit mention of which bat version should be installed in the
  "Installation" and "Supported languages and themes" sections of the
  manual

- add missing "Tips & tricks" page

See https://github.com/dandavison/delta/issues/1712 for context.
2025-01-14 09:17:56 -05:00
Dan Davison 1fb6f99ec4 De-emphasize auto-detection of colors in README config 2024-11-12 12:33:54 -05:00
Adam Johnson 4f207f7755 Recommend zdiff3 merge.conflictStyle (#1260) 2024-10-29 17:12:31 -04:00
Dan Davison 9c8f40e356 Don't set colorMoved in introductory instructions (#1884)
Fixes #1098
2024-10-22 04:21:26 -04:00
Dan Davison f4563d9d05 Use same example config in manual as README (#1879)
Fixes #1878
2024-10-14 13:31:43 -04:00
Dan Davison 5b042fc3ea Evolve toggling section of manual 2024-09-27 04:00:47 -04:00
Dan Davison 9b80e68904 Link to new binaries 2024-09-11 08:49:53 -04:00
Dan Davison 2d7015c774 Fix link
Closes #1848
2024-09-06 19:30:08 -04:00
Dan Davison b590c0350f Bump version in download links 2024-08-24 08:42:31 -04:00
Dan Davison 1faea3952e Evolve python hyperlink server example 2024-08-20 11:10:14 -04:00
Dan Davison 95457d30c9 Evolve python hyperlink server example 2024-08-20 11:08:46 -04:00
Dan Davison 9889aedebd Fix typo in manual 2024-08-20 10:45:35 -04:00
Dan Davison 6361af9e10 Tweak hyperlinks manual page 2024-08-20 10:41:51 -04:00
Dan Davison 3593c944b1 Clean up Python server example... 2024-08-20 10:37:14 -04:00
Dan Davison d8fa93eded Tweak hyperlinks manual page 2024-08-20 10:34:38 -04:00
Dan Davison 07f12c7cd1 Tweak Python server example 2024-08-20 10:33:09 -04:00
Dan Davison 977767a6c8 Add hyperlinks section to manual (#1816) 2024-08-20 10:23:02 -04:00
Dan Davison 84daf812dd Update URLs for binaries 2024-08-16 09:10:15 -04:00
Dan Davison 3f9805274d Update --help in manual 2024-08-16 09:08:13 -04:00
Dan Davison 2c8292fee8 Fix delta-toggle shell script 2024-08-09 07:02:12 -04:00
Thomas Otto e0274867cd Use angle bracket around <urls>, regenerate help output markdown 2024-08-01 21:40:55 -04:00
Edwin Hermans 4127abc807 Fix github links from master to main (#1709)
* Fix github master to main URLs

The commit history of `master` is now empty, so only the PR list link fails (and didn't get rendered as link before anyway).
I'm fixing all the links I could find with a cursory search just to clean things up.

* Update how-delta-works.md master to main

* Update color-moved-support.md master to main

* Update ARCHITECTURE.md master to main
2024-07-12 08:04:06 +01:00
Dan Davison 0d7c5afa5c Add a manual entry for toggling side-by-side 2024-07-08 05:44:25 -04:00
Dan Davison 3c6c50e4f5 Add documentation help regarding autodetection and light/dark settings 2024-03-22 07:34:34 -04:00
Tau 1ea5ee87a5 Link to repository from manual (#1657) 2024-03-16 12:25:08 -04:00
Jonah Caplan dcae5bcc24 use wildcard in suggested true color fix for tmux (#1560) 2024-03-02 12:10:57 -05:00
Felix Yan 5c08de672f Update Arch Linux package URL in installation.md (#1569)
The old URL returns 404 now.
2024-03-02 12:06:48 -05:00
Zack Cerza 06b95306ac Make hunk header code fragment display optional (#1568)
Fixes: #1032
2023-11-20 22:18:19 -05:00
plustik 49a99180fe feat: generate completion subcommand (#1561)
* generate-completion subcommand
* add Makefile target and replace completion scripts in repo with generated output
* Add completion to manual
2023-11-19 10:20:52 -05:00
Shun Sakai a5b0ec07cb Update installation instructions for openSUSE (#1550)
In addition to the Tumbleweed, since openSUSE Leap 15.5, git-delta is
available in the official repository.
2023-11-18 10:50:13 -05:00
Fritz Rehde dc692ea796 fixed typos (#1553) 2023-11-18 10:11:11 -05:00
Dan Davison b0aed26ed7 Add documentation for browsing themes. 2023-08-01 08:02:42 -04:00
Dan Davison 0608765f40 Update documentation regarding BAT_PAGER
Ref #1467
2023-07-29 19:38:11 -04:00
Dan Davison 01f92de6df Delete notes about unsupported GIT_CONFIG_GLOBAL env var
Should be supported by recent git2
2023-06-03 12:44:05 -04:00
Dan Davison 3819e94263 Drop grep-header-style option 2023-06-03 10:00:50 -04:00
Dan Davison 22f40da244 Update --help output 2023-06-02 18:43:38 -04:00
Dan Davison 9072d86111 Update --help output in manual 2023-06-02 18:43:38 -04:00
Dan Davison 83ca127e9e Introduce grep-output-type option: ripgrep or classic 2023-06-02 14:36:30 -07:00