Skip to content

Commit 21c6653

Browse files
committed
Add correct CSS class names. Note that names can't have @ or / in them, but this package allows them as the label.
I'd suggest the `name` argument of the `register_builder` method be the CSS class name, instead of the `label`.
1 parent c0e4069 commit 21c6653

3 files changed

Lines changed: 9 additions & 3 deletions

File tree

docs/_static/sphinxcontrib-httpexample.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,11 @@
2020
.http-example div.highlight-bash pre {
2121
white-space: pre-wrap;
2222
}
23-
.http-example-JavaScript div[class^='highlight'] pre,
2423
.http-example-http div[class^='highlight'] pre,
24+
.http-example-httpie div[class^='highlight'] pre,
25+
.http-example-plone-client div[class^='highlight'] pre,
26+
.http-example-python-requests div[class^='highlight'] pre,
27+
.http-example-wget div[class^='highlight'] pre,
2528
.http-example-response div[class^='highlight'] pre {
2629
white-space: pre;
2730
}

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,5 +96,5 @@
9696

9797

9898
register_builder(
99-
"plone-client", build_plone_client_command, "javascript", "@plone/client"
99+
"plone-client", build_plone_client_command, "javascript", "plone-client"
100100
)

src/sphinxcontrib/httpexample/static/sphinxcontrib-httpexample.css

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,11 @@
2020
.http-example div.highlight-bash pre {
2121
white-space: pre-wrap;
2222
}
23-
.http-example-JavaScript div[class^='highlight'] pre,
2423
.http-example-http div[class^='highlight'] pre,
24+
.http-example-httpie div[class^='highlight'] pre,
25+
.http-example-plone-client div[class^='highlight'] pre,
26+
.http-example-python-requests div[class^='highlight'] pre,
27+
.http-example-wget div[class^='highlight'] pre,
2528
.http-example-response div[class^='highlight'] pre {
2629
white-space: pre;
2730
}

0 commit comments

Comments
 (0)