diff options
| author | Matthias Geier <Matthias.Geier@gmail.com> | 2024-10-05 12:08:36 +0200 |
|---|---|---|
| committer | Matthias Geier <Matthias.Geier@gmail.com> | 2024-10-08 23:36:32 +0200 |
| commit | f930b109f670241e88c3fd9d0362e26fdca69ace (patch) | |
| tree | d19efc6503f7b300e1595887dca9cbfbb02c5c1a /CONTRIBUTING.rst | |
| parent | 00ef17cc8f3217128381a22135364460b5824e1a (diff) | |
DOC: restore viewcode highlighting, disable unwanted highlighting
Diffstat (limited to 'CONTRIBUTING.rst')
| -rw-r--r-- | CONTRIBUTING.rst | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index 18a24c1..a10a6a0 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -17,13 +17,13 @@ please make sure to provide as much useful information as possible. You can use Markdown formatting to show Python code, e.g. :: I have created a script named `my_script.py`: - + ```python import sounddevice as sd - + fs = 48000 duration = 1.5 - + data = sd.rec(int(duration * fs), channels=99) sd.wait() print(data.shape) @@ -37,7 +37,7 @@ including all ``import`` statements. You should of course also show what happens when you run your code, e.g. :: Running my script, I got this error: - + ``` $ python my_script.py Expression 'parameters->channelCount <= maxChans' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1514 @@ -71,7 +71,7 @@ If you don't want to clutter the issue description with a huge load of gibberish you can use the ``<details>`` HTML tag to show some content only on demand:: <details> - + ``` $ python -m sounddevice 0 Built-in Line Input, Core Audio (2 in, 0 out) @@ -80,7 +80,7 @@ you can use the ``<details>`` HTML tag to show some content only on demand:: 3 Built-in Line Output, Core Audio (0 in, 2 out) 4 Built-in Digital Output, Core Audio (0 in, 2 out) ``` - + </details> |
