yeslogic / prince-docs

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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


Languages

Language:XSLT 47.1%Language:CSS 17.2%Language:Python 12.0%Language:HTML 11.4%Language:JavaScript 9.7%Language:Makefile 2.4%Language:Dockerfile 0.2%