python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
Sphinx remove dataclass fields from autodoc
As this post describes, autodoc will eagerly add the class variables to the documentation even if napoleon adds the fields as documentation in:
from dataclasses import dataclass
@dataclass
class Foo()...
OneRaynyDay
Votes: 0
Answers: 1
Sphinx can't find my functions (probably due to imports or folder structure)
I have the following folder structure for a package project (simplified):
projectname
├── docs
├── packagename
│ ├── somemodule
│ | ├── __init__.py (second)
| │ └── somescript.py
│ └── __i...
pascalamin
Votes: 0
Answers: 1
Sphinx Autodoc Without Submodules
I'm developing a Python package that allows users to import its functions like this:
import mymodule
mymodule.afunction()
I'm documenting the code with sphinx. I first ran sphinx-quickstart, then I ...

Danny
Votes: 0
Answers: 1