You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
helix/book
François Laignel c718cf4bd3 helix-view: optionally bypass indent style auto detection
Some code formatting styles are too challenging for the indent style auto
detection heuristic.

The indent style for C code in [GStreamer] should use 2 spaces, but auto
detection leads to the followings being used:

* [gst.c] -> 2 spaces.
* [gstrtsp.c] -> 1 space.
* [gstrtspsrc.c] -> 4 spaces.

This commit adds the language configuration flag `auto-detect-indent` which
defaults to `true`. When set to `false`, it bypasses auto detection, always
using language defined indent style or `DEFAULT_INDENT` in last resort.

[GStreamer]: https://gitlab.freedesktop.org/gstreamer/gstreamer
[gst.c]: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/blob/main/subprojects/gstreamer/gst/gst.c
[gstrtsp.c]: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/blob/main/subprojects/gst-plugins-good/gst/rtsp/gstrtsp.c
[gstrtspsrc.c]: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/blob/main/subprojects/gst-plugins-good/gst/rtsp/gstrtspsrc.c
1 month ago
..
src helix-view: optionally bypass indent style auto detection 1 month ago
theme update with new mdbook index.hbs (#8445) 1 year ago
.gitignore Add book/ (mdbook based user guide) 4 years ago
book.toml use AND operator when searching (#7839) 1 year ago
custom.css Fix search highlighting for the default docs theme (#8270) 1 year ago