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

Multiple projects that share the same root index.html #193

Open
timclemons opened this issue Oct 30, 2020 · 3 comments
Open

Multiple projects that share the same root index.html #193

timclemons opened this issue Oct 30, 2020 · 3 comments

Comments

@timclemons
Copy link

timclemons commented Oct 30, 2020

I have several closely-related libraries where it would be nice to have a common set of docs for them. I'm currently using lein sub codox to generate these docs but I was wondering if there was a way to aggregate the outputs of these into a common folder with a index.html file which lists all the projects in a sidebar.

@weavejester
Copy link
Owner

Nothing that automatically does this, but you could write your own index page and use the HTML transformation options to incorporate the upddated sidebar into the docs of the subdirectories.

@dcarley
Copy link

dcarley commented Nov 18, 2020

If they're all "sub-projects" (with lein-sub or lein-modules) then you can use the same approach as Pedestal: https:/pedestal/pedestal/blob/166d788dc0c6a40184bb4c105c100db803235df8/project.clj#L25-L46

@timclemons
Copy link
Author

@dcarley Interesting, I think that might just do the trick. Thanks for the tip!

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