tree: 112564d3261de2eb647f9260ee16d83a7bae0b48 [path history] [tgz]
  1. _layouts/
  2. _plugins/
  3. css/
  4. img/
  5. quickstart/
  6. _config.yml
  7. build_docs.sh
  8. building.md
  9. cli.md
  10. cluster_execution.md
  11. cluster_setup.md
  12. coding_guidelines.md
  13. config.md
  14. example_connectors.md
  15. faq.md
  16. hadoop_compatability.md
  17. how_to_contribute.md
  18. index.md
  19. internal_add_operator.md
  20. internal_distributed_runtime.md
  21. internal_general_arch.md
  22. internal_job_scheduling.md
  23. internal_operators_and_memory.md
  24. internal_optimizer.md
  25. internal_overview.md
  26. internal_program_life_cycle.md
  27. iterations.md
  28. java_api_examples.md
  29. java_api_guide.md
  30. java_api_quickstart.md
  31. java_api_transformations.md
  32. local_execution.md
  33. local_setup.md
  34. README.md
  35. run_example_quickstart.md
  36. scala_api_examples.md
  37. scala_api_guide.md
  38. scala_api_quickstart.md
  39. setup_quickstart.md
  40. slot_based_scheduling.jpg
  41. spargel_guide.md
  42. state_machine.jpg
  43. web_client.md
  44. yarn_setup.md
docs/README.md

This README gives an overview of how to build and contribute to the documentation of Apache Flink.

The documentation is included with the source of Apache Flink in order to ensure that you always have docs corresponding to your checked out version. The online documentation at http://flink.incubator.apache.org/ is also generated from the files found here.

Requirements

We use Markdown to write and Jekyll to translate the documentation to static HTML. You can install all needed software via:

gem install jekyll
gem install redcarpet
sudo easy_install Pygments

Redcarpet is needed for Markdown processing and the Python based Pygments is used for syntax highlighting.

Build

The docs/build_docs.sh script calls Jekyll and generates the documentation to docs/target. You can then point your browser to docs/target/index.html and start reading.

If you call the script with the preview flag build_docs.sh -p, Jekyll will start a web server at localhost:4000 and continiously generate the docs. This is useful to preview changes locally.

Contribute

The documentation pages are written in Markdown. It is possible to use the GitHub flavored syntax and intermix plain html.

In addition to Markdown, every page contains a front matter, which specifies the title of the page. This title is used as the top-level heading for the page.

---
title: "Title of the Page"
---

Furthermore, you can access variables found in docs/_config.yml as follows:

{{ site.FLINK_VERSION_STABLE }}

This will be replaced with the value of the variable when generating the docs.

All documents are structed with headings. From these heading, an page outline is automatically generated for each page.

# Level-1 Heading
## Level-2 Heading
### Level-3 heading
#### Level-4 heading
##### Level-5 heading