-
Notifications
You must be signed in to change notification settings - Fork 92
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
Need to expand environment variables while copying referenced files #127
Comments
Hi, this should be possible since 1c133b1 -- there's now a possibility to supply most of the options from a python config file, which is done to alllow a lot more flexibility (among the planned features is supplying URL formatter functions, hooks for code processing etc.) and should also make your case possible -- in particular, take a "template" input Doxyfile, expand env vars in it and save it to a Doxyfile that then gets processed further. Or if you need that in the
The original way through the Doxyfile is still supported for backwards compatibility of course, but the Python file is the preferred way going forward. |
That sounds great! Having the config for m.css makes sense as well. I'm in the process of converting our current docs to m.css and I have a separate Doxyfile that inherits from the main one just for that. |
The split is a bit weird at this point (you still need to patch the original Doxyfile to enable the XML output and disable the HTML output) so you most probably end up with three files anyway. In the future I might consider adding an ability to generate a Doxyfile from a pure-python config, but right now it's like this. |
That's fine, an extra file doesn't hurt. Main value is being able to use environment variable to account for local dev environment vs build machine environment. |
I was trying out m.css and it looks really promising. I found one issue in while testing this, we use environment variables in the Doxygen config for some of the reference files.
m.css/documentation/doxygen.py
Lines 3642 to 3660 in 6eefd92
I think this can be addressed by having the script expand the environment variables. I could give it a stab to create a PR if that sounds acceptable.
The text was updated successfully, but these errors were encountered: