diff --git a/config.example.wikimedia.yaml b/config.example.wikimedia.yaml index 60686a2..929c4dd 100644 --- a/config.example.wikimedia.yaml +++ b/config.example.wikimedia.yaml @@ -73,6 +73,11 @@ wiktionary_project: &wiktionary_project - path: projects/wmf_wiktionary.yaml options: *default_options +fake_project: &fake_project + x-modules: + - path: v1/timeline.yaml + options: *default_options + # The root of the spec tree. Domains tend to share specs by referencing them # using YAML references. spec_root: &spec_root @@ -107,6 +112,8 @@ spec_root: &spec_root # special case for wikidata /{domain:www.wikidata.org}: *wikidata.org + /{domain:fake}: *fake_project + # A robots.txt to make sure that the content isn't indexed. /robots.txt: get: diff --git a/projects/wmf_default.yaml b/projects/wmf_default.yaml index 6de3485..1c840a1 100644 --- a/projects/wmf_default.yaml +++ b/projects/wmf_default.yaml @@ -85,6 +85,10 @@ paths: x-modules: - path: v1/citoid.js options: '{{options.citoid}}' + /timeline: + x-modules: + - path: v1/timeline.yaml + options: '{{options.timeline}}' options: '{{options}}' /{api:sys}: