From 564dcab6ba2ef206dbee242532ad822a9a62a893 Mon Sep 17 00:00:00 2001 From: Emma K Alexandra Date: Thu, 14 Mar 2024 22:31:05 -0400 Subject: [PATCH] ci: build docs for both WMATA and MetroGTFS --- .github/workflows/docs.yml | 10 +++++++++- Sources/MetroGTFS/GTFS.swift | 11 ----------- 2 files changed, 9 insertions(+), 12 deletions(-) delete mode 100644 Sources/MetroGTFS/GTFS.swift diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 2dcd1923..cd96f83f 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -32,7 +32,15 @@ jobs: - name: Generate Docs uses: fwcd/swift-docc-action@v1 with: - target: WMATA,MetroGTFS + target: WMATA + output: ./public + transform-for-static-hosting: 'true' + disable-indexing: 'true' + hosting-base-path: WMATA.swift + - name: Generate Docs + uses: fwcd/swift-docc-action@v1 + with: + target: MetroGTFS output: ./public transform-for-static-hosting: 'true' disable-indexing: 'true' diff --git a/Sources/MetroGTFS/GTFS.swift b/Sources/MetroGTFS/GTFS.swift deleted file mode 100644 index 4dada186..00000000 --- a/Sources/MetroGTFS/GTFS.swift +++ /dev/null @@ -1,11 +0,0 @@ -// -// GTFS.swift -// -// -// Created by Emma on 11/25/23. -// - -import Foundation - -/// Structures that are part of the [GTFS specification](https://gtfs.org). -public enum GTFS {}