Skip to content
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

Duplicated output upon rebuild #32

Open
hidmic opened this issue Sep 21, 2021 · 4 comments
Open

Duplicated output upon rebuild #32

hidmic opened this issue Sep 21, 2021 · 4 comments

Comments

@hidmic
Copy link
Collaborator

hidmic commented Sep 21, 2021

Rebuilding a package's documentation with rosdoc2 build using the same build and cross-reference directories induces duplication warnings. These warnings go away after nuking said directories.

Should rosdoc2 do some housekeeping before generating output?

@clalancette
Copy link
Contributor

Should rosdoc2 do some housekeeping before generating output?

Yeah, I'd be on board with that. Though we have to be careful to only do that housekeeping on very specific directories; we want users to invoke rosdoc2 several times on different packages to build up a whole database of API documentation.

@aprotyas
Copy link
Contributor

Housekeeping in the sense that if rosdoc2 build --package-path P --build-directory B --cross-reference-directory C were invoked, we'd want to prune B/P and C/P given they exist, right? If so, that sounds reasonable.

@hidmic
Copy link
Collaborator Author

hidmic commented Sep 21, 2021

@aprotyas right, that'd be an option. I haven't dug enough to know how much can be reused.

@aprotyas
Copy link
Contributor

Yes, it would be nice to re-use some things. IIRC, the doxygen artifacts (XML tags, etc.) don't get duplicated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants