Documentation | Handle shell prompts automatically (#139)
Amar Takhar (@amar)
gitlab at rtems.org
Thu Mar 19 23:17:22 UTC 2026
Amar Takhar created an issue: https://gitlab.rtems.org/rtems/docs/rtems-docs/-/issues/139
Assignee: Amar Takhar
## Summary
<!--Please provide as much information as possible such as error messages or attaching logs-->
We have a lot of shell commands. Traditionally you would want
```shell
$ ls -l
$ find /
```
With the `$` denoting it's a command to write on the shell however now we have `copybutton` installed that lets you copy the text. It has support to strip prompts out:
* https://sphinx-copybutton.readthedocs.io/en/latest/use.html
I'll open an MR to add
```
copybutton_prompt_text = "$ "
```
The engineer manual will need to be updated to to properly format issues
See also !229
## Steps to reproduce
<!--Pre-set options
- milestone-->
--
View it on GitLab: https://gitlab.rtems.org/rtems/docs/rtems-docs/-/issues/139
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260319/0ea3e032/attachment-0001.htm>
More information about the bugs
mailing list