Home
Blogs
Questions
Jobs
Monetize

Home

About Us

Blogs

Questions

Jobs

Monetize

Post Job

banner

Questions about sphinx-napoleon

Read more about sphinx-napoleon

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)

Questions - sphinx-napoleon

Variable format changed to ~class.attribute in docs

So I've been working on some docs for some weeks now and they always appeared fine until last night all the variables started coming up in the format ~Class.Attribute. I attempted to rollback to multi...
test-img

Sohjiro

python

python-sphinx

sphinx-napoleon

Votes: 0

Answers: 1

Latest Answer

This is a bug in the Sphinx napoleon extension it was reported in issue #10181 and will be fixed in the next Sphinx 4.5.0 release. It happens for variables that aren't prefixed in the docstring with t...
test-img

bad_coder

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()...
test-img

OneRaynyDay

python

python-sphinx

docstring

autodoc

sphinx-napoleon

Votes: 0

Answers: 1

Latest Answer

Just change Attributes: to Args:.
test-img

EntangledLoops

Posts

Questions

Blogs

Jobs

The ultimate platform for coders and IT specialists

About

  • Company
  • Support

  • Platform

  • Terms & Conditions
  • Privacy statement
  • Cookie policy
  • Cookie option
  • OnlyCoders © 2025  |  All rights reserved