-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Multi-project yaml syntax #11238
Comments
Some time ago, I tried to build this project on Read the Docs to try out its complexity 😄 . I was able to and it's done at https://beta.readthedocs.org/projects/sphinx-themes/ and hosted at https://sphinx-themes.readthedocs.io/en/latest/. I did not need anything special other than
This solution sounds pretty complex to me and requires rewriting the whole config file together with rewriting a lot of Read the Docs internals that's based on "one project per sub-project" and the relations between them. I'm not visualizing this as doable at this point, honestly 😄 I will leave this issue open in case you (or anyone else) want to provide more feedback here. Otherwise, I will close it as not planned in the next following weeks. |
Oh, awesome, mind if I advertise it there?
Agreed it is quite complex, but I think it could be useful, e.g. a project might want to version-wheel only the relevant API documentation (served as a subproject with For now the first support could exclude any sub-project management, and simply consider supporting reading a sub-project from the yaml:
The idea is not to bump There also is another intermediate solution, where you have multiple |
Note that we have already talked about project setting defined in the YAML file and it's a pretty hard problem to solve and that's why we haven't build it. See the discussion in #9188
This is currently possible using subprojects and a custom YAML path.
What kind of interaction are you talking about here between Read the Docs and GH actions? |
For the first implementation, I am not considering having project settings inside yaml. The first implementation would still have all project settings in the web UI, but allow for (sub-)project override of the options that are already defined. in the schema. Indeed multiple custom yaml paths would be equivalent but a bit cumbersome to manage.
|
What's the problem this feature will solve?
I was looking at sphinx-themes.org and was considering if the build system can be simplified and automated with RTD. If the sub-projects can be managed by the yaml, I think that is indeed doable.
This could help in other project situations where the documentation is sphinx based, but there are other systems for the main website or components, e.g. a static html page or a myst article.
Describe the solution you'd like
Expand the yaml syntax to allow for a
project
dictionary, where all of the inner components have the same json schema (minusversion
, etc.) as the current schema.If the yaml file contains
project
, than the UI interface should be grayed out unless requested tooverride
, at which point only theproject./
or top-level schema is readAdding/Deleting subprojects would be tricky in such cases though, but any automation that the user would create would probably be worse.
Alternative solutions
Expose the specific sub-project build through a GH action interface. Relevant issue
The text was updated successfully, but these errors were encountered: