[DOC] Copy text button not copying entire content
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 52
- Forks
- 73
- Avg merge
- 4d 16m
- Merged PRs (30d)
- 8
Description
Report incorrect documentation
Location of incorrect documentation
The first code box under the Examples section in:
https://docs.rapids.ai/api/cudf/stable/user_guide/api_docs/api/cudf.core.column.string.stringmethods.split/#cudf.core.column.string.StringMethods.split
Describe the problems or issues found in the documentation
The box contains this code:
import cudf
data = ["this is a regular sentence",
"https://docs.python.org/index.html", None]
s = cudf.Series(data)
s
0 this is a regular sentence
1 https://docs.python.org/index.html
2 <NA>
dtype: object
clicking the copy button results in the following:
import cudf
data = ["this is a regular sentence",
s = cudf.Series(data)
s
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open the linked cudf StringMethods.split documentation page and reproduce the problem with the first code box under Examples. Trace the documentation site's copy-button behavior and compare copied text with the full displayed block. Done means the button copies all of the code and output shown in that box.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html, python
- Domain
- documentation
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100