Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/breathe-doc/breathe
ReStructuredText and Sphinx bridge to Doxygen
https://github.com/breathe-doc/breathe
f9284231a0d59e1ecebcb76489336c2605139c13 authored almost 10 years ago
8953f66a8e0942da68cbe9ab2136fae52134cb78 authored almost 10 years ago
First, use node kind instead of Breathe directive name for detecting which
domain directive to c...
f7c89fe62dcccee099c65ac48f1d71a7f6af36cf authored almost 10 years ago
Since domain directives are only created during rendering, move
domain_directive_factories from ...
Since the Sphinx cpp domain doesn't have an enum directive, use a type
directive and change "typ...
3e797ab8761621aa030be56180fd8c167bcb8e37 authored almost 10 years ago
06ffdf38bb49cecd4348c219b82603da58790b1f authored almost 10 years ago
Pass fully-qualified name to domain directive for correct target generation,
but filter out oute...
ca121b491db834ec6fc92869e05998c08fc5374c authored almost 10 years ago
Use CPPClassObject for enum values as the cpp domain doesn't have a
directive for enum values an...
Move the code that retrieves function signature to the render method
because it can be called fr...
74a37e61cfe18fc43476cbf3f9ab7216935b49b1 authored almost 10 years ago
This way it applies both to doxygen* directives and to members.
Also clean CompoundRenderer.rend...
feacb037e9a45e8c7dfa364c1aab525a4e369dee authored almost 10 years ago
50bd8aed7579d497d7fa27361744ea6505269fbe authored almost 10 years ago
09934e4702fec4f6bf211295b5a884a92e11c4a8 authored almost 10 years ago
Also move rendering of files to a separate class, FileRenderer, because
there is no correspondin...
As discussed in #167, if the domain name is not 'c' or 'cpp' or if it cannot be
determined then ...
as the domain information is needed for most types of renderers.
Also use an empty string instea...
since a Breathe's directive may have an empty argument list.
1e40f8f8711fa60108d2212f5d69c69314f93515 authored almost 10 years agod659dc074248fcbf7d1b891d017934fffbea3587 authored almost 10 years ago
1ef1a3830093e1e04fe25d09b759b5a5188596ca authored almost 10 years ago
6ec5c0b9d9939f14ed5780ea07be3d8a7dade32d authored almost 10 years ago
aa6f10a6624fbdf3024c4a632deac9574c0fa4a7 authored almost 10 years ago
Parameter name can appear in param.defname or param.declname.
2332f18119332abd9aad9bef8746ac67b9f31c56 authored almost 10 years agoAlso rename "object" to "decl", since "object" is a built-in name.
fbc24329ea67b3a5674f2fe686ef546b322fd216 authored almost 10 years ago611bfe7ab0a5905c05611a5780af5258338a32d3 authored almost 10 years ago
429ccdbbad274c176d60f53106354950f241e401 authored almost 10 years ago
4d4993b69e9a7a90848a09cc260760dd307dfbe2 authored almost 10 years ago
This allows reusing it between class and function renderers.
5d7457a3a6f252a960bd55eb1346912b239fc24a authored almost 10 years ago56b2179811a8bf525f7e5fd09dcf11f2f247c65d authored almost 10 years ago
Factor out the code to add qualifiers into a separate function,
add_qualifiers, because it is us...
Unfortunately argsstring only contains parameter types, so we have to
extract names manually.
673ac6c713d674d498c5d428a6aef467d682c690 authored almost 10 years ago
The virt attribute is 'non-virtual' for non-virtual functions, not `None`.
0cf4fc16f8e3f0491cc3f4d501e2475a9db8b797 authored almost 10 years ago
Remove `virtual` from the full function signature and add it later to the
signature node. This i...
87d5e64d276892d2b849547e89f8db485969b207 authored almost 10 years ago
We need to replace "doxygen*" directive names with a names domain
directives know about. Without...
This way the code can be reused between different directives (previously
it was local to Doxygen...
515bf1162be1c5c0139748f9bcb2ff693a4f5c55 authored almost 10 years ago
c6426064b9b73d9ddbcc702f11d5da924ac80346 authored almost 10 years ago
We need to replace "doxygen*" directive name with "class" because
domains don't know how to hand...
Since the cpp domain doesn't support structs we have to chage the
text from "class " to "struct ...
98d533fa68b90c0c56021518c88bb900c5e8610a authored about 10 years ago
This is needed because the cpp:class directive doesn't do it automatically.
e5d093c704d34c83d8de7c0c9c52974c35d69adf authored about 10 years agoaa8dcaf584306744ac8b64f0a86aa8839ff269ce authored about 10 years ago
This domain is used when creating directives and allows Breathe directive
code to be mostly lang...
Instead of using a single domain directive factory, use a dictionary from
domain name to directi...
845ab01eac45f22f71c77085fab62327ef6ae1f9 authored about 10 years ago
This allows creating directives dynamically at run time and supporting
multiple languages (by ch...
Delegate the work of building signature nodes for classes to the
CPPClassObject class. This impr...
This is done to allow subclasses of BaseDirective inherit from more
specific directive classes s...
bd909d27d35fa9036aacfb7e84444e6fb6b90e61 authored about 10 years ago
Create CompoundRenderer, a base class for CompoundTypeSubRenderer
and RefTypeSubRenderer, and mo...
Matchers have been replaced with finder filters.
77ea6d608735b5777de285fa6ebc4324607fc01d authored about 10 years agobb61f7a4b62a3348bc4db7f938eed7856c592724 authored about 10 years ago
We have to rebuild the examples after checkouts in case they have
different content at the two c...
10bf0cd7aeaf3ee2862f5ad0337c769fd9e3a35a authored about 10 years ago
016dfa0587cea39dd8e7119f63d52063b79341cf authored about 10 years ago
d68af4aac96a5b99125e9b7832f17f86d3292cba authored about 10 years ago
f46ec979920dbddf70677dd16f18a51094d8d15a authored about 10 years ago
They are rendered as desc nodes instead of list items.
018400c661e652cce38f6983cd6c0119c6475e42 authored about 10 years ago
This is needed for correctly detecting the domain for enumvalue nodes
which don't contain locati...
This allows linking to enumeration constants from RST:
enum { ANSWER = 42 };
.. doxygenenumval...
a9f3f8f97b1eedf12ea1e182db818e5a87114693 authored about 10 years ago
Instead of rendering enumeration constants as list items, render them as
desc node reusing the f...
The purpose of this directive is to document enumeration constant that
are not documented as par...
79361786fba2fc7bfb41a325610d695b177cf727 authored about 10 years ago
Otherwise we register namespaces as classes. As noted, Sphinx cpp domain
doesn't support namespa...
We note that there are other nodes which might end up coming through to
this method from the Ref...
As it deals with both namespaces and classes and possibly other nodes as
well. Anything that end...
c40777ec9d0d955a73d8102a209408df60447f08 authored about 10 years ago
This is done by creating a target node in RefTypeSubRenderer.render
from a qualified name stored...
Update DoxygenClassLikeDirective to use finder filters instead of the
obsolete matcher stack and...
This class is not used any more as the Struct directive, that was the last
to be inheriting from...
dfe4f0acee69994501c1f0e01294118ed2e27791 authored about 10 years ago
And replace the Doxygen-generated name of the form @id.
0b267028abd2dca3a92ab971c83a40d06c76fb2e authored about 10 years agod31f84890c83a19be2df16ef55acde8078f9e415 authored about 10 years ago
2568c84c4917e4e4ad913bde0c825fa749512810 authored about 10 years ago
When trying to get the fully qualified name as if there is a 'namespace'
compound node in the no...
This fixes the case for a typedef that is within two nested namespaces
and is discovered through...
We refer to the 'structcmd' project in doxygen.rst and in typedef.rst so
we have to use 'no-link...
16728c8ce702c4fab8ffba25523e770c91883e6f authored about 10 years ago
Otherwise a fully-qualified name may look like filename.h::TypedefName.
8aad3c234644a4107f63ce5ffe5bbb23f0bf7cae authored about 10 years ago
The node stack is used by renderers to extract namespace information
which is not available in t...
ab94070bec71f936ad845809ca9de20385a4b295 authored about 10 years ago
We may need a full node stack later to get a fully qualified name such as
a::b::C. The node itse...
1493e864ff88fb0ed6dfd197e895b172143ff101 authored about 10 years ago
54eba219529ae1edd995edddb147601496e3cbd1 authored about 10 years ago
800943713a4179d33af7b45b249dc386dc75063c authored about 10 years ago
a08e853cf6bab8593ace0814a7573b6ac5001b23 authored about 10 years ago
66244367e2871bde1f9b625baaa612c580a4c479 authored about 10 years ago
4e0952c86d157576b94f06ba5c32d3e1dcdc333d authored about 10 years ago
0ebd4ffdbcbd526ef3644b8ff85edf59361bf146 authored about 10 years ago
2ab196daa1c20cb398010672613fea74dbdfa800 authored about 10 years ago
1436fb7eed061bef31a441b2817762309e1df5f3 authored about 10 years ago
bba2793b5ff5ba056ec2a92f9abcff4a0592d4f4 authored about 10 years ago
17cfc7f6d32441095eaf8fe3e074bcd96d31b354 authored about 10 years ago
e3e3245eba4960dff4b7b4f0ba5e8b06bdd46a45 authored about 10 years ago
4f60d361a201bb466a3921557eb0c6904f5ac39f authored about 10 years ago