You are correct. Thanks for your quick answer, Gábor Bernát Student - Sapientia University - Computer Science - Tîrgu-Mureș, România. Tel.: +40-746-217-082
On Wed, Jun 29, 2011 at 10:28 PM, Guenter Milde <mi...@users.berlios.de>wrote: > On 2011-06-29, Bernat wrote: > > I have a problem with applying the class directive. > > > I use the input you can see here: img19. imageshack .us/img19/2536/ > > classnotworking.png > > > I use the default theme with adding to the default css: > > ul.simple { > > list-style: none; > > } > > > ul.enumerateVisibleItems { > > list-style: square; > > } > > > The second is a way to overwrite the first formating used in some > > cases. However, for the CSS to work I need create the corresponding > > class. For this I use the class directive as you can see in the first > > image. > > > Nevertheless, the results is totally different from what I expect: > > img32. imageshack .us/img32/3713/resultnq.png > > > So what's the problem here? > > I did not download the pictures but it seems you try to use the > > .. class:: > > directive as it is defined and used in Docutils. > > However, Sphinx by default overloads this with a directive to document > a "class" in object-oriented programming. > > The original definition was renamed to "cssclass" (althouh it is not > tied to CSS and works also with, e.g., the LaTeX writer). > > There is also a way to configure Sphinx to use the "class" directive > with its original meaning (but I don't know the details). > > Günter > > > -- > You received this message because you are subscribed to the Google Groups > "sphinx-dev" group. > To post to this group, send email to sphinx-dev@googlegroups.com. > To unsubscribe from this group, send email to > sphinx-dev+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/sphinx-dev?hl=en. > > -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to sphinx-dev@googlegroups.com. To unsubscribe from this group, send email to sphinx-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.