Skip to content

Commit f930b10

Browse files
committed
DOC: restore viewcode highlighting, disable unwanted highlighting
1 parent 00ef17c commit f930b10

15 files changed

+39
-36
lines changed

CONTRIBUTING.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ please make sure to provide as much useful information as possible.
1717
You can use Markdown formatting to show Python code, e.g. ::
1818

1919
I have created a script named `my_script.py`:
20-
20+
2121
```python
2222
import sounddevice as sd
23-
23+
2424
fs = 48000
2525
duration = 1.5
26-
26+
2727
data = sd.rec(int(duration * fs), channels=99)
2828
sd.wait()
2929
print(data.shape)
@@ -37,7 +37,7 @@ including all ``import`` statements.
3737
You should of course also show what happens when you run your code, e.g. ::
3838

3939
Running my script, I got this error:
40-
40+
4141
```
4242
$ python my_script.py
4343
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
7171
you can use the ``<details>`` HTML tag to show some content only on demand::
7272

7373
<details>
74-
74+
7575
```
7676
$ python -m sounddevice
7777
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::
8080
3 Built-in Line Output, Core Audio (0 in, 2 out)
8181
4 Built-in Digital Output, Core Audio (0 in, 2 out)
8282
```
83-
83+
8484
</details>
8585

8686

doc/CONTRIBUTING.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

doc/api/checking-hardware.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Checking Available Hardware
77

88
.. autosummary::
99
:nosignatures:
10-
10+
1111
query_devices
1212
DeviceList
1313
query_hostapis

doc/api/convenience-functions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Convenience Functions using NumPy Arrays
77

88
.. autosummary::
99
:nosignatures:
10-
10+
1111
play
1212
rec
1313
playrec

doc/api/expert-mode.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Expert Mode
77

88
.. autosummary::
99
:nosignatures:
10-
10+
1111
_initialize
1212
_terminate
1313
_split

doc/api/misc.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Miscellaneous
77

88
.. autosummary::
99
:nosignatures:
10-
10+
1111
sleep
1212
get_portaudio_version
1313
CallbackFlags

doc/api/platform-specific-settings.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Platform-specific Settings
77

88
.. autosummary::
99
:nosignatures:
10-
10+
1111
AsioSettings
1212
CoreAudioSettings
1313
WasapiSettings

doc/api/raw-streams.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Raw Streams
77

88
.. autosummary::
99
:nosignatures:
10-
10+
1111
RawStream
1212
RawInputStream
1313
RawOutputStream

doc/api/streams.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Streams using NumPy Arrays
77

88
.. autosummary::
99
:nosignatures:
10-
10+
1111
Stream
1212
InputStream
1313
OutputStream
@@ -20,4 +20,3 @@ Streams using NumPy Arrays
2020
.. autoclass:: InputStream
2121

2222
.. autoclass:: OutputStream
23-

doc/conf.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@
5656
today = '<unknown date>'
5757

5858
default_role = 'any'
59-
highlight_language = 'none'
6059

6160
nitpicky = True
6261

0 commit comments

Comments
 (0)