Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

4. Please commit the generated site (./content) together/after with the source changes. Both the sources (./src) and both the generated site (./content) are on the same branch (asf-site). Just commit everything from your local working copy. The generation of the site is not automatic (yet), but you need to render the site and commit the rendered site, too.

Create a new releases

To create a new item on the hadoop site just create a new markdown file with the standard header and put it to the src/releases folder. For example:

...

Please note, the linked: true attribute in the header. Only the linked releases will be available from the menu. Most probably you would like to remove this attribute from the previous release file.

Sparse checkout

The repository contains a lot of javadoc files. If you would like to modify only the site content you can do a sparse checkout with the following command:

...

echo '!content/docs' >>  .git/info/sparse-checkout
git checkout asf-site

Git log without the content

The repository containers both the source and the rendered version of the site. If you are interested about the pure change in the source side, you can use git log with an exclude pattern:

...