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

Output multiple files (f.e. one doc file per source file) #45

Open
trusktr opened this issue Aug 22, 2019 · 0 comments
Open

Output multiple files (f.e. one doc file per source file) #45

trusktr opened this issue Aug 22, 2019 · 0 comments

Comments

@trusktr
Copy link

trusktr commented Aug 22, 2019

Any thoughts on how to do it?

I am thinking of a few options:

  1. add ability to leafdoc to output to separate files, one per source file, so that it keeps context across all files.
  2. Write to a single file (or stdout), and have a secondary process split files based on some delimiter (maybe also the path/filename.ext included by the delimiter too, for outputting files in the same structure). This would also maintain context across files.
  3. Invoke leafdoc on each file separately, but this currently loses context (from what I can tell). We'd need a way to link across files. Maybe we can treat names as paths to other files, and have only a single class per file? That would be somewhat restrictive and performance heavy though. Hmmm 🤔
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

1 participant