Apache XML Graphics Website

Clone this repo:
  1. 37a3be1 Add Contributors by Simon Steiner · 3 days ago master
  2. a66447a Add fop 2.12 and batik 1.20 by Simon Steiner · 3 days ago
  3. 28a9872 Use mvn for upload by Simon Steiner · 3 days ago
  4. 8967ce9 Use a table on security page by Simon Steiner · 3 days ago
  5. 66a70e4 FOP-3359 Update committers page by Joao Goncalves · 8 days ago

Apache XML Graphics website

Source for the Apache XML Graphics website (FOP, Batik and XML Graphics Commons). The site is built with Pelican from the Markdown (.mdtext) files under content/.

Prerequisites

  • Python 3

  • The build dependencies:

    pip install -r requirements.txt
    

Build and preview locally

  1. Build the site into output/:

    pelican content -s pelicanconf.py -o output
    
  2. Serve output/ over HTTP on port 8000:

    pelican -l -o output -s pelicanconf.py
    
  3. Open the site in your browser, for example:

While editing, you can build, serve and auto-rebuild on changes in one command (then just refresh the browser):

pelican -lr content -s pelicanconf.py -o output

Note: SITEURL is empty and RELATIVE_URLS is off, so pages use root-relative links (/fop/..., /images/...). Open the pages through the local HTTP server above rather than with file://, otherwise links, CSS and images will not resolve. (Setting RELATIVE_URLS = True in pelicanconf.py makes file:// work, but serving over HTTP matches the live site.)

Layout

  • content/ — the page sources (content/fop/, content/batik/, content/commons/, ...)
  • theme/ — templates and static assets
  • pelicanconf.py — Pelican configuration (current versions, Markdown setup)
  • output/ — generated site (not committed)