Lightning-AI / Lightning-AI/pytorch-lightning

Class name displayed incorrectly

Open
#19,952 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

docs
Dominant language
Python
Stars
31.4k
Forks
3.8k
Avg merge
6d 7h
Merged PRs (30d)
6

Description

### 📚 Documentation

### 📚 The doc issue

Hello everyone,
I found what initially looked like a typo in the docs. But it seems like a problem with displaying the text, because it show up correctly when copy-pasting the text. The problem showed up in the two browsers (Edge and Firefox) that I tested.
![typo](https://github.com/Lightning-AI/pytorch-lightning/assets/62934678/37fe8995-fa88-4c9c-bb02-e842c393fef8)
It looks like the text says "class ightning.pytorch.accelerators" (missing the l in lightning).
I found it on several sites.

Pages like [CUDAAccelerator](https://lightning.ai/docs/pytorch/stable/api/lightning.pytorch.accelerators.CUDAAccelerator.html#lightning.pytorch.accelerators.CUDAAccelerator) all show the class as "class lightning.pytorch.accelerators"

cc @borda

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by opening the linked CUDAAccelerator documentation page in Edge and Firefox and compare the rendered class name with copied text. Check the other affected documentation pages for the same display issue. Done means the rendered class name consistently includes the leading “l” in “lightning”.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
documentation
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.