This repository contains the source for the Github generated GeoServer home page.
If you stumble into any issue with the GeoServer web site please report it in our Jira issue tracker.
The site is built with Jekyll.
Before you start:
gem install bundler jekyll jekyll-feed
To perform a single build of the site:
jekyll build
The site contents will result in the _site
directory.
Jekyll can also be run in "watch" mode for development:
jekyll serve -w
The site contents will be served at http://localhost:4000.
When a release is performed the site contents are updated to reflect the new release. Below is the process of updating site contents for a stable release.
-
Update
release/stable/index.html
with the details of your new release. Theversion
,jira_version
, andrelease_date
should all be updated. The value forjira_version
can be found by navigating to that version on Jira and examining the URL. For example, for example,2.7.2
links tohttps://osgeo-org.atlassian.net/projects/GEOS/versions/10601
, giving ajira_version
of10601
. For a maintenance or development release, instead modifyrelease/maintain/index.html
orrelease/dev/index.html
respectively. -
Update the value of
jira_version
inrelease/2.7.x/index.html
to be the same as the next release. -
Copy stable to the appropriate version number (so your blog post has something to link to). For example if the
version
is2.7.2
make a copy using:cp -r release/stable release/2.7.2
For a maintenance or development release, instead copy
release/maintain
orrelease/dev
respectively. -
Update
_config.yml
and update thestable_version
property to the current version. This change will be reflected inindex.html
anddownload/index.html
. For a maintenance or development release, instead changemaintain_version
ordev_version
respectively. -
Update the
download/index.html
by adding your new page to the list of releases. To find this list, do a text search forreleases
. You should find a section that looks like this:<ul class="list-inline"> <li><a href="/release/2.10.5">2.10.5</a></li> <li><a href="/release/2.10.4">2.10.4</a></li> <li><a href="/release/2.10.3">2.10.3/a></li> </ul> <ul class="list-inline"> <li><a href="/release/2.10.2">2.10.2</a></li> <li><a href="/release/2.10.1">2.10.1</a></li> <li><a href="/release/2.10.0">2.10.0/a></li> </ul> <ul class="list-inline"> <li><a href="/release/2.10-RC1">2.10-RC1</a></li> <li><a href="/release/2.10-beta">2.10-beta</a></li> <li><a href="/release/2.10-M0">2.10-M0</a></li> </ul>
There are seperate sections for
stable
andmaintenance
. Ensure you have the right section, then add a line to the top of the list for your version. Try to keep the lists balanced, and limit each list to no more than 4 items - create a third list row if necessary. Isolate milestones, beta and RC on their own row if you can.
When publishing a milestone, beta or release candidate:
-
There is also a special section for
development
we only provide links to milestone, beta and release candidates. These releases are being made available for testing but are not recommended for production use. -
Create a new
_layouts/release_<version>.html
template by copying the previous template and adding an entry for any new extensions that have been released on the new branch. -
Update
release/dev/index.html
to reflect the new branch, and change thedev_version
property in_config.yml
.
When creating the final release:
-
Change all the entries for
release/maintain/index.html
,release/stable/index.html
, andrelease/master/index.html
to reflect the new branch identities. -
Update the
stable_version
,maintain_version
in_config.yml
. Thedev_version
property in_config.yml
should be blank (as the development period is now over). -
When updating
download/index.html
, copy the currentmaintenance
section to thearchived
section, copy the currentstable
section to themaintenance
section, and update thestable
section with the releases from the new stable branch. -
Create the download page for nightly builds. For example, if creating the branch
2.13.x
, copyreleases/2.12.x/
toreleases/2.13.x
and updateindex.html
with the appropriate versions.