/" $@ && rm "$@.bak"
diff --git a/doc/gfdoc/sources.html b/doc/gfdoc/sources.html
deleted file mode 100644
index 8cf40a006..000000000
--- a/doc/gfdoc/sources.html
+++ /dev/null
@@ -1,183 +0,0 @@
-
-
-
-
-More modules in the GF Resource Grammar Library
-
-
-More modules in the GF Resource Grammar Library
-
-
-
-back to synopsis
-
-
-Extra syntax modules
-
-
-These modules give language-specific extra constructs not available via the common API.
-
-
-common repository
-Romance (Cat, Fre, Ita, Spa)
-Scandinavian (Dan, Nor, Swe)
-
-
-Afrikaans
-Bulgarian
-Catalan
-Danish
-Dutch
-English
-Finnish
-French
-German
-Italian
-Norwegian
-Persian
-Polish
-Punjabi
-Romanian
-Russian
-Spanish
-Swedish
-
-
-Irregular verbs and other words
-
-
-These modules give lists of irregular words, mostly verbs. Their completeness varies.
-
-
-Catalan
-Danish
-Dutch
-English
-French
-German
-Norwegian
-Spanish
-Swedish
-Turkish
-
-
-Large-scale dictionaries
-
-
-These morphological dictionaries are extracted from open source lexica by using the resource grammar paradigms. The figures give the approximate number of lemmas.
-
-
-Bulgarian 53k
-English 43k
-Finnish 42k
-French 92k
-Swedish 43k
-Turkish 24k
-
-
-Abstract Syntax Modules
-
-
-These modules are for internal use of resource grammarians, but the comments give some more linguistic explanation of the different constructs.
-
-
-
-
-| module |
-contents |
-
-
-| Adjective |
-constructors for A, AP |
-
-
-| Adverb |
-constructors for Adv, AdV |
-
-
-| Cat |
-lincats of all categories |
-
-
-| Common |
-default lincats for string categories |
-
-
-| Conjunction |
-coordination rules |
-
-
-| Extra |
-constructs available in some languages only |
-
-
-| Grammar |
-everything except content lexicon |
-
-
-| Idiom |
-idiomatic constructions |
-
-
-| Lang |
-everything (Grammar and Lexicon) |
-
-
-| Lexicon |
-content word lexicon |
-
-
-| Noun |
-constructors for NP, CN, Det |
-
-
-| Numeral |
-constructors for Numeral and Digits |
-
-
-| Phrase |
-constructors for Phr, Utt |
-
-
-| Question |
-constructors for QS, QCl, IP |
-
-
-| Relative |
-constructors for RS, RCl, RP |
-
-
-| Sentence |
-constructors for S, Cl, SC |
-
-
-| Structural |
-structural word lexicon |
-
-
-| Symbol |
-mixtures of verbal and symbolic expressions |
-
-
-| Tense |
-common API tense system |
-
-
-| Text |
-constructors for Tex |
-
-
-| Verb |
-constructors for VP, VPSlash, Comp |
-
-
-
-The Module Dependency Tree
-
-
-
-
-
-
-
-
diff --git a/doc/gfdoc/sources.txt b/doc/gfdoc/sources.txt
index e4926fa9f..81ae4d3f2 100644
--- a/doc/gfdoc/sources.txt
+++ b/doc/gfdoc/sources.txt
@@ -3,33 +3,33 @@ More modules in the GF Resource Grammar Library
-[back to synopsis ../synopsis.html]
+[Back to synopsis ../synopsis/index.html]
==Extra syntax modules==
These modules give language-specific extra constructs not available via the common API.
-[common repository ../../src/abstract/Extra.gf]
-[Romance (Cat, Fre, Ita, Spa) ../../src/romance/ExtraRomanceAbs.gf]
-[Scandinavian (Dan, Nor, Swe) ../../src/scandinavian/ExtraScandAbs.gf]
+[common repository ../../src/abstract/Extra.gf]
+[Romance (Cat, Fre, Ita, Spa) ../../src/romance/ExtraRomanceAbs.gf]
+[Scandinavian (Dan, Nor, Swe) ../../src/scandinavian/ExtraScandAbs.gf]
-[Afrikaans ../../src/afrikaans/ExtraAfrAbs.gf]
-[Bulgarian ../../src/bulgarian/ExtraBulAbs.gf]
-[Catalan ../../src/catalan/ExtraCatAbs.gf]
-[Danish ../../src/danish/ExtraDanAbs.gf]
-[Dutch ../../src/dutch/ExtraDutAbs.gf]
-[English ../../src/english/ExtraEngAbs.gf]
-[Finnish ../../src/finnish/ExtraFinAbs.gf]
-[French ../../src/french/ExtraFreAbs.gf]
-[German ../../src/german/ExtraGerAbs.gf]
-[Italian ../../src/italian/ExtraItaAbs.gf]
-[Norwegian ../../src/norwegian/ExtraNorAbs.gf]
-[Persian ../../src/persian/ExtraPesAbs.gf]
-[Polish ../../src/polish/ExtraPolAbs.gf]
-[Punjabi ../../src/punjabi/ExtraPnbAbs.gf]
-[Romanian ../../src/romanian/ExtraRonAbs.gf]
-[Russian ../../src/russian/ExtraRusAbs.gf]
-[Spanish ../../src/spanish/ExtraSpaAbs.gf]
+[Afrikaans ../../src/afrikaans/ExtraAfrAbs.gf]
+[Bulgarian ../../src/bulgarian/ExtraBulAbs.gf]
+[Catalan ../../src/catalan/ExtraCatAbs.gf]
+[Danish ../../src/danish/ExtraDanAbs.gf]
+[Dutch ../../src/dutch/ExtraDutAbs.gf]
+[English ../../src/english/ExtraEngAbs.gf]
+[Finnish ../../src/finnish/ExtraFinAbs.gf]
+[French ../../src/french/ExtraFreAbs.gf]
+[German ../../src/german/ExtraGerAbs.gf]
+[Italian ../../src/italian/ExtraItaAbs.gf]
+[Norwegian ../../src/norwegian/ExtraNorAbs.gf]
+[Persian ../../src/persian/ExtraPesAbs.gf]
+[Polish ../../src/polish/ExtraPolAbs.gf]
+[Punjabi ../../src/punjabi/ExtraPnbAbs.gf]
+[Romanian ../../src/romanian/ExtraRonAbs.gf]
+[Russian ../../src/russian/ExtraRusAbs.gf]
+[Spanish ../../src/spanish/ExtraSpaAbs.gf]
[Swedish ../../src/swedish/ExtraSweAbs.gf]
@@ -93,8 +93,3 @@ These modules are for internal use of resource grammarians, but the comments giv
==The Module Dependency Tree==
[Syntax.png]
-
-
-
-
-
diff --git a/doc/synopsis/.gitignore b/doc/synopsis/.gitignore
deleted file mode 100644
index b0e9b0a7b..000000000
--- a/doc/synopsis/.gitignore
+++ /dev/null
@@ -1,6 +0,0 @@
-index.txt
-index.html
-api-examples-*.txt
-api-examples.gfs
-categories-imagemap.html
-categories.png
diff --git a/doc/synopsis/intro.txt b/doc/synopsis/intro.txt
index fea2adbbc..96da1f27d 100644
--- a/doc/synopsis/intro.txt
+++ b/doc/synopsis/intro.txt
@@ -68,7 +68,7 @@ Other relevant documents:
and the authors of each grammar
- [The Resource Grammar Library coverage map http://www.postcrashgames.com/gf_world/]
- [RGL Documentation and Publications ../rgl-publications.html]: links to publications and other documentation
-- [More modules gfdoc/sources.html]: extra modules, dictionaries, and
+- [More modules ../gfdoc/sources.html]: extra modules, dictionaries, and
the internals of the resource grammar
- [Internal abstract syntax ../absfuns.html]: synopsis of internal
abstract functions and their Universal Dependency labels
diff --git a/doc/synopsis/quicklinks.js b/doc/synopsis/quicklinks.js
index fdc0e8e0f..5e01c24cf 100644
--- a/doc/synopsis/quicklinks.js
+++ b/doc/synopsis/quicklinks.js
@@ -115,4 +115,10 @@ function quicklinks () {
)
}
-document.getElementById('quicklinks').appendChild(quicklinks())
+appendChildren(
+ document.getElementById('quicklinks'),
+ [
+ node('h5', '', 'Quick links'),
+ quicklinks()
+ ]
+)
diff --git a/doc/synopsis/template.html b/doc/synopsis/template.html
index 4349d2adb..5e5c134b0 100644
--- a/doc/synopsis/template.html
+++ b/doc/synopsis/template.html
@@ -32,7 +32,6 @@ $endfor$