Coder Social home page Coder Social logo

Fix documentation about pygaze HOT 4 OPEN

esdalmaijer avatar esdalmaijer commented on July 19, 2024
Fix documentation

from pygaze.

Comments (4)

smathot avatar smathot commented on July 19, 2024

I've been working on a way to easily generate documentation based on docstrings, mostly for the OpenSesame documentation. The module is called yamldoc:

This might be something to use for PyGaze as well? You can see an example of this in the heisenberg branch of OpenSesame:

The yamldoc readme.md itself is also generated fully from docstrings.

from pygaze.

esdalmaijer avatar esdalmaijer commented on July 19, 2024

Looks very neat! Will try to look at a way to integrate this in PyGaze (possibly via a bit of hacking of your code, though).

from pygaze.

smathot avatar smathot commented on July 19, 2024

Basically, the only thing that would need to happen is re-formatting the docstrings in the various base* classes, according to the yamldoc syntax. No code changes would be required, and there wouldn't be any dependency on yamldoc, except an optional dependency if we want to use the yamldoc.docinherit metaclass for docstring inheritance.

Let me know what you want to do here. I could reformat the basetracker docstrings while working on the EyeLink integration.

from pygaze.

esdalmaijer avatar esdalmaijer commented on July 19, 2024

It's on my PyGaze to-do list, so please do go ahead with reformatting anything. Trouble is that there's a bunch of other to-do lists that currently have priority over the PyGaze one, so my progress is very slow.

from pygaze.

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.