muralibasani commented on PR #856: URL: https://github.com/apache/kafka-site/pull/856#issuecomment-4695660934
> Sorry but as I said in [#856 (comment)](https://github.com/apache/kafka-site/pull/856#issuecomment-4371428908), when building the docs the `generated` folder is in the artifact that we put under `content/en`. So I think it would be better to pick it from there. > > Currently `generated` is picked from `static`. So we want to: > > * delete the `generated` copy under `static/42`, 42 currently has a copy under `content/en` > * move the `generated` folder of 43 under `content/en` > > Does that make sense? Yes. 1. Moved `generated/` from `static/42/` and `static/43/` into `content/en/42/generated/` and `content/en/43/generated/`. (For 4.2: the previously-existing `content/en/42/generated/` was empty stubs that I deleted in the last commit; this step moved the real files from `static/` into that location.) 2. Updated the include-html shortcode to read from the content path, with a fallback to /static/<v>/ for pre-4.2 versions so we don't need to touch their markdown. (older versions (07–41) keep working without any markdown edits.) 3. Kept the catch-all mount so /<v>/generated/connect_rest.yaml urls still work. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
