From 7227cb936d7aea8440c87cb8b66961892c015847 Mon Sep 17 00:00:00 2001 From: Alexander Ljungberg Date: Sat, 6 Jul 2024 21:47:35 +0100 Subject: [PATCH] New: serve API docs without nginx alias. Simplify switching to github pages by simply putting the files in the right spot rather than dynamically rewriting the URLs internally. --- config.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/config.rb b/config.rb index 6ed6abb..470a2c5 100644 --- a/config.rb +++ b/config.rb @@ -125,6 +125,7 @@ after_build do # The server uses the current Starter to serve /learn/documentation and Frameworks/ of demo apps. `cd build/downloads/ && rm -Rf Starter && unzip CappuccinoStarter-1.0.0.zip` + `mv build/downloads/Starter/Documentation/* build/learn/documentation/` `cd build/learn/ && curl -s -L http://github.com/cappuccino/cappuccino-demos/tarball/master >demos.tgz && tar -xzf demos.tgz && rm -Rf demos && mv cappuccino-cappuccino-demos-* demos` `cd build/aristo/showcase && rm -Rf Aristo2Showcase README __MACOSX Frameworks Resources && unzip ../../downloads/Aristo2Showcase.zip && mv Aristo2Showcase/* .` `find build/ -name .git -delete`