Skip to content

Commit 4047cee

Browse files
committed
- Use generic shell lexer for shell commands, instead of bash
- Update labels to reflect the actual name of the builders
1 parent 2a57ebb commit 4047cee

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

docs/conf.py

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

9999

100100
register_builder(
101-
"plone-client", build_plone_client_command, "javascript", "plone-client"
101+
"plone-client", build_plone_client_command, "javascript", "@plone/client"
102102
)

src/sphinxcontrib/httpexample/directives.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111

1212

1313
AVAILABLE_BUILDERS = {
14-
"curl": (builders.build_curl_command, "bash"),
15-
"wget": (builders.build_wget_command, "bash"),
16-
"httpie": (builders.build_httpie_command, "bash"),
14+
"curl": (builders.build_curl_command, "shell"),
15+
"wget": (builders.build_wget_command, "shell"),
16+
"httpie": (builders.build_httpie_command, "shell"),
1717
"python-requests": (builders.build_requests_command, "python"),
18-
"requests": (builders.build_requests_command, "python", "python-requests"),
18+
"requests": (builders.build_requests_command, "python"),
1919
}
2020

2121
AVAILABLE_FIELDS = ["query"]

0 commit comments

Comments
 (0)