yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #14728
Re: how about bringing MyTetrahedron example back to documentation?
-
To:
yade-dev@xxxxxxxxxxxxxxxxxxx
-
From:
Janek Kozicki <janek_listy@xxxxx>
-
Date:
Mon, 11 Feb 2019 18:08:41 +0100
-
Face:
iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAALVBMVEUBAQEtLS1KSkpRUVFXV1dYWFhjY2Nzc3N3d3eHh4eKioqdnZ24uLjLy8vc3NxVIagyAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH2AIVEzgS1fgQtQAAAjRJREFUOMtt1DFv00AUAOAzFQNbjigSyoQaRaBMhKgLUyKXpVNNeUpk9vyDqFJhQ1kiBuaqAwJCqvPtSLY7RlTn5+5IdnYkkt/AOyfxXVLe5vf53Z1875kd34tOEax8djmj6GyjhB5bxz50GdsVZr9fqRjZwAtKOJw5Wqs2MMZ16ALHsaDncF7xAHix1oEFHAB8f+pRjcO4gfZDykcYzbiucRolOLUJ6kjA0xtVt+A6TySlM0RajIpK6DzwKZ/nOYbF/gclHMo1ZOHYY/+Ha+AWuM+3oMS4eeqYzZ8FiCltgUqI8cd2wwAVpJk+8LWYjBtnJdQpHQqJMd4Oxt4bU9ESiFGc5hkqaH74asAX4iabP5I5gZ+qjgGlJCqZa3h3lxhoeVcSE1qLQC4sqKOK9MGW9E3izFqqHokoztLFEgXg31sbZEKnWi2T74A4NxfVQqlkjKtcAWD+zcArFEES01dR0E/nnV0IgugmDd/2L84sOAouRBBHEc7gtc8teDkRlE0iNQPo2w3Xhh/D4TCIQ4LRLoTvgwjj6RRgavdurxYGMaIuGOyAW/PpNlCcU9/93AHenAWYjPoAwa+G3e3to/MgFNTAEKvKDjzuCzHTnY3qqdXtx24VijzQfZ0yewZ5cwRFQaa+mIYr1uI0I76+3W4xhlvoVRwOA0Fdl64HlJnxP6T8YpX/Lga4Wv4A3ErrU5oTfN7Mu/llXMl8RXEPji/lQkN3H7qXqgC2By47EXeU/7PJ/wPxRKMnuZwIeAAAAABJRU5ErkJggg==
-
In-reply-to:
<97513a1d-de40-7d72-c446-958f8aa44b34@grenoble-inp.fr>
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