From fe8a83a911a751edb066e5d75e2e1c2d9b4bd3c5 Mon Sep 17 00:00:00 2001 From: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com> Date: Mon, 9 Sep 2024 23:21:41 -0400 Subject: [PATCH] docs(configure): auto generate open urls --- docs/Doxyfile | 6 ++ docs/configuration.js | 35 +++++++ docs/configuration.md | 213 +++++++++++++++++++++--------------------- docs/doc-styles.css | 6 ++ 4 files changed, 156 insertions(+), 104 deletions(-) create mode 100644 docs/configuration.js create mode 100644 docs/doc-styles.css diff --git a/docs/Doxyfile b/docs/Doxyfile index 1333aa511aa..6526b8bf3cb 100644 --- a/docs/Doxyfile +++ b/docs/Doxyfile @@ -57,3 +57,9 @@ INPUT = ../README.md \ contributing.md \ ../third-party/doxyconfig/docs/source_code.md \ ../src + +# extra css +HTML_EXTRA_STYLESHEET += doc-styles.css + +# extra js +HTML_EXTRA_FILES += configuration.js diff --git a/docs/configuration.js b/docs/configuration.js new file mode 100644 index 00000000000..57c9e90a030 --- /dev/null +++ b/docs/configuration.js @@ -0,0 +1,35 @@ +/** + * @brief Add a button to open the configuration option for each table + */ +document.addEventListener("DOMContentLoaded", function() { + const tables = document.querySelectorAll("table"); + tables.forEach(table => { + if (table.className !== "doxtable") { + return; + } + + let previousElement = table.previousElementSibling; + while (previousElement && previousElement.tagName !== "H2") { + previousElement = previousElement.previousElementSibling; + } + if (previousElement && previousElement.textContent) { + const sectionId = previousElement.textContent.trim().toLowerCase(); + const newRow = document.createElement("tr"); + newRow.innerHTML = ` + + + Open + + + `; + + // get the table body + const tbody = table.querySelector("tbody"); + + // Insert at the beginning of the table + tbody.insertBefore(newRow, tbody.firstChild); + } + }); +}); diff --git a/docs/configuration.md b/docs/configuration.md index fe1d3b7e193..635927745e0 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -24,9 +24,14 @@ location by modifying the configuration file. Although it is recommended to use the configuration UI, it is possible manually configure Sunshine by editing the `conf` file in a text editor. Use the examples as reference. -## [General](https://localhost:47990/config/#general) +@htmlonly + +Base URL: +@endhtmlonly -### [locale](https://localhost:47990/config/#locale) +## General + +### locale @@ -102,7 +107,7 @@ editing the `conf` file in a text editor. Use the examples as reference.
-### [sunshine_name](https://localhost:47990/config/#sunshine_name) +### sunshine_name @@ -123,7 +128,7 @@ editing the `conf` file in a text editor. Use the examples as reference.
-### [min_log_level](https://localhost:47990/config/#min_log_level) +### min_log_level @@ -177,7 +182,7 @@ editing the `conf` file in a text editor. Use the examples as reference.
-### [channels](https://localhost:47990/config/#channels) +### channels @@ -203,7 +208,7 @@ editing the `conf` file in a text editor. Use the examples as reference.
-### [global_prep_cmd](https://localhost:47990/config/#global_prep_cmd) +### global_prep_cmd @@ -227,7 +232,7 @@ editing the `conf` file in a text editor. Use the examples as reference.
-### [notify_pre_releases](https://localhost:47990/config/#notify_pre_releases) +### notify_pre_releases @@ -250,9 +255,9 @@ editing the `conf` file in a text editor. Use the examples as reference.
-## [Input](https://localhost:47990/config/#input) +## Input -### [controller](https://localhost:47990/config/#controller) +### controller @@ -275,7 +280,7 @@ editing the `conf` file in a text editor. Use the examples as reference.
-### [gamepad](https://localhost:47990/config/#gamepad) +### gamepad @@ -324,7 +329,7 @@ editing the `conf` file in a text editor. Use the examples as reference.
-### [ds4_back_as_touchpad_click](https://localhost:47990/config/#ds4_back_as_touchpad_click) +### ds4_back_as_touchpad_click @@ -349,7 +354,7 @@ editing the `conf` file in a text editor. Use the examples as reference.
-### [motion_as_ds4](https://localhost:47990/config/#motion_as_ds4) +### motion_as_ds4 @@ -377,7 +382,7 @@ editing the `conf` file in a text editor. Use the examples as reference.
-### [touchpad_as_ds4](https://localhost:47990/config/#touchpad_as_ds4) +### touchpad_as_ds4 @@ -405,7 +410,7 @@ editing the `conf` file in a text editor. Use the examples as reference.
-### [back_button_timeout](https://localhost:47990/config/#back_button_timeout) +### back_button_timeout @@ -430,7 +435,7 @@ editing the `conf` file in a text editor. Use the examples as reference.
-### [keyboard](https://localhost:47990/config/#keyboard) +### keyboard @@ -453,7 +458,7 @@ editing the `conf` file in a text editor. Use the examples as reference.
-### [key_repeat_delay](https://localhost:47990/config/#key_repeat_delay) +### key_repeat_delay @@ -477,7 +482,7 @@ editing the `conf` file in a text editor. Use the examples as reference.
-### [key_repeat_frequency](https://localhost:47990/config/#key_repeat_frequency) +### key_repeat_frequency @@ -501,7 +506,7 @@ editing the `conf` file in a text editor. Use the examples as reference.
-### [always_send_scancodes](https://localhost:47990/config/#always_send_scancodes) +### always_send_scancodes @@ -532,7 +537,7 @@ editing the `conf` file in a text editor. Use the examples as reference.
-### [key_rightalt_to_key_win](https://localhost:47990/config/#key_rightalt_to_key_win) +### key_rightalt_to_key_win @@ -555,7 +560,7 @@ editing the `conf` file in a text editor. Use the examples as reference.
-### [mouse](https://localhost:47990/config/#mouse) +### mouse @@ -578,7 +583,7 @@ editing the `conf` file in a text editor. Use the examples as reference.
-### [high_resolution_scrolling](https://localhost:47990/config/#high_resolution_scrolling) +### high_resolution_scrolling @@ -604,7 +609,7 @@ editing the `conf` file in a text editor. Use the examples as reference.
-### [native_pen_touch](https://localhost:47990/config/#native_pen_touch) +### native_pen_touch @@ -629,7 +634,7 @@ editing the `conf` file in a text editor. Use the examples as reference.
-### [native_pen_touch](https://localhost:47990/config/#native_pen_touch) +### keybindings @@ -665,9 +670,9 @@ editing the `conf` file in a text editor. Use the examples as reference.
-## [Audio/Video](https://localhost:47990/config/#audio-video) +## Audio/Video -### [audio_sink](https://localhost:47990/config/#audio_sink) +### audio_sink @@ -737,7 +742,7 @@ editing the `conf` file in a text editor. Use the examples as reference.
-### [virtual_sink](https://localhost:47990/config/#virtual_sink) +### virtual_sink @@ -745,11 +750,11 @@ editing the `conf` file in a text editor. Use the examples as reference.
The audio device that's virtual, like Steam Streaming Speakers. This allows Sunshine to stream audio, while muting the speakers. - @tip{See [audio_sink](#audio_sinkhttpslocalhost47990configaudio_sink)!} + @tip{See [audio_sink](#audio_sink)!} @tip{These are some options for virtual sound devices. * Stream Streaming Speakers (Linux, macOS, Windows) * Steam must be installed. - * Enable [install_steam_audio_drivers](#install_steam_audio_drivershttpslocalhost47990configinstall_steam_audio_drivers) + * Enable [install_steam_audio_drivers](#install_steam_audio_drivers) or use Steam Remote Play at least once to install the drivers. * [Virtual Audio Cable](https://vb-audio.com/Cable) (macOS, Windows) } @@ -767,7 +772,7 @@ editing the `conf` file in a text editor. Use the examples as reference.
-### [install_steam_audio_drivers](https://localhost:47990/config/#install_steam_audio_drivers) +### install_steam_audio_drivers @@ -792,7 +797,7 @@ editing the `conf` file in a text editor. Use the examples as reference.
-### [adapter_name](https://localhost:47990/config/#adapter_name) +### adapter_name @@ -845,7 +850,7 @@ editing the `conf` file in a text editor. Use the examples as reference.
-### [output_name](https://localhost:47990/config/#output_name) +### output_name @@ -913,7 +918,7 @@ editing the `conf` file in a text editor. Use the examples as reference.
-### [min_fps_factor](https://localhost:47990/config/#min_fps_factor) +### min_fps_factor @@ -942,9 +947,9 @@ editing the `conf` file in a text editor. Use the examples as reference.
-## [Network](https://localhost:47990/config/#network) +## Network -### [upnp](https://localhost:47990/config/#upnp) +### upnp @@ -967,7 +972,7 @@ editing the `conf` file in a text editor. Use the examples as reference.
-### [address_family](https://localhost:47990/config/#address_family) +### address_family @@ -999,7 +1004,7 @@ editing the `conf` file in a text editor. Use the examples as reference.
-### [port](https://localhost:47990/config/#port) +### port @@ -1027,7 +1032,7 @@ editing the `conf` file in a text editor. Use the examples as reference.
-### [origin_web_ui_allowed](https://localhost:47990/config/#origin_web_ui_allowed) +### origin_web_ui_allowed @@ -1063,7 +1068,7 @@ editing the `conf` file in a text editor. Use the examples as reference.
-### [external_ip](https://localhost:47990/config/#external_ip) +### external_ip @@ -1084,7 +1089,7 @@ editing the `conf` file in a text editor. Use the examples as reference.
-### [lan_encryption_mode](https://localhost:47990/config/#lan_encryption_mode) +### lan_encryption_mode @@ -1121,7 +1126,7 @@ editing the `conf` file in a text editor. Use the examples as reference.
-### [wan_encryption_mode](https://localhost:47990/config/#wan_encryption_mode) +### wan_encryption_mode @@ -1158,7 +1163,7 @@ editing the `conf` file in a text editor. Use the examples as reference.
-### [ping_timeout](https://localhost:47990/config/#ping_timeout) +### ping_timeout @@ -1181,9 +1186,9 @@ editing the `conf` file in a text editor. Use the examples as reference.
-## [Config Files](https://localhost:47990/config/#files) +## Config Files -### [file_apps](https://localhost:47990/config/#file_apps) +### file_apps @@ -1207,7 +1212,7 @@ editing the `conf` file in a text editor. Use the examples as reference.
-### [credentials_file](https://localhost:47990/config/#credentials_file) +### credentials_file @@ -1230,7 +1235,7 @@ editing the `conf` file in a text editor. Use the examples as reference.
-### [log_path](https://localhost:47990/config/#log_path) +### log_path @@ -1253,7 +1258,7 @@ editing the `conf` file in a text editor. Use the examples as reference.
-### [pkey](https://localhost:47990/config/#pkey) +### pkey @@ -1278,7 +1283,7 @@ editing the `conf` file in a text editor. Use the examples as reference.
-### [cert](https://localhost:47990/config/#cert) +### cert @@ -1303,7 +1308,7 @@ editing the `conf` file in a text editor. Use the examples as reference.
-### [file_state](https://localhost:47990/config/#file_state) +### file_state @@ -1326,9 +1331,9 @@ editing the `conf` file in a text editor. Use the examples as reference.
-## [Advanced](https://localhost:47990/config/#advanced) +## Advanced -### [fec_percentage](https://localhost:47990/config/#fec_percentage) +### fec_percentage @@ -1357,7 +1362,7 @@ editing the `conf` file in a text editor. Use the examples as reference.
-### [qp](https://localhost:47990/config/#qp) +### qp @@ -1381,7 +1386,7 @@ editing the `conf` file in a text editor. Use the examples as reference.
-### [min_threads](https://localhost:47990/config/#min_threads) +### min_threads @@ -1407,7 +1412,7 @@ editing the `conf` file in a text editor. Use the examples as reference.
-### [hevc_mode](https://localhost:47990/config/#hevc_mode) +### hevc_mode @@ -1449,7 +1454,7 @@ editing the `conf` file in a text editor. Use the examples as reference.
-### [av1_mode](https://localhost:47990/config/#av1_mode) +### av1_mode @@ -1491,7 +1496,7 @@ editing the `conf` file in a text editor. Use the examples as reference.
-### [capture](https://localhost:47990/config/#capture) +### capture @@ -1546,7 +1551,7 @@ editing the `conf` file in a text editor. Use the examples as reference.
-### [encoder](https://localhost:47990/config/#encoder) +### encoder @@ -1588,9 +1593,9 @@ editing the `conf` file in a text editor. Use the examples as reference.
-## [NVIDIA NVENC Encoder](https://localhost:47990/config/#nvidia-nvenc-encoder) +## NVIDIA NVENC Encoder -### [nvenc_preset](https://localhost:47990/config/#nvenc_preset) +### nvenc_preset @@ -1600,7 +1605,7 @@ editing the `conf` file in a text editor. Use the examples as reference. Higher numbers improve compression (quality at given bitrate) at the cost of increased encoding latency. Recommended to change only when limited by network or decoder, otherwise similar effect can be accomplished by increasing bitrate. - @note{This option only applies when using NVENC [encoder](#encoderhttpslocalhost47990configencoder).} + @note{This option only applies when using NVENC [encoder](#encoder).} @@ -1646,7 +1651,7 @@ editing the `conf` file in a text editor. Use the examples as reference.
-### [nvenc_twopass](https://localhost:47990/config/#nvenc_twopass) +### nvenc_twopass @@ -1656,7 +1661,7 @@ editing the `conf` file in a text editor. Use the examples as reference. This allows to detect more motion vectors, better distribute bitrate across the frame and more strictly adhere to bitrate limits. Disabling it is not recommended since this can lead to occasional bitrate overshoot and subsequent packet loss. - @note{This option only applies when using NVENC [encoder](#encoderhttpslocalhost47990configencoder).} + @note{This option only applies when using NVENC [encoder](#encoder).} @@ -1686,7 +1691,7 @@ editing the `conf` file in a text editor. Use the examples as reference.
-### [nvenc_spatial_aq](https://localhost:47990/config/#nvenc_spatial_aq) +### nvenc_spatial_aq @@ -1694,7 +1699,7 @@ editing the `conf` file in a text editor. Use the examples as reference. @@ -1712,7 +1717,7 @@ editing the `conf` file in a text editor. Use the examples as reference.
Assign higher QP values to flat regions of the video. Recommended to enable when streaming at lower bitrates. - @note{This option only applies when using NVENC [encoder](#encoderhttpslocalhost47990configencoder).} + @note{This option only applies when using NVENC [encoder](#encoder).} @warning{Enabling this option may reduce performance.}
-### [nvenc_vbv_increase](https://localhost:47990/config/#nvenc_vbv_increase) +### nvenc_vbv_increase @@ -1724,7 +1729,7 @@ editing the `conf` file in a text editor. Use the examples as reference. act as low-latency variable bitrate, but may also lead to packet loss if the network doesn't have buffer headroom to handle bitrate spikes. Maximum accepted value is 400, which corresponds to 5x increased encoded video frame upper size limit. - @note{This option only applies when using NVENC [encoder](#encoderhttpslocalhost47990configencoder).} + @note{This option only applies when using NVENC [encoder](#encoder).} @warning{Can lead to network packet loss.} @@ -1746,7 +1751,7 @@ editing the `conf` file in a text editor. Use the examples as reference.
-### [nvenc_realtime_hags](https://localhost:47990/config/#nvenc_realtime_hags) +### nvenc_realtime_hags @@ -1756,7 +1761,7 @@ editing the `conf` file in a text editor. Use the examples as reference. in Windows. Currently, NVIDIA drivers may freeze in encoder when HAGS is enabled, realtime priority is used and VRAM utilization is close to maximum. Disabling this option lowers the priority to high, sidestepping the freeze at the cost of reduced capture performance when the GPU is heavily loaded. - @note{This option only applies when using NVENC [encoder](#encoderhttpslocalhost47990configencoder).} + @note{This option only applies when using NVENC [encoder](#encoder).} @note{Applies to Windows only.} @@ -1774,7 +1779,7 @@ editing the `conf` file in a text editor. Use the examples as reference.
-### [nvenc_latency_over_power](https://localhost:47990/config/#nvenc_latency_over_power) +### nvenc_latency_over_power @@ -1782,7 +1787,7 @@ editing the `conf` file in a text editor. Use the examples as reference. @@ -1801,7 +1806,7 @@ editing the `conf` file in a text editor. Use the examples as reference.
Adaptive P-State algorithm which NVIDIA drivers employ doesn't work well with low latency streaming, so Sunshine requests high power mode explicitly. - @note{This option only applies when using NVENC [encoder](#encoderhttpslocalhost47990configencoder).} + @note{This option only applies when using NVENC [encoder](#encoder).} @warning{Disabling this is not recommended since this can lead to significantly increased encoding latency.} @note{Applies to Windows only.}
-### [nvenc_opengl_vulkan_on_dxgi](https://localhost:47990/config/#nvenc_opengl_vulkan_on_dxgi) +### nvenc_opengl_vulkan_on_dxgi @@ -1810,7 +1815,7 @@ editing the `conf` file in a text editor. Use the examples as reference. Sunshine can't capture fullscreen OpenGL and Vulkan programs at full frame rate unless they present on top of DXGI. With this option enabled Sunshine changes global Vulkan/OpenGL present method to "Prefer layered on DXGI Swapchain". This is system-wide setting that is reverted on Sunshine program exit. - @note{This option only applies when using NVENC [encoder](#encoderhttpslocalhost47990configencoder).} + @note{This option only applies when using NVENC [encoder](#encoder).} @note{Applies to Windows only.} @@ -1828,7 +1833,7 @@ editing the `conf` file in a text editor. Use the examples as reference.
-### [nvenc_h264_cavlc](https://localhost:47990/config/#nvenc_h264_cavlc) +### nvenc_h264_cavlc @@ -1838,7 +1843,7 @@ editing the `conf` file in a text editor. Use the examples as reference. CAVLC is outdated and needs around 10% more bitrate for same quality, but provides slightly faster decoding when using software decoder. @note{This option only applies when using H.264 format with the - NVENC [encoder](#encoderhttpslocalhost47990configencoder).} + NVENC [encoder](#encoder).} @@ -1855,16 +1860,16 @@ editing the `conf` file in a text editor. Use the examples as reference.
-## [Intel QuickSync Encoder](https://localhost:47990/config/#intel-quicksync-encoder) +## Intel QuickSync Encoder -### [qsv_preset](https://localhost:47990/config/#qsv_preset) +### qsv_preset @@ -1910,7 +1915,7 @@ editing the `conf` file in a text editor. Use the examples as reference.
Description The encoder preset to use. - @note{This option only applies when using quicksync [encoder](#encoderhttpslocalhost47990configencoder).} + @note{This option only applies when using quicksync [encoder](#encoder).}
-### [qsv_coder](https://localhost:47990/config/#qsv_coder) +### qsv_coder @@ -1918,7 +1923,7 @@ editing the `conf` file in a text editor. Use the examples as reference. @@ -1948,14 +1953,14 @@ editing the `conf` file in a text editor. Use the examples as reference.
The entropy encoding to use. @note{This option only applies when using H.264 with the quicksync - [encoder](#encoderhttpslocalhost47990configencoder).} + [encoder](#encoder).}
-### [qsv_slow_hevc](https://localhost:47990/config/#qsv_slow_hevc) +### qsv_slow_hevc @@ -1973,16 +1978,16 @@ editing the `conf` file in a text editor. Use the examples as reference.
Description This options enables use of HEVC on older Intel GPUs that only support low power encoding for H.264. - @note{This option only applies when using quicksync [encoder](#encoderhttpslocalhost47990configencoder).} + @note{This option only applies when using quicksync [encoder](#encoder).} @caution{Streaming performance may be significantly reduced when this option is enabled.}
-## [AMD AMF Encoder](https://localhost:47990/config/#amd-amf-encoder) +## AMD AMF Encoder -### [amd_usage](https://localhost:47990/config/#amd_usage) +### amd_usage @@ -2022,14 +2027,14 @@ editing the `conf` file in a text editor. Use the examples as reference.
Description The encoder usage profile is used to set the base set of encoding parameters. - @note{This option only applies when using amdvce [encoder](#encoderhttpslocalhost47990configencoder).} + @note{This option only applies when using amdvce [encoder](#encoder).} @note{The other AMF options that follow will override a subset of the settings applied by your usage profile, but there are hidden parameters set in usage profiles that cannot be overridden elsewhere.}
-### [amd_rc](https://localhost:47990/config/#amd_rc) +### amd_rc
Description The encoder rate control. - @note{This option only applies when using amdvce [encoder](#encoderhttpslocalhost47990configencoder).} + @note{This option only applies when using amdvce [encoder](#encoder).} @warning{The `vbr_latency` option generally works best, but some bitrate overshoots may still occur. Enabling HRD allows all bitrate based rate controls to better constrain peak bitrate, but may result in encoding artifacts depending on your card.} @@ -2066,14 +2071,14 @@ editing the `conf` file in a text editor. Use the examples as reference.
-### [amd_enforce_hrd](https://localhost:47990/config/#amd_enforce_hrd) +### amd_enforce_hrd @@ -2091,14 +2096,14 @@ editing the `conf` file in a text editor. Use the examples as reference.
Description Enable Hypothetical Reference Decoder (HRD) enforcement to help constrain the target bitrate. - @note{This option only applies when using amdvce [encoder](#encoderhttpslocalhost47990configencoder).} + @note{This option only applies when using amdvce [encoder](#encoder).} @warning{HRD is known to cause encoding artifacts or negatively affect encoding quality on certain cards.}
-### [amd_quality](https://localhost:47990/config/#amd_quality) +### amd_quality @@ -2128,14 +2133,14 @@ editing the `conf` file in a text editor. Use the examples as reference.
Description The quality profile controls the tradeoff between speed and quality of encoding. - @note{This option only applies when using amdvce [encoder](#encoderhttpslocalhost47990configencoder).} + @note{This option only applies when using amdvce [encoder](#encoder).}
-### [amd_preanalysis](https://localhost:47990/config/#amd_preanalysis) +### amd_preanalysis @@ -2152,7 +2157,7 @@ editing the `conf` file in a text editor. Use the examples as reference.
Description Preanalysis can increase encoding quality at the cost of latency. - @note{This option only applies when using amdvce [encoder](#encoderhttpslocalhost47990configencoder).} + @note{This option only applies when using amdvce [encoder](#encoder).}
-### [amd_vbaq](https://localhost:47990/config/#amd_vbaq) +### amd_vbaq @@ -2160,7 +2165,7 @@ editing the `conf` file in a text editor. Use the examples as reference. @@ -2177,7 +2182,7 @@ editing the `conf` file in a text editor. Use the examples as reference.
Variance Based Adaptive Quantization (VBAQ) can increase subjective visual quality by prioritizing allocation of more bits to smooth areas compared to more textured areas. - @note{This option only applies when using amdvce [encoder](#encoderhttpslocalhost47990configencoder).} + @note{This option only applies when using amdvce [encoder](#encoder).}
-### [amd_coder](https://localhost:47990/config/#amd_coder) +### amd_coder @@ -2185,7 +2190,7 @@ editing the `conf` file in a text editor. Use the examples as reference. @@ -2215,9 +2220,9 @@ editing the `conf` file in a text editor. Use the examples as reference.
The entropy encoding to use. @note{This option only applies when using H.264 with the amdvce - [encoder](#encoderhttpslocalhost47990configencoder).} + [encoder](#encoder).}
-## [VideoToolbox Encoder](https://localhost:47990/config/#videotoolbox-encoder) +## VideoToolbox Encoder -### [vt_coder](https://localhost:47990/config/#vt_coder) +### vt_coder @@ -2254,7 +2259,7 @@ editing the `conf` file in a text editor. Use the examples as reference.
-### [vt_software](https://localhost:47990/config/#vt_software) +### vt_software @@ -2295,7 +2300,7 @@ editing the `conf` file in a text editor. Use the examples as reference.
-### [vt_realtime](https://localhost:47990/config/#vt_realtime) +### vt_realtime @@ -2320,16 +2325,16 @@ editing the `conf` file in a text editor. Use the examples as reference.
-## [Software Encoder](https://localhost:47990/config/#software-encoder) +## Software Encoder -### [sw_preset](https://localhost:47990/config/#sw_preset) +### sw_preset
Description The encoder preset to use. - @note{This option only applies when using software [encoder](#encoderhttpslocalhost47990configencoder).} + @note{This option only applies when using software [encoder](#encoder).} @note{From [FFmpeg](https://trac.ffmpeg.org/wiki/Encode/H.264#preset).

@@ -2393,14 +2398,14 @@ editing the `conf` file in a text editor. Use the examples as reference.
-### [sw_tune](https://localhost:47990/config/#sw_tune) +### sw_tune
Description The tuning preset to use. - @note{This option only applies when using software [encoder](#encoderhttpslocalhost47990configencoder).} + @note{This option only applies when using software [encoder](#encoder).} @note{From [FFmpeg](https://trac.ffmpeg.org/wiki/Encode/H.264#preset).

diff --git a/docs/doc-styles.css b/docs/doc-styles.css new file mode 100644 index 00000000000..e221b85ac08 --- /dev/null +++ b/docs/doc-styles.css @@ -0,0 +1,6 @@ +/* A fake button as doxygen doesn't allow button elements */ +.open-button { + background: #1779c4; + color: white; + cursor: pointer; +}