Skip to content

Commit 98378d1

Browse files
authored
Remove Jazzy doc generation (#191)
Motivation: Docs are generated by and hosted on the Swift Package Index. We no longer need the script to generate docs via Jazzy. Modifications: - Remove the generate_docs script - Remove Jazzy from the Dockerfile but keep Ruby; it's used for generating test manifests. - Remove SwiftFormat from the Dockerfile; we don't use it. Result: Fewer unused things.
1 parent e4efedb commit 98378d1

File tree

2 files changed

+1
-131
lines changed

2 files changed

+1
-131
lines changed

docker/Dockerfile

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -17,19 +17,9 @@ RUN apt-get update && apt-get install -y wget
1717
RUN apt-get update && apt-get install -y lsof dnsutils netcat-openbsd net-tools curl jq # used by integration tests
1818
RUN apt-get update && apt-get install -y zlib1g-dev
1919

20-
# ruby and jazzy for docs generation
20+
# ruby for soundness
2121
RUN apt-get update && apt-get install -y ruby ruby-dev libsqlite3-dev build-essential
22-
# jazzy no longer works on xenial as ruby is too old.
23-
RUN if [ "${ubuntu_version}" = "focal" ] ; then echo "gem: --no-document" > ~/.gemrc ; fi
24-
RUN if [ "${ubuntu_version}" = "focal" ] ; then gem install jazzy ; fi
2522

2623
# tools
2724
RUN mkdir -p $HOME/.tools
2825
RUN echo 'export PATH="$HOME/.tools:$PATH"' >> $HOME/.profile
29-
30-
# swiftformat (until part of the toolchain)
31-
32-
ARG swiftformat_version=0.40.12
33-
RUN git clone --branch $swiftformat_version --depth 1 https://github.com/nicklockwood/SwiftFormat $HOME/.tools/swift-format
34-
RUN cd $HOME/.tools/swift-format && swift build -c release
35-
RUN ln -s $HOME/.tools/swift-format/.build/release/swiftformat $HOME/.tools/swiftformat

scripts/generate_docs.sh

Lines changed: 0 additions & 120 deletions
This file was deleted.

0 commit comments

Comments
 (0)