-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update readme to reflect build steps * Add ccbya license to pom and repository to reflect footer used in docs * Consistently build english and french as the default * Seperate properties for translations to download, and languages to build * All profile is now only responsible for defining translations to download and langues to build * Disable colored output for build server * Remove unused _build/locale folder * Ignore Visual Studio Code and DS_Store files Signed-off-by: Jody Garnett <[email protected]>
- Loading branch information
1 parent
c93cd29
commit 07beec0
Showing
173 changed files
with
197 additions
and
15,218 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,3 +7,5 @@ _build/locale/.doctrees | |
_build/html | ||
source/locale | ||
translations | ||
.DS_Store | ||
.vscode |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,66 @@ | ||
# Project documentation module | ||
|
||
Check the ["Writing documentation" guide](https://geonetwork-opensource.org/manuals/3.8.x/en/contributing/writing-documentation.html). | ||
Documentation for GeoNetwork Opensource available via https://geonetwork-opensource.org. | ||
This manual is included in each build in the `docs` folder as a git submodule. | ||
|
||
This documentation is supports open access using a [Attribution-ShareAlike 3.0 Unported (CC BY-SA 3.0)](LICENSE.md). | ||
|
||
![GeoNetwork Logo](source/_static/GN3.png "GeoNetwork") | ||
|
||
# Writing Guide | ||
|
||
Check the ["Writing documentation" guide](https://geonetwork-opensource.org/manuals/3.8.x/en/contributing/writing-documentation.html). | ||
|
||
# Build | ||
|
||
The `latest` maven profile updates the translations from Transifex. | ||
To quickly build the english docs: | ||
|
||
Documentation for all languages: | ||
``` | ||
make html_eng | ||
``` | ||
|
||
A build of the documentation (defaulting to English and French): | ||
|
||
``` | ||
mvn package -Pall,latest | ||
mvn package | ||
``` | ||
|
||
Documentation for English and French: | ||
The `latest` maven profile updates the translations from Transifex (this will take some time). | ||
|
||
``` | ||
mvn generate-resources -Platest | ||
``` | ||
|
||
These can be 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"' | ||
``` | ||
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`: | ||
|
||
* https://docs.transifex.com/client/introduction | ||
|
||
Prior to use you will need to generate and API key: | ||
|
||
* https://www.transifex.com/user/settings/api/ | ||
|
||
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: | ||
``` |
66 changes: 0 additions & 66 deletions
66
_build/locale/administrator-guide/configuring-the-catalog/csw-configuration.pot
This file was deleted.
Oops, something went wrong.
22 changes: 0 additions & 22 deletions
22
_build/locale/administrator-guide/configuring-the-catalog/index.pot
This file was deleted.
Oops, something went wrong.
107 changes: 0 additions & 107 deletions
107
_build/locale/administrator-guide/configuring-the-catalog/inspire-configuration.pot
This file was deleted.
Oops, something went wrong.
70 changes: 0 additions & 70 deletions
70
_build/locale/administrator-guide/configuring-the-catalog/map-server-configuration.pot
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.