← Back to team overview

yade-dev team mailing list archive

Re: how about bringing MyTetrahedron example back to documentation?

 

Agreed,

I just had the same conclusion this morning. So I will add some
code-blocks in documentation :) This way an interested new developer
will add these files himself by hand and practice compiling etc.

Janek

Bruno Chareyre said:     (by the date of Mon, 11 Feb 2019 18:01:22 +0100)

> Hi Janek,
> I would go for the code block in rst.
> Bruno
> 
> 
> 
> On 2/8/19 9:34 PM, Janek Kozicki wrote:
> > Back in the day I wrote this simple example for Vaclav about how to
> > write new geometry, collision detection and constitutive laws.
> > I think that Anton also studied this example. You can see it here:
> >
> >    git co -b old-tetra f2ddab567
> >
> >    find -name "*MyTetrahedron*"
> >
> > So I was going through documentation and I saw this empty section,
> >
> > https://yade-dev.gitlab.io/trunk/tutorial-advanced.html#new-law
> >
> > and I suppose that it would be a nice place to put it there.
> >
> > I am not sure if I should just write .. code-block: inside .rst with
> > explanations of this code. And no files in the directory tree, or
> > maybe put it in /examples/ directory?
> >
> > But /examples/ contain only *.py code, and that would be a C++ code
> > example. So to have it working actually I would need to put it
> > in /pkg/example maybe?
> >
> > what do you think?
> >
> >
> > PS: yeah I still want to make those videos from some of those new 215
> > examples that I checked last week, but I prefer to go from one
> > chapter to next one, without skipping :)  
> 
> 
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-dev
> Post to     : yade-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-dev
> More help   : https://help.launchpad.net/ListHelp


-- 
Janek Kozicki                               http://janek.kozicki.pl/  |


References