-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
XML output for dot file uses relative path in 1.9.3 #9171
Comments
In principle it is very bad to use absolute paths as when moving / copying files the absolute path reference might get lost. Furthermore the original file might not be present anymore or might have changed between the time of the doxygen run en the post processing. By copying the file to the XML directory the situation as defined during the the doxygen run is saved. I think the problem is in breathe, breathe should support relative paths and absolute paths. |
Thanx for clarifying the behavior. I wasn't sure if the change to relative paths was intended. One last question: Given your response, I assume it is relative to the XML file (not the XML_OUTPUT). I want to be sure in case doxygen decides to offer the ability to use sub-directories in the XML output path (maybe it does already & I'm unaware). |
Good question:
especially in relation to the
so this is relative to |
I was just thinking that the position of the "dotfile" should actually be documented, though where? Some thoughts:
My preference in this case would be to place it in the @doxygen what do you think? |
Well, I didn't mean to spark another discussion. @albert-github Thanks for the answer. I'll stay subscribed, but I won't close this myself. Please close this issue when you feel the documented location of the dotfile is resolved (or it could be a separate thread). |
In my comment #9171 (comment) I wrote some ideas by head, later on I was thinking there should be some more structured way and it looks like there is by means of So our construct would look like:
So I think my previous comment is a bit outdated and we should have a look at this standard possiblity. |
Documenting in the xsd source file where the mentioned file will be placed.
I've just pushed a proposed patch, pull request #9178, not with the element but with the definition of the type ( |
Issue #9171 XML output for dot file uses relative path in 1.9.3
Code has been integrated in master on GitHub (please don't close the issue as this will be done at the moment of an official release). It is possible that more places need some explanation, suggestions are welcome. |
This issue was previously marked 'fixed but not released', |
Describe the bug
A recent change in v1.9.3 causes the dot file to be copied to the XML output folder. The dot file's path in XML now uses a relative path, where it used to be an absolute path.
This path change is breaking breathe's ability (the sphinx extension) to find the dot file and in turn pass it to the dot tool.
Expected behavior
Please switch back to using an absolute path. I don't care if it points to the copied dot file in the XML folder or the originally specified dot file.
To Reproduce
dot_graphs.zip
Version
1.9.3 (c0b9eaf)
Additional context
I'm currently looking to workaround this problem in the sphinx extension, breathe - paths used for sphinx vs paths used for doxygen might be impossible to resolve effectively. Since this is a version change specific to doxygen, I figured I'd raise the issue here.
The text was updated successfully, but these errors were encountered: