From 5f99f888ced0a5923ec4f303045ebd6ea1050008 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20de=20Vasconcelos?= Date: Mon, 30 Dec 2024 20:36:27 +0000 Subject: [PATCH] feat: remove outdated GTFS pages and add new structure for GTFS resources --- content/gtfs/legacy.mdx | 4 ---- content/gtfs/meta.json | 7 +++++++ content/gtfs/{current.mdx => realtime/index-copy.mdx} | 2 +- content/gtfs/realtime/index.mdx | 4 ++++ content/gtfs/schedule/index.mdx | 4 ++++ content/meta.json | 5 +---- 6 files changed, 17 insertions(+), 9 deletions(-) delete mode 100644 content/gtfs/legacy.mdx create mode 100644 content/gtfs/meta.json rename content/gtfs/{current.mdx => realtime/index-copy.mdx} (65%) create mode 100644 content/gtfs/realtime/index.mdx create mode 100644 content/gtfs/schedule/index.mdx diff --git a/content/gtfs/legacy.mdx b/content/gtfs/legacy.mdx deleted file mode 100644 index 1478f94..0000000 --- a/content/gtfs/legacy.mdx +++ /dev/null @@ -1,4 +0,0 @@ ---- -title: Carris Metropolitana (legacy) -description: Especificação do GTFS para a Carris Metropolitana ---- diff --git a/content/gtfs/meta.json b/content/gtfs/meta.json new file mode 100644 index 0000000..7089434 --- /dev/null +++ b/content/gtfs/meta.json @@ -0,0 +1,7 @@ +{ + "pages": [ + "index", + "schedule", + "realtime" + ] +} diff --git a/content/gtfs/current.mdx b/content/gtfs/realtime/index-copy.mdx similarity index 65% rename from content/gtfs/current.mdx rename to content/gtfs/realtime/index-copy.mdx index a41a828..d2cfdbc 100644 --- a/content/gtfs/current.mdx +++ b/content/gtfs/realtime/index-copy.mdx @@ -1,4 +1,4 @@ --- -title: Operadores Externos (current) +title: Something else description: Especificação do GTFS para Operadores Externos --- diff --git a/content/gtfs/realtime/index.mdx b/content/gtfs/realtime/index.mdx new file mode 100644 index 0000000..b4c0355 --- /dev/null +++ b/content/gtfs/realtime/index.mdx @@ -0,0 +1,4 @@ +--- +title: GTFS Realtime +description: Especificação do GTFS para Operadores Externos +--- diff --git a/content/gtfs/schedule/index.mdx b/content/gtfs/schedule/index.mdx new file mode 100644 index 0000000..9678678 --- /dev/null +++ b/content/gtfs/schedule/index.mdx @@ -0,0 +1,4 @@ +--- +title: GTFS Schedule +description: Especificação do GTFS para Operadores Externos +--- diff --git a/content/meta.json b/content/meta.json index 1e0c459..7629419 100644 --- a/content/meta.json +++ b/content/meta.json @@ -7,11 +7,8 @@ "intro/bugs", "intro/contact-us", "---GTFS---", - "gtfs/index", - "gtfs/legacy", - "gtfs/current", + "...gtfs", "---API---", - "api/index", "...api" ], "root": true