1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-12 14:14:48 +02:00

2476 Commits

Author SHA1 Message Date
Sébastien Helleu bf7b8484cd doc: switch syntax highlighting to automatic light/dark theme with bevel on code blocks
Syntax highlighting now follows the user's `prefers-color-scheme`:

- Light theme uses the pygments `default` style, embedded by Asciidoctor as before.
- Dark theme uses the pygments `monokai` style, generated at CMake
  configure time via `pygmentize` and injected into the docinfo through a
  `@PYGMENTS_DARK_CSS@` placeholder, scoped under
  `@media (prefers-color-scheme: dark)`.

To support template substitution, `doc/docinfo.html` is renamed to
`docinfo.html.in` and produced into the build directory via
`configure_file`; all HTML targets now depend on the generated docinfo
and the `docinfodir` attribute points to the binary dir.

Code blocks also gain a subtle 3D bevel:

- `pre` borders use theme-specific bevel colors (`--pre-bevel-light` on
  top/left, `--pre-bevel-dark` on bottom/right) for a raised look in both
  themes.
- A shared `--pre-bevel-bg` surface color is applied to literalblock,
  listingblock and `pre.pygments`, so all code blocks sit on the same
  background regardless of the pygments style.
- `pre { line-height: 1.25 }` is forced to keep line spacing consistent
  between light (Asciidoctor base `1.45`) and dark (pygments `125%`).

`python3-pygments` is added to the documented build dependencies (the
`pygmentize` binary it provides is required at configure time).
2026-05-24 16:46:36 +02:00
Sébastien Helleu 916c59d8f0 doc/faq: fix key to search text in current buffer
Since WeeChat 4.2.0, Ctrl+r has been replaced by Ctrl+s.
2026-03-13 21:57:12 +01:00
Sébastien Helleu 106fe6ca7c core: update copyright dates 2026-03-08 10:37:15 +01:00
Sébastien Helleu b18190b4c0 doc/quickstart: add link to key bindings in user's guide 2025-11-12 13:35:52 +01:00
weechatter 5433d25889 doc: update German documentation 2025-11-09 11:23:44 +01:00
Sébastien Helleu 07ef353b1b irc: remove temporary servers and option irc.look.temporary_servers 2025-11-01 09:15:54 +01:00
Sébastien Helleu ff3fd38086 doc/user: fix invalid cross references 2025-05-20 20:53:56 +02:00
Nils Görs e15b369aa7 core: update German translations 2025-05-05 09:28:15 +02:00
Sébastien Helleu 4d130d6b06 doc: move copyright/license headers at the top of the asciidoctor attributes files 2025-04-26 14:54:26 +02:00
Sébastien Helleu b2a5d5995b doc: move copyright/license headers at the top of the files 2025-04-26 14:10:48 +02:00
Sébastien Helleu 683fa2f585 irc: add support of strikethrough color attribute (using half bright) (closes #2248)
As ncurses doesn't support strikethrough, the text is rendered as half
bright (WeeChat color: "dim").
2025-04-26 14:10:43 +02:00
Sébastien Helleu a336a26fc6 doc/man: add REUSE ignore tags 2025-04-22 20:53:50 +02:00
Sébastien Helleu 3a6ac9ee76 all: add SPDX license tag 2025-03-31 07:49:26 +02:00
Sébastien Helleu cf3e24cda8 doc: add SPDX copyright tag in docs 2025-03-30 14:47:12 +02:00
Nils Görs 8198aade2e core: update German translations 2025-02-10 10:22:43 +01:00
Sébastien Helleu ca6e483cdc relay/api: add a way to toggle between remote and local command execution on remote buffers (issue #2148)
New default key:

- Alt+Ctrl+l (L): toggle execution of commands: remote/local

New options:

- relay.api.remote_input_cmd_local: text displayed for command executed locally
- relay.api.remote_input_cmd_remote: text displayed for command executed on the
  remote WeeChat
2025-02-09 18:31:37 +01:00
Sébastien Helleu 547e2b934e core: update copyright dates 2025-02-01 23:13:18 +01:00
Nils Görs 3e579c94f6 core: update German translations 2024-11-21 09:26:45 +01:00
Sébastien Helleu 3fd298bfbe doc/user: update command to enable download of scripts 2024-11-16 22:41:56 +01:00
Sébastien Helleu 7c1586e8ff doc/user: translate example of script buffer 2024-11-16 22:41:56 +01:00
Sébastien Helleu 1c30fe9b0a doc/user: translate example of fset buffer 2024-11-16 22:41:56 +01:00
Sébastien Helleu 9c016af6fb doc/user: fix options displayed in /fset libera 2024-11-16 22:41:56 +01:00
Sébastien Helleu 08d5839fa1 doc/user: remove default port and option -tls from example of command /server add 2024-11-16 22:41:56 +01:00
Nils Görs 4511996b84 core: update German translations 2024-11-14 10:07:16 +01:00
Sébastien Helleu 945782195f doc: replace some "warning" by "caution" 2024-10-30 00:30:19 +01:00
Sébastien Helleu d83167b586 doc: replace font-awesome icons by translated captions
This removes use of a remote CDN (Cloudflare), as font-awesome is no longer
used.
2024-10-30 00:06:22 +01:00
Sébastien Helleu 4503dbb013 doc: rename git branch master to main in URLs 2024-10-15 16:54:16 +02:00
Sébastien Helleu 94312b6622 doc/user: add missing bar items in chapter "Screen layout" 2024-10-01 07:32:43 +02:00
Josh Soref 9e5bfd70a8 spelling: macOS
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2024-09-28 21:22:55 +02:00
Nils Görs 0ab7c20f0d core: update German translations 2024-09-02 15:46:38 +02:00
Sébastien Helleu b36c6c2e26 doc/faq: fix suggested value for option irc.server.xxx.tls_priorities 2024-08-31 16:32:32 +02:00
Sébastien Helleu 9b969be1f9 doc/user: change fake hostname in weechat relay example
The hostname `example.com` is already used in doc and help on commands.
2024-08-31 08:52:00 +02:00
Sébastien Helleu 954a7462c0 doc/user: add api relay example with https 2024-08-31 08:50:37 +02:00
Nils Görs 62f769e736 doc: update German documentation 2024-08-22 08:18:46 +02:00
Sébastien Helleu b31a8bc1ef doc/faq: add key Alt+Shift+N in questions about copy/paste and URLs 2024-08-15 17:25:36 +02:00
Sébastien Helleu bbb2515b0e doc/faq: add command to set "size_max" for nicklist when bar is moved to top 2024-08-15 16:49:31 +02:00
Sébastien Helleu e810cc5f70 doc: add command line option --build-info in man pages and user's guide 2024-08-13 09:46:12 +02:00
Sébastien Helleu 86c4f3979a doc/user: change port in examples of weechat relay from 9000 to 9500 2024-06-29 17:37:47 +02:00
Sébastien Helleu b18af8dcf4 doc: add shell syntax highlighting 2024-06-16 20:05:45 +02:00
Sébastien Helleu 3d20ad8b5c doc/user: mention pkgconf with pkg-config in dependencies 2024-06-07 07:44:39 +02:00
Nils Görs ce1fc02dee core: update German translations 2024-05-29 23:22:31 +02:00
Sébastien Helleu 6152812bff doc/user: add internal links to commands and options 2024-05-29 21:14:25 +02:00
Nils Görs 5cff9c0e46 core: update German translations 2024-05-27 22:27:27 +02:00
Sébastien Helleu a86c329b4c core: rename and convert AUTHORS.adoc to AUTHORS.md 2024-05-26 10:27:30 +02:00
Sébastien Helleu 3653f4b7a2 core: rename and convert ReleaseNotes.adoc to UPGRADING.md 2024-05-26 10:27:25 +02:00
Nils Görs 2b81cce9e0 doc: update German documentation 2024-05-24 11:02:16 +02:00
Sébastien Helleu 54f2c7f2e0 doc/user: add relay "api" (issue #2066) 2024-05-19 13:26:47 +02:00
Sébastien Helleu 947155f325 doc/user: fix typo in trigger regex replace ${re:+} 2024-03-21 23:04:18 +01:00
Sébastien Helleu 59d8857646 doc/user: add missing ${re:#} and ${re:repl_index} in trigger regex replace 2024-03-21 22:55:28 +01:00
Sébastien Helleu 24c4029c96 core: remove "wee-" prefix from source files in src/core and src/core/hook 2024-03-12 21:27:37 +01:00