Skip to content
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

Support for C++ #385

Closed
shimizukawa opened this issue Jan 2, 2015 · 3 comments
Closed

Support for C++ #385

shimizukawa opened this issue Jan 2, 2015 · 3 comments
Labels
markup type:enhancement enhance or introduce a new feature type:proposal a feature suggestion

Comments

@shimizukawa
Copy link
Member

Sphinx is a fantastic product, kudos!

However, it is really coupled to Python. I've started using it with a C++ project and although I'm using "." instead of "::" for scope and Python3-style method declarations [i.e. foo(bar:string) -> string], it has poor support for "const" methods, and "const&" parameters.

I'd like the markup to be more tolerant, or provide explicit support for these situations.

Other nice features would be support for templates, but that might be more work!


@shimizukawa shimizukawa added type:enhancement enhance or introduce a new feature markup type:proposal a feature suggestion labels Jan 2, 2015
@shimizukawa
Copy link
Member Author

From Georg Brandl on 2010-04-12 09:24:12+00:00

This is already implemented (don't know about templates) in the C++ domain in the domains branch. See http://dev.pocoo.org/~gbrandl/sphinx-domains/domains.html#id1 for details.

Basically, in the domains branch (which will become 1.0), every computer language can (and will, once contributed) have its own object description constructs (like ".. lang:function::") supporting a syntax appropriate for that language.

@shimizukawa
Copy link
Member Author

From André Caron on 2010-04-12 17:39:10+00:00

(Reply via and...False.com):

Wow, nice! Looks like a clean solution, too!

Sorry for posting uselessly!

@shimizukawa
Copy link
Member Author

From Georg Brandl on 2013-03-31 13:57:14+00:00

Removing version: 0.6.4 (automated comment)

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
markup type:enhancement enhance or introduce a new feature type:proposal a feature suggestion
Projects
None yet
Development

No branches or pull requests

1 participant