Skip to content

Latest commit

 

History

History
76 lines (50 loc) · 1.75 KB

README.md

File metadata and controls

76 lines (50 loc) · 1.75 KB

Project documentation module

Documentation for GeoNetwork opensource is available via https://geonetwork-opensource.org. This manual is included in each build in the docs folder as a git submodule.

This documentation is written under the creative commons license Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0).

GeoNetwork Logo

Writing Guide

Check the "Writing documentation" guide.

Build

To quickly build the English docs:

make html_eng

A build of the documentation (defaulting to English and French):

mvn package

The latest Maven profile updates the translations from Transifex (this will take some time).

mvn generate-resources -Platest

These can be used together:

mvn package -Platest

To use all languages:

mvn package -Platest -Pall

A subset of languages (for example: English, French and Spanish):

mvn package -Platest -Dlangs='"en" "fr" "es"' -Dtranslations='en,fr,es'

Before you start

The Maven build above makes use of the Transifex command line client tx:

Prior to use you will need to generate and API key:

If you have never used tx before you will need to run it once interactively to install the API key:

tx pull --language='fr'
[?] Enter your api token:

Another option is to generate manually the file ~/.transifexrc including your API token:

[https://www.transifex.com]
api_hostname = https://api.transifex.com
hostname = https://www.transifex.com
password = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
username = api