[
https://issues.apache.org/jira/browse/KAFKA-21289?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Omnia Ibrahim updated KAFKA-21289:
----------------------------------
Summary: release.py stage-docs writes documentation to the pre-Hugo flat
layout instead of the KIP-1133 Hugo layout (was: elease.py stage-docs writes
documentation to the pre-Hugo flat layout instead of the KIP-1133 Hugo layout)
> release.py stage-docs writes documentation to the pre-Hugo flat layout
> instead of the KIP-1133 Hugo layout
> ----------------------------------------------------------------------------------------------------------
>
> Key: KAFKA-21289
> URL: https://issues.apache.org/jira/browse/KAFKA-21289
> Project: Kafka
> Issue Type: Bug
> Components: release, tools
> Reporter: Omnia Ibrahim
> Assignee: Omnia Ibrahim
> Priority: Major
>
> |{{command_stage_docs()}} in {{release.py}} never got updated for the
> KIP-1133 Hugo migration. It still checks for {{powered-by.html}} to decide if
> the path given is actually kafka-site, and it dumps everything into a flat
> {{kafka-site/<version>/}} dir — neither of those exist anymore now that
> kafka-site is Hugo-based ({{{}content/en/<version>{}}} for markdown,
> {{static/<version>}} for javadoc/images). So right now {{stage-docs}} either
> bails on the sentinel check or writes docs somewhere Hugo never looks at.|
--
This message was sent by Atlassian Jira
(v8.20.10#820010)