Thanks, this is exactly what I was looking for ! Alex On 14 fév, 17:27, Minh Nguyen <nguyenmi...@gmail.com> wrote: > Hi Alexandre, > > On Mon, Feb 15, 2010 at 3:10 AM, ablondin > > <alexandre.blondin.ma...@gmail.com> wrote: > > <SNIP> > > > Strangely enough, all functions on digraphs do not seem to appear > > anywhere ! > > For a module in the Sage library to appear in the reference manual, it > must be in one of the .rst files under the directory > > devel/sage-main/doc/en/reference/ > > As regards graph theory modules, the file > > devel/sage-main/doc/en/reference/graphs.rst > > lists modules that would appear in the reference manual. At the > moment, it contains this listing: > > [mv...@sage reference]$ cat graphs.rst > Graph Theory > ============ > > .. toctree:: > :maxdepth: 2 > > sage/graphs/cliquer > sage/graphs/graph > sage/graphs/graph_coloring > sage/graphs/graph_generators > sage/graphs/graph_database > sage/graphs/graph_list > sage/graphs/base/c_graph > sage/graphs/base/sparse_graph > sage/graphs/base/dense_graph > sage/graphs/graph_latex > > Note that the digraph module is the file > > devel/sage-main/sage/graphs/digraph.py > > Looking over the above listing, I don't see a line like this: > > sage/graphs/digraph.py > > which explains why classes, functions, and methods in > sage/graphs/digraph.py don't appear in the reference manual. If you > want the documentation of these functionalities to appear in the > reference manual, you can edit the file > devel/sage-main/doc/en/reference/graphs.rst so it now appears like > this: > > [mv...@sage reference]$ hg diff > diff -r 799f70320d89 doc/en/reference/graphs.rst > --- a/doc/en/reference/graphs.rst > +++ b/doc/en/reference/graphs.rst > @@ -6,6 +6,7 @@ > > sage/graphs/cliquer > sage/graphs/graph > + sage/graphs/digraph > sage/graphs/graph_coloring > sage/graphs/graph_generators > sage/graphs/graph_database > > -- > Regards > Minh Van Nguyen
-- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org