Skip to content

Commit

Permalink
Index is now a redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
JustusAdam committed Oct 10, 2023
1 parent 505cd31 commit 4d8a980
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 23 deletions.
12 changes: 5 additions & 7 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Automated Documentation Update

on:
push:
branches: [ "main" ]
branches: [ "main", "doc-redirect" ]

env:
CARGO_TERM_COLOR: always
Expand All @@ -28,12 +28,10 @@ jobs:
cp -R target/doc docs/libs
rm -R .github
- name: Copy Rustc Docs
run: |
cd doc-src && cargo run
- name: Build Index Page
uses: docker://pandoc/core
with:
args: "-s -o docs/index.html doc-src/index.md"
run: cargo run
working-directory: doc-src
- name: Copy index page
run: cp doc-src/index.html docs/index.html
- name: Commit Doc Generation
run: |
git add docs
Expand Down
11 changes: 11 additions & 0 deletions doc-src/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="refresh" content="0; url='https://www.notion.so/justus-adam/Paralegal-User-Guide-6e483e6ad03d4701bea245caf1345fcf?pvs=4'" />
</head>
<body>
<p>This URL is only used because it is easy to remember.</p>
<p> Paralegal's documentation is actually hosted at <a href="https://www.notion.so/justus-adam/Paralegal-User-Guide-6e483e6ad03d4701bea245caf1345fcf?pvs=4">https://manishearth.github.io/blog/2018/01/10/whats-tokio-and-async-io-all-about/</a> and you are being redirected there now.</p>
<p>Should the redirect fail you can also click the link.</p>
</body>
</html>
16 changes: 0 additions & 16 deletions doc-src/index.md

This file was deleted.

0 comments on commit 4d8a980

Please sign in to comment.