27

Is there any way to mark a class and/or method as deprecated in Sphinx? I can only find a deprecated option for modules.

Using a generic admonition would work, but wouldn't carry the semantic meaning.

bad_coder
  • 11,289
  • 20
  • 44
  • 72
Ernst
  • 562
  • 4
  • 8

1 Answers1

27

I think you're looking for deprecated.

mzjn
  • 48,958
  • 13
  • 128
  • 248
Hank Gay
  • 70,339
  • 36
  • 160
  • 222