From 43b30470c7c383f4342b78097ce7973e07ddf8e5 Mon Sep 17 00:00:00 2001 From: Philippe Hausler Date: Mon, 11 Apr 2022 14:59:46 -0700 Subject: [PATCH 1/2] Add a redirect for the base page rendering --- bin/update-gh-pages-documentation-site | 3 +++ lib/redirect.html | 10 ++++++++++ 2 files changed, 13 insertions(+) create mode 100644 lib/redirect.html diff --git a/bin/update-gh-pages-documentation-site b/bin/update-gh-pages-documentation-site index 0c1e59aa..daf19fed 100755 --- a/bin/update-gh-pages-documentation-site +++ b/bin/update-gh-pages-documentation-site @@ -53,6 +53,9 @@ swift package \ # Save the current commit we've just built documentation from in a variable CURRENT_COMMIT_HASH=`git rev-parse --short HEAD` +# Copy the redirect file into the 'gh-pages' directory +cp lib/redirect.html gh-pages/docs/index.html + # Commit and push our changes to the gh-pages branch cd gh-pages git add docs diff --git a/lib/redirect.html b/lib/redirect.html new file mode 100644 index 00000000..504af9b8 --- /dev/null +++ b/lib/redirect.html @@ -0,0 +1,10 @@ + + + + ArgumentParser Documentation + + + +

Redirecting...

+ + \ No newline at end of file From ba3faa3920eca1a44ddba531337a86d3d39c056a Mon Sep 17 00:00:00 2001 From: Philippe Hausler Date: Mon, 11 Apr 2022 17:03:43 -0700 Subject: [PATCH 2/2] Remove a copy/paste error for the title --- lib/redirect.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/redirect.html b/lib/redirect.html index 504af9b8..bba39d41 100644 --- a/lib/redirect.html +++ b/lib/redirect.html @@ -1,10 +1,10 @@ - ArgumentParser Documentation + AsyncAlgorithms Documentation

Redirecting...

- \ No newline at end of file +