From 4dee7fe17c56fb883eff1585222782ee5ea1909d Mon Sep 17 00:00:00 2001 From: "Jocelyn Badgley (Twipped)" Date: Wed, 10 Nov 2021 09:15:32 -0800 Subject: [PATCH] Migrate the concat structures into their respective language folders --- build/_concats.js | 102 ++--------------------------------------- public/de/_concat.json | 34 ++++++++++++++ public/en/_concat.json | 33 +++++++++++++ public/es/_concat.json | 33 +++++++++++++ public/zh/_concat.json | 32 +++++++++++++ 5 files changed, 136 insertions(+), 98 deletions(-) create mode 100644 public/de/_concat.json create mode 100644 public/en/_concat.json create mode 100644 public/es/_concat.json create mode 100644 public/zh/_concat.json diff --git a/build/_concats.js b/build/_concats.js index a4754c2..925daff 100644 --- a/build/_concats.js +++ b/build/_concats.js @@ -1,101 +1,7 @@ module.exports = exports = [ - { - output: 'public/en/printable.md', - sources: [ - 'public/en/index.md', - 'public/en/what-is-gender.md', - 'public/en/history.md', - 'public/en/euphoria.md', - 'public/en/physical-dysphoria.md', - 'public/en/biochemical-dysphoria.md', - 'public/en/social-dysphoria.md', - 'public/en/societal-dysphoria.md', - 'public/en/sexual-dysphoria.md', - 'public/en/presentational-dysphoria.md', - 'public/en/existential-dysphoria.md', - 'public/en/managed-dysphoria.md', - 'public/en/impostor-syndrome.md', - 'public/en/am-i-trans.md', - 'public/en/diagnoses.md', - 'public/en/treatment.md', - 'public/en/causes.md', - 'public/en/chromosomes.md', - 'public/en/hormones.md', - 'public/en/second-puberty-masc.md', - 'public/en/second-puberty-fem.md', - 'public/en/conclusion.md', - ], - meta: { - title: 'The Gender Dysphoria Bible', - description: 'A dive into the multitude of ways that gender dysphoria manifests and what it means to be transgender.', - classes: [ 'gdb', 'longform' ], - preBody: '_disclaimer', - }, - }, - { - output: 'public/zh/printable.md', - sources: [ - 'public/zh/index.md', - 'public/zh/什么是性别.md', - 'public/zh/历史.md', - 'public/zh/亢奋.md', - 'public/zh/身体烦躁.md', - 'public/zh/生化烦躁.md', - 'public/zh/社交烦躁.md', - 'public/zh/社会烦躁.md', - 'public/zh/性烦躁.md', - 'public/zh/外表烦躁.md', - 'public/zh/存在烦躁.md', - 'public/zh/掌控烦躁.md', - 'public/zh/冒名顶替综合征.md', - 'public/zh/诊断.md', - 'public/zh/治疗.md', - 'public/zh/成因.md', - 'public/zh/染色体.md', - 'public/zh/激素.md', - 'public/zh/雄二青春期.md', - 'public/zh/雌二青春期.md', - 'public/zh/结语.md', - ], - meta: { - title: '性别烦躁指南', - description: '为那些正在质疑探索中的人、那些在跨性别道路上的人和单纯想成为盟友的人提供资源。', - classes: [ 'gdb', 'longform' ], - preBody: '_disclaimer', - }, - }, - { - output: 'public/es/imprimible.md', - sources: [ - 'public/es/index.md', - 'public/es/que-es-el-genero.md', - 'public/es/historia.md', - 'public/es/euforia.md', - 'public/es/disforia-fisica.md', - 'public/es/disforia-bioquimica.md', - 'public/es/disforia-social.md', - 'public/es/disforia-societal.md', - 'public/es/disforia-sexual.md', - 'public/es/disforia-de-presentacion.md', - 'public/es/disforia-historica.md', - 'public/es/disforia-gestionada.md', - 'public/es/sindrome-del-impostor.md', - 'public/es/diagnosticos.md', - 'public/es/tratamiento.md', - 'public/es/causas.md', - 'public/es/cromosomas.md', - 'public/es/hormonas.md', - 'public/es/segunda-pubertad-masc.md', - 'public/es/segunda-pubertad-fem.md', - 'public/es/conclusion.md', - ], - meta: { - title: 'La Biblia de la Disforia de Género', - lang: 'es', - description: 'Un clavado a las multitudes de formas en que se manifiesta la disforia de género y lo que significa ser transgénero.', - classes: [ 'gdb', 'longform' ], - preBody: '_declaracion', - }, - }, + require('../public/en/_concat.json'), + require('../public/zh/_concat.json'), + require('../public/es/_concat.json'), + require('../public/de/_concat.json'), ]; diff --git a/public/de/_concat.json b/public/de/_concat.json new file mode 100644 index 0000000..06ae36a --- /dev/null +++ b/public/de/_concat.json @@ -0,0 +1,34 @@ +{ + "output": "public/de/druckbar.md", + "sources": [ + "public/de/index.md", + "public/de/was-ist-gender.md", + "public/de/geschichte.md", + "public/de/euphorie.md", + "public/de/körperliche-dysphorie.md", + "public/de/biochemische-dysphorie.md", + "public/de/soziale-dysphorie.md", + "public/de/gesellschaftliche-dysphorie.md", + "public/de/sexuelle-dysphorie.md", + "public/de/präsentationsdysphorie.md", + "public/de/existentielle-dysphorie.md", + "public/de/gemanagte-dysphorie.md", + "public/de/impostor-syndrom.md", + "public/de/bin-ich-trans.md", + "public/de/diagnose.md", + "public/de/behandlung.md", + "public/de/ursache.md", + "public/de/chromosomen.md", + "public/de/hormone.md", + "public/de/androgene-zweite-pubertät.md", + "public/de/östrogene-zweite-pubertat.md", + "public/de/zusammenfassung.md" + ], + "meta": { + "title": "Die Gender Dysphorie Bibel", + "lang": "de", + "description": "Eine ressource für diejenigen, die ihr geschlecht hinterfragen, sich bereits auf einer Gender-Reise befinden oder einfach nur mehr darüber erfahren möchten, was es bedeutet, transgender zu sein.", + "classes": [ "gdb", "longform" ], + "preBody": "_disclaimer" + } +} diff --git a/public/en/_concat.json b/public/en/_concat.json new file mode 100644 index 0000000..e911bef --- /dev/null +++ b/public/en/_concat.json @@ -0,0 +1,33 @@ +{ + "output": "public/en/printable.md", + "sources": [ + "public/en/index.md", + "public/en/what-is-gender.md", + "public/en/history.md", + "public/en/euphoria.md", + "public/en/physical-dysphoria.md", + "public/en/biochemical-dysphoria.md", + "public/en/social-dysphoria.md", + "public/en/societal-dysphoria.md", + "public/en/sexual-dysphoria.md", + "public/en/presentational-dysphoria.md", + "public/en/existential-dysphoria.md", + "public/en/managed-dysphoria.md", + "public/en/impostor-syndrome.md", + "public/en/am-i-trans.md", + "public/en/diagnoses.md", + "public/en/treatment.md", + "public/en/causes.md", + "public/en/chromosomes.md", + "public/en/hormones.md", + "public/en/second-puberty-masc.md", + "public/en/second-puberty-fem.md", + "public/en/conclusion.md" + ], + "meta": { + "title": "The Gender Dysphoria Bible", + "description": "A dive into the multitude of ways that gender dysphoria manifests and what it means to be transgender.", + "classes": [ "gdb", "longform" ], + "preBody": "_disclaimer" + } +} diff --git a/public/es/_concat.json b/public/es/_concat.json new file mode 100644 index 0000000..8ae8c6f --- /dev/null +++ b/public/es/_concat.json @@ -0,0 +1,33 @@ +{ + "output": "public/es/imprimible.md", + "sources": [ + "public/es/index.md", + "public/es/que-es-el-genero.md", + "public/es/historia.md", + "public/es/euforia.md", + "public/es/disforia-fisica.md", + "public/es/disforia-bioquimica.md", + "public/es/disforia-social.md", + "public/es/disforia-societal.md", + "public/es/disforia-sexual.md", + "public/es/disforia-de-presentacion.md", + "public/es/disforia-historica.md", + "public/es/disforia-gestionada.md", + "public/es/sindrome-del-impostor.md", + "public/es/diagnosticos.md", + "public/es/tratamiento.md", + "public/es/causas.md", + "public/es/cromosomas.md", + "public/es/hormonas.md", + "public/es/segunda-pubertad-masc.md", + "public/es/segunda-pubertad-fem.md", + "public/es/conclusion.md" + ], + "meta": { + "title": "La Biblia de la Disforia de Género", + "lang": "es", + "description": "Un clavado a las multitudes de formas en que se manifiesta la disforia de género y lo que significa ser transgénero.", + "classes": [ "gdb", "longform" ], + "preBody": "_declaracion" + } +} diff --git a/public/zh/_concat.json b/public/zh/_concat.json new file mode 100644 index 0000000..1586309 --- /dev/null +++ b/public/zh/_concat.json @@ -0,0 +1,32 @@ +{ + "output": "public/zh/printable.md", + "sources": [ + "public/zh/index.md", + "public/zh/什么是性别.md", + "public/zh/历史.md", + "public/zh/亢奋.md", + "public/zh/身体烦躁.md", + "public/zh/生化烦躁.md", + "public/zh/社交烦躁.md", + "public/zh/社会烦躁.md", + "public/zh/性烦躁.md", + "public/zh/外表烦躁.md", + "public/zh/存在烦躁.md", + "public/zh/掌控烦躁.md", + "public/zh/冒名顶替综合征.md", + "public/zh/诊断.md", + "public/zh/治疗.md", + "public/zh/成因.md", + "public/zh/染色体.md", + "public/zh/激素.md", + "public/zh/雄二青春期.md", + "public/zh/雌二青春期.md", + "public/zh/结语.md" + ], + "meta": { + "title": "性别烦躁指南", + "description": "为那些正在质疑探索中的人、那些在跨性别道路上的人和单纯想成为盟友的人提供资源。", + "classes": [ "gdb", "longform" ], + "preBody": "_disclaimer" + } +}