You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Muralidhar Basani (Jira)" <ji...@apache.org> on 2026/05/05 19:11:00 UTC
[jira] (KAFKA-20541) Duplicate generated folder in kafka-site
[ https://issues.apache.org/jira/browse/KAFKA-20541 ]
Muralidhar Basani deleted comment on KAFKA-20541:
-------------------------------------------
was (Author: muralibasani):
[~mimaison]
Pls let me know if the below approach is better to handle this situation.
Yea, currently there are a few empty files in content/en/42/generated.
Move files from static/42/generated to content/en/42/generated. (With this, generated dir will be deleted from static)
A little mount config change in hugo.yml /42/generated/ pointing to content/en/42/generated/. This will keep the connect_rest.yaml downloadable file url as is.
include-html (shortcode) also to be pointed to new content location and fallback to static/<v>/generated/ so versions prior to 4.2 keep working as well.
Finally update the release playbook, so for 4.3 onwards, we can keep the generated/ with the docs. We don't have to copy it to the static folder.
With this, there are no URL changes and everything works the same way. Pages, downloads, urls, etc
I tested this locally and it works.
> 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)