Replies: 9 comments
-
|
If the generator code is not heavy, I support option 1 so that it's synchronous with the main codebase. |
Beta Was this translation helpful? Give feedback.
-
|
I also support option 1. It is self contained. |
Beta Was this translation helpful? Give feedback.
-
|
@Ma77Ball @aglinxinyuan @bobbai00 @kunwp1 @Xiao-zhen-Liu @mengw15 @aicam and others: your thoughts? |
Beta Was this translation helpful? Give feedback.
-
|
I like option 1. |
Beta Was this translation helpful? Give feedback.
-
|
I also support option 1 |
Beta Was this translation helpful? Give feedback.
-
|
Option 1 is ok given the build dependencies. Worth noting, though, Flink and Spark don’t just keep docs in their main repo; they keep the entire website there (themes, config, layouts) and sync the built output to a separate site repo. It seems a big reason for this is versioning: keeping docs alongside code means each release branch has the correct docs, which is harder to manage if the generator lives in the site repo. They still deal with the same cross-repo sync overhead listed as a con here. |
Beta Was this translation helpful? Give feedback.
-
|
I support option 1 as well because it's hard to sync if we go with option 2. |
Beta Was this translation helpful? Give feedback.
-
|
I support option 1. |
Beta Was this translation helpful? Give feedback.
-
|
@xuang7 and all: we have enough support for option 1. So let's go with this option. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone, as we are preparing the first version of the operator documentation, we would like to get feedback on where to host the scripts that generate it.
Background
The generator is fairly tightly coupled with the main repo's operator code. It relies on JVM reflection over operator classes, reads Jackson and schema-related annotations, uses runtime-generated JSON schema metadata such as propertyOrder, and directly depends on compiled operator classes on the classpath.
We are currently considering two options:
Option 1: Main repo (e.g. under /docs)
Option 2: Texera site repo
From a quick look at projects such as Flink, Spark, and Airflow, the general pattern seems to be that documentation is built close to the source code it depends on, while the site repo mainly acts as a publishing target. That seems more aligned with Option 1.
Any feedback or alternative suggestions would be very welcome. Thanks.
Beta Was this translation helpful? Give feedback.
All reactions