Configuration
By default, lingdocs
uses the config file shown below. The values in
it can be overridden by creating a file lingdocs.cfg
in the
directory where you are executing lingdocs
.
Output
General options relating to the produced output.
Formats
What formats should be built?
Preview
What format should be used for previewing.
README
Should a README.md file be created?
Layout
The layout of the produced document. Options: book
, article
, slides
.
CLDF data appendix
Create index and detail pages for database entities?
data
This feature is disabled by default. You can point this to a different CLDF metadata.json file
Rich data
Insert links to this data into the document? (Slow and currently only supported for MkDocs).
Light data
Only include entities referenced in document.
Interlinear examples
The default options can be overridden by specifying an argument, e.g. show_language=True
.
Show language
Show the language label?
Show first line
Show the Primary_Text line?
Source position
Where to place the source? after_translation / in_preamble
LFTS
Different kinds of entities whose schematic inline representation is:
The default options can be overridden by specifying an argument, e.g.show_language=True
.
Show language
Show free translation
Show source
Locations
CLDF dataset location
The path to the CLDF metadata file.
Output folder
The folder to which output is written.
Additional references
Path to a bibfile with references not contained in the dataset.
Adding audio
this folder needs to contain
LaTeX
LaTeX-specific settings.
Article template
The default template for the article layout.
Book template
The default template for the book layout.
Interlinear package
The preferred setup for interlinear examples in LaTeX.
mkdocs
Adding audio
Add a path to your audio base URL.
hypothes.is
Use hypothes.is for online annotation.
CLLD
Database location
URI to the database of your CLLD app, i.e. something like sqlite:///path/to/your/db.sqlite
.
html
hypothes.is
Use hypothes.is for online annotation.
Input
Sublime text
Generate data (in the docs folder) for the Sublime text plugin.
File prefix
How your filenames should be prefixed, if at all.
plain
Empty settings for plaintext format.
github
Empty settings for github format.
External media hosting
if your audio is stored on a media server, the base URL here will be used for audio links.