-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 09/30/11 19:39, Jack Poulson wrote: > Hello, > > It would appear that the C++ domain's 'cpp:namespace' directive does not > work (in 1.0.7 or 1.0.8). For instance, when adding in the following code: > > .. cpp:namespace:: mpi > > .. cpp:clase:: Test > > A test class. > > I get the following error: > > /Users/poulson/Source/elemental/doc/source/imports.rst:16: ERROR: Error in > "cpp:namespace" directive: no content permitted. > > .. cpp:namespace:: mpi > > .. cpp:class:: Test > > A test class. > > Perhaps I'm using the namespace directive incorrectly? I tried to use it in > a way that mirrored the cpp:class directive. > > I very much appreciate how responsive this list is!
Hi Jack, cpp:namespace is supposed to be used like py:module: it is in effect until the end of the file or the next cpp:namespace. cheers, Georg -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) iEYEARECAAYFAk6MYJkACgkQN9GcIYhpnLDUkwCfSGW86raK+gJOFEyhHXdXTz2l ZXUAoIi8j6CW9Fujtq+5egyKJX+XU+nz =o/Gn -----END PGP SIGNATURE----- -- 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.