Skip to content

geonetwork/doc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Archived GeoNetwork sphinx-build documentation module

This repository is archived and the changes won't be published in the GeoNetwork website anymore

This repository contains archived reStructured text documentation for GeoNetwork 4.2, 3.12, and 2.10 releases.

The archived reStructuredText documentation is available here:

This content has migrated to markdown in the core-geonetwork repository:

License

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

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