Rebuild website
1 file changed
tree: 28f29dd7332ddc49f3aca71dc9518102ad88c4e6
  1. _data/
  2. _includes/
  3. _layouts/
  4. _plugins/
  5. _posts/
  6. blog/
  7. content/
  8. contributing/
  9. css/
  10. fonts/
  11. img/
  12. js/
  13. q/
  14. visualizer/
  15. .asf.yaml
  16. .gitignore
  17. .htaccess
  18. _config.yml
  19. build.sh
  20. community.md
  21. community.zh.md
  22. doap_flink.rdf
  23. docker-build.sh
  24. documentation.md
  25. downloads.md
  26. downloads.zh.md
  27. ecosystem.md
  28. ecosystem.zh.md
  29. favicon.ico
  30. flink-applications.md
  31. flink-applications.zh.md
  32. flink-architecture.md
  33. flink-architecture.zh.md
  34. flink-operations.md
  35. flink-operations.zh.md
  36. Gemfile
  37. gettinghelp.md
  38. gettinghelp.zh.md
  39. googleae6c28c3c24290e6.html
  40. index.md
  41. index.zh.md
  42. introduction.html
  43. LICENSE
  44. material.md
  45. material.zh.md
  46. poweredby.md
  47. poweredby.zh.md
  48. project.md
  49. README.md
  50. roadmap.md
  51. roadmap.zh.md
  52. security.md
  53. security.zh.md
  54. slides.md
  55. stateful-functions.md
  56. stateful-functions.zh.md
  57. training.md
  58. training.zh.md
  59. usecases.md
  60. usecases.zh.md
README.md

flink-web

This repository contains the Flink website: https://flink.apache.org/.

You can find instructions for contributing to this repository here: https://flink.apache.org/contributing/improve-website.html.

Testing changes locally

You can build the website using Docker (without changing your host environment) by using the provided script as shown below. Parameters passed as part of this call will be forwarded to build.sh. The -i option can be used to enable incremental builds.

# starts website with future posts disabled
./docker-build.sh -p

# starts website including future posts
./docker-build.sh -f

Both commands will start a web server hosting the website via http://0.0.0.0:4000.

If a newly added blog post does not show up in the blogs overview page, build the website again without the -i option. You can also try deleting the “/content” directory before building the page locally. The entire “/content” directory will be regenerated and include the newly added blog post.

Building the website

The website needs to be rebuilt before being merged into the asf-site branch. When doing so, please do not use incremental builds.

You can execute the following command to rebuild non-incrementally:

docker-build.sh