[GRASS-git] [OSGeo/grass] 9c4ded: Sphinx: Generate class doc from class and init (#2...

Vaclav Petras noreply at github.com
Wed Apr 20 08:36:09 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/OSGeo/grass
  Commit: 9c4ded9d5a3cabd5fc48e31bb31df6a8ceda60a3
      https://github.com/OSGeo/grass/commit/9c4ded9d5a3cabd5fc48e31bb31df6a8ceda60a3
  Author: Vaclav Petras <wenzeslaus at gmail.com>
  Date:   2022-04-20 (Wed, 20 Apr 2022)

  Changed paths:
    M python/grass/docs/conf.py

  Log Message:
  -----------
  Sphinx: Generate class doc from class and init (#2317)

By default, only class doc is used to document class and `__init__` is ignored. This uses both to create the doc in Sphinx. Parameters can then be documented with the function as for any other function.




More information about the grass-commit mailing list