Code Monkey home page Code Monkey logo

Comments (6)

rogerbarton avatar rogerbarton commented on September 28, 2024

This would make a lot of sense. I've looked into it a bit. However, seeing as a lot of parts would need to be refactored, also in the breathe repo, and I don't have much time for this project I will leave it as is for now. Maybe I will find a bit of time to do this. It would be much nicer from a usability side of course.

from sphinx-csharp.

filmor avatar filmor commented on September 28, 2024

Well, the current state sort of works, so just publishing as is could be an option. If you don't have the time, I can take that part :)

from sphinx-csharp.

rogerbarton avatar rogerbarton commented on September 28, 2024

Yea, would be great if you could help out :)

from sphinx-csharp.

jahav avatar jahav commented on September 28, 2024

It's a great project and kudos to @rogerbarton for your work. Thanks, it is really appreciated.

Anyway, this is for people trying to generate doxygen documentation on the https://readthedocs.org/ and stumbling on this ticket.

Since for now, there isn't a PyPI published package, you can't just add it to requirements.txt. Try adding an installation to your conf.py. It basically a redo of a code from Breathe - Generating doxygen xml files.

# Make sure the the package is a part of the extensions
extensions = ['sphinx_csharp','breathe']

import subprocess, os

read_the_docs_build = os.environ.get('READTHEDOCS', None) == 'True'

if read_the_docs_build:
     subprocess.call('doxygen', shell=True)
     subprocess.call('pip install git+https://github.com/rogerbarton/sphinx-csharp.git', shell=True)    

Disclaimer: I know basically nothing about python, I just wanted to have doxygen generated API and this seems to work.

from sphinx-csharp.

rogerbarton avatar rogerbarton commented on September 28, 2024

I looked into publishing a pypi package. However, I would need to rename the package to something else... this would also require the breathe repo to use this new package name. I'm not sure if this is worth the hassle. imo pip install git+... is easy enough.

from sphinx-csharp.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.