| commit | de82c8faa60039fdecb57915ed9543d84c2409b1 | [log] [tgz] | 
|---|---|---|
| author | Mickael Maison <mimaison@users.noreply.github.com> | Thu Sep 04 11:52:02 2025 +0200 | 
| committer | GitHub <noreply@github.com> | Thu Sep 04 11:52:02 2025 +0200 | 
| tree | 29b424f39902720d49e11e9ebe1f3eaf6424e5c2 | |
| parent | 7021dd2a9633017f288f71a320f2d6c2fd112aab [diff] | 
MINOR: Fix broken link in 4.1.0 blog post (#720)
The documentation can be hosted on a local webserver via httpd.
You can run it with the following command, note that it requires docker:
./start-preview.sh
Then you can open localhost:8080 on your browser and browse the documentation.
To kill the process, just type ctrl + c.
# change directory into kafka repository cd KAFKA_REPO ./gradlew clean siteDocTar # supposing built with scala 2.13 tar zxvf core/build/distributions/kafka_2.13-$(./gradlew properties | grep version: | awk '{print $NF}' | head -n 1)-site-docs.tgz
# change directory into kafka-site repository cd KAFKA_SITE_REPO # copy the generated documents into dev folder rm -rf dev mkdir dev cp -r KAFKA_REPO/site-docs/* dev # preview it ./start-preview.sh
Then you can open http://localhost:8080/dev/documentation/ on your browser and browse the generated documentation.