Description
Hi! 👋
Problem
At this moment, when copying commands from the documentation (https://jupyterlab-server.readthedocs.io/en/stable/index.html or https://jupyterlab-server.readthedocs.io/en/latest/index.html), such as the commands present on the Config file and command line options page, the $
input prompt is also copied along with the command. In this way, it is not possible to directly run the copied command.
Proposed Solution
Configure the sphinx-copybutton
extension so that the $
input prompt is not included in commands copied from the documentation.
The relevant documentation for this configuration can be found in the Strip and configure input prompts for code cells section of the sphinx-copybutton
extension documentation.
Another possibility is to remove the $
input prompt directly from the documentation pages.
Additional context
- Operating System and version: macOS Sonoma 14.5
- Browser and version: Chrome 126.0.6478.183
Let me know what you think and if I can open a PR. Thanks!