2

I'm trying to create some documentation for some Python scripts included in my project (the rest is Fortran/C). I managed to include a brief and a detailed description for the files, but all the variables defined in the script are being listed in the documentation.

How do I avoid them from being listed? Which variable in the Doxyfile controls the inclusion of all the variables of a file?

2
  • 1
    How are you setting up Doxygen for your Python files? What are the specifics for your Python files? Are all your variables global? Are you using a Doxygen filter for Python like doxypypy? Commented Jul 18, 2016 at 19:57
  • My Python files are just scripts supposed to be launched interactively from the command line, with dynamic declaration of global variables (as a consequence in my doxygen documentation I get all the lines where a variable is declared for the first time). And yes, I'm using doxypy. Commented Jul 19, 2016 at 11:55

1 Answer 1

2

I had this similar problem while working with python-Doxygen. What worked for me is to enclose your variables between \cond and \endcond.

For example,

## \cond
some_var = "abc"
## \endcond

They won't show up in your documentation :)

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.