-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integration with breathe, various improvements, regexes, external linking #8
base: master
Are you sure you want to change the base?
Conversation
based on breathe
PivotMode?
These should ideally be made proper targets like a class addnodes.desc_name or like add_target_and_index
No idea how this is supposed to work
Added delegate and ref to modifiers
single spaces would be ignored before
… fallback link 1. Check against built in types or ignored strings 2. Map from a package to namespaces to lists of members 3. Find the package and namespace for link 4. Generate API link and test it 5. Fallback to a search link 6. Handle special cases for generic types or where name does not match link name
Add default value support for property
enables syntax highlighting in pycharm
Don't stip sig if the regex fails as it may be None
Logger improvements, breathe test
This reverts commit 5478436.
Fix wrong index for modifier of property
Is this project dead? Or has it been moved or forked? |
I mean its been working for me. I think its just kinda done? |
I think you are right @red8888, this repo is dead. This PR is open for over 1,5 years without any reaction of @djungelorm. And @jonnew, when you look at the work that @rogerbarton has put into it, it definitely is not done. C# is a language where new feature are added every major release. When you use the file-scoped namespace introduced in C# 10, it breaks various parsers (maybe this one as well, haven't tested yet). Maybe we should just open an issue named "This repo is dead", with a link to the repo of @rogerbarton if @djungelorm doesn't react any time soon. |
Lol I was not paying attention and actually thought this thread was on @rogerbarton's repo as that is the one I've been using. |
Fix regex for multi-dimensional arrays
Hi! I've been trying to get this to work with the sphinx breathe extension to document C# code with doxygen. This requires a working C# domain... I've had to make several changes and improvements, but its working quite nicely, have a look here. I use it for a C#/C++ Unity project.
IGNORE_XREF_TYPES
resolve_xref
%s
for where to place the nameaddnodes
over docutilsnodes
, also fixes some spacing issues__init__
so we can import the extension with justsphinx_csharp
instead ofsphinx_csharp.csharp
(its based on how breathe does it, not sure how good this is) 9cd500blogger
from sphinx to print info/warnings (found some deprecations with the current way of doing it) 9e7edbftemplate<T, U> MyFunc ()
?
being randomly added to the end of a name (no idea where this is coming from, doxygen might have interpreted my property as a nullable) 4398e31Todo:
endswith
in middle of type (soMaterial
matchesMyMaterial
) 0a3fa65Future work:
object_types
,directives
,roles
(I have no idea how this is supposed to work)The current test cases seem to be working for me.
This PR is a dependency of another PR at the breathe repo: breathe-doc/breathe#550
fyi, I haven't really done much python and no sphinx at all before, so some stuff might be completely wrong/unconventionial. But I'm happy to fix that :)