Coder Social home page Coder Social logo

Comments (6)

koldunovn avatar koldunovn commented on August 18, 2024 2

I would agree with @bulli92 that the usual Spinx documentation format is rather odd and I personally find it very hard to read. I prefer the Numpy style which is much easier to read.

from esmvaltool.

bjlittle avatar bjlittle commented on August 18, 2024

In the recent 2nd coding workshop at the DLR (totally awesome btw) I opted for the numpy style for the backend.regrid module ... works for me.

Note quite sure how that renders in Sphinx, but if it's good enough for numpy ...

from esmvaltool.

bulli92 avatar bulli92 commented on August 18, 2024

from esmvaltool.

bouweandela avatar bouweandela commented on August 18, 2024

It looks like there is agreement that the numpy docstring standard should be used for python code. Perhaps this could be added to the documentation (section "7.8 Documentation of source code" of ESMValTool_Users_Guide.pdf) and then this issue can be closed.

from esmvaltool.

mattiarighi avatar mattiarighi commented on August 18, 2024

In the v2 doc there is no section on Documentation of source code at the moment, where else could we add the statement about numpy docstrings?

from esmvaltool.

bouweandela avatar bouweandela commented on August 18, 2024

Maybe we should add a section on code quality and documentation, or link to CONTRIBUTING.md and add more information there.

from esmvaltool.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.