| commit | 1baa33efe5145d6514da2e33725d5a294896d1fd | [log] [tgz] |
|---|---|---|
| author | Christo Lolov <lolovc@amazon.com> | Mon Oct 13 14:13:57 2025 +0100 |
| committer | GitHub <noreply@github.com> | Mon Oct 13 14:13:57 2025 +0100 |
| tree | ba1802c97bf30a890fafb6ad3e1c8d5f063b036e | |
| parent | da6d33ec2141cc701be4f453c2a95ef3b9694f5b [diff] |
MINOR: Add 4.0.1 docs (#719)
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.