-
Notifications
You must be signed in to change notification settings - Fork 126
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
Handle Multiple Repositories with Yaydoc #160
Comments
@pri22296 @Sch00lb0y Ideas? |
I was doing research on this. we can clone all the repository doc and we'll create an index documentation page in which create a relation to all the documentation and we generate documentation using that |
I think we need functionality similar to http://docs.readthedocs.io/en/latest/subprojects.html. To achieve this, we may take a list of subprojects and their docpath's as input. we would copy the respective subproject's docpath as a subfolder of the master project's docpath. we'll also need to generate a proper index.rst(this might be left for now. for now let's expect users to fill the index.rst appropriately). |
A new repository for documentation or the master repository with docs deployed in |
What would be the flow now? |
I vote for the the first approach.
could you elaborate? |
Where should the documentation generated be published? :) |
The user would have to create a new repository to act as a holder project(like dev.loklak.org) and use yaydoc on the master project. Now building the holder project, would also clone all it's sub-projects and the generated documentation would be published to the ghpages branch of the holder project. |
Ok! So that means, the travis configuration will exist in the holder project. It will have the information about the repositories that will be cloned. |
What if a project doesn't have any master repository? |
User would need to create one. I can't think of any other way. |
if the user doesn't have a master repository, then the documentation repository will have the markdown for the start page. |
Nopes.
care to explain this part? |
Check this loklak/dev.loklak.org#2 |
cool. Let's say i have 3 projects
I would setup yaydoc in projectA and set projectA-sub1 and sub2 as the sub projects. In this case there would no need to create a holder project. But if the three projects are totally unrelated, but i want them under a single domain, in that case a seperate holder project would be required. Makes sense? edit |
Yes! |
can we have this as two issues like web UI implementation and Travis implementation? so that we can split the work. @imujjwal96 @pri22296 |
As decided, we will first work on the Travis implementation. There is no need to create a separate issue yet. |
Let's start with the project that requires creation of a Holder repository. I have this organisation https://github.com/BrimeNotes We can use it for the development. |
#160 (comment) |
I read about it and it seems search wouldn't work with it. but I didn't test it. I'll test it today. update |
How should we start now? |
Yep. Also the config.py file would need to be modified accordingly. I'll submit a PR for that by today. what should be the environment variable's format?? |
Since you both working on Travis implementation so, I'll work on WEBUI implementation. it'll boosts the development speed as well. |
As this is a big issue, I agree with #160 (comment) . Let's create seperate issues. Let's keep this issue as a parent issue for tracking overall development. This would help us avoid situations like #169 (comment) |
Situations like that wouldn't have raised if Scrums of peers would've been checked. |
…tiple repository in WEBUI
…tiple repository in WEBUI
…tiple repository in WEBUI
…tiple repository in WEBUI
…tiple repository in WEBUI
…tiple repository in WEBUI
…tiple repository in WEBUI
…tiple repository in WEBUI
…tiple repository in WEBUI
This is a
Description
Currently, yaydoc can only generate and deploy documentation of a project hosted in a single repository.
Since there are multiple open source projects that are not limited to only a single repository, and have multiple subprojects that are dependent on a master project, we need yaydoc to be competent Enugu to generate a single static website for their documentation.
References:
#144 (comment)
The text was updated successfully, but these errors were encountered: