[
https://issues.apache.org/jira/browse/KAFKA-20541?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18087091#comment-18087091
]
ASF GitHub Bot commented on KAFKA-20541:
----------------------------------------
muralibasani commented on PR #856:
URL: https://github.com/apache/kafka-site/pull/856#issuecomment-4653700706
> If it's expected to work both ways, can you clarify why 4.2 is treated as
a one off?
Both ways work in the sense that files exist in either
content/en/<v>/generated/ or static/<v>/generated/ , pick one.
4.2 is the only version where files exist in both dirs (real files and empty
stubs). And to prevent that catch-all from serving those empty stubs, we added
excludeFiles config
https://github.com/apache/kafka-site/pull/856/changes#diff-5928f4025679c9eee397ca3795367f71f667ce1f25018b7f7ae7c574da1f2f08R524
And per your earlier comment, we left 4.2 untouched in this PR.
> Duplicate generated folder in kafka-site
> ----------------------------------------
>
> Key: KAFKA-20541
> URL: https://issues.apache.org/jira/browse/KAFKA-20541
> Project: Kafka
> Issue Type: Bug
> Components: website
> Reporter: Mickael Maison
> Assignee: Muralidhar Basani
> Priority: Major
>
> We have the generated content under both:
> - content/en/<VERSION>
> - static/<VERSION>
> For example:
> https://github.com/apache/kafka-site/tree/markdown/content/en/42/generated
> https://github.com/apache/kafka-site/tree/markdown/static/42/generated
--
This message was sent by Atlassian Jira
(v8.20.10#820010)