-
Notifications
You must be signed in to change notification settings - Fork 1.3k
PERLMOD_PYTHON to use python in perlmod (it generates simple document for class / member functions as example) #10782
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
base: master
Are you sure you want to change the base?
Conversation
- out.cpp has adding code. - check the point with // perlmodPython PerlModGenerator [key...] <start>
PERLMOD_PYHON is YES (depends on GENERATE_PERLMOD = YES option) - config.xml - add PERLMOD_PYTHON with description - it is option to make python program with perlmod result - put2cpp.py - change/insert the code in perlmodgen.cpp between // perlmodPython PerlModGenerator ... <start> ~ <end> - perlmodgen.cpp - includes put2cpp.py - change Makefile to support many example - I will add more python file
- make code2cpp - doxy2py.pl / sample.py / put2cpp.py - generate new perlmodgen.cpp.mod. you need to copy it to perlmodgen.cpp. - make python - run doxy2py.pl -> make DoxyDocs.py from Doxydocs.pm - run sample.py -> print something from DoxyDocs.py
…ython' - make python - run doxy2py.pl -> make DoxyDocs.py from Doxydocs.pm - run sample.py --outfile=output.md -> output.md makes documents for classes and their member functions - you can see the result with markdown viwer.
- problems - python : show member function 6 times. so you need to change it in case of python. I can not find which is python.
|
@cheoljoo Thanks for your interest in Doxygen and for creating the pull request. I see this basically adds a couple of static files to the output, and these then use the output of Doxygen as input. I think this can better be hosted as a separate project on GitHub. By including it in Doxygen, the maintenance burden moves to us, and we are already stretched supporting the current output formats. Did you know, Doxygen has a doxmlparser addon that provides a Python interface to the XML output produced by doxygen? I would expect/hope it offers a better way to interface with the doxygen output from Python than using the Perl module. |
@doxygen , I will check doxmlparser.
|
PERLMOD_PYTHON is added in config.xml because of supporting python from perl output.
modified files
PERLMOD_PYTHON
make python_doc in output/perlmod
make code2cpp in output/perlmod
--perlmodgen
option : location of perlmodgen.cpp. python codes in inputdir will be updated.--perlmodgen=../../../../src/perlmodgen.cpp
)