commit | 7c21bef2f9f32dee965a79f9243e49eafb354d81 | [log] [tgz] |
---|---|---|
author | Igor Soarez <i@soarez.me> | Sun Jun 30 23:31:52 2024 +0200 |
committer | GitHub <noreply@github.com> | Sun Jun 30 22:31:52 2024 +0100 |
tree | 176baa4486251c29b65dc2d4159956082ac54aa0 | |
parent | 6de540aedec66d2d044655a9c1383ecae05d1dc3 [diff] |
Add blog post for 3.7.1 (#605)
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.