Skip to content

This repository holds the documentation for Prince, a powerful converter from Web Standards to PDF. (https://www.princexml.com)

Notifications You must be signed in to change notification settings

yeslogic/prince-docs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prince Documentation

This is the repository of the Prince documentation, built with the Docusaurus v1 framework.

The CSS properties are however stored outside of the Docusaurus framework, in order to preserve the XML format for the properties' documentation, which is located in ./website/properties.

The properties need a special, preliminary step to be created, before creating the Docusaurus documentation - you first need to run make in the ./website/properties folder.

There are some little requirements for this:

  • The Jing RELAX NG validator
  • Python
  • the xsltproc XSLT processor

(Hint: If really need be, you could do without Jing, just fix your Makefile.)

Also the rasterized Page Region image is generated outside of the Docusaurus framework - you first need to run make in the ./website/samples folder. Having Prince installed is a requirement.

Both makefiles are called from the Makefile in the ./website folder. To start the fully set up documentation, instead of just yarn start, you run the following command from the ./website folder:

    $ make && yarn start