Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,21 @@ jobs:
- name: Build documentation
run: cargo doc --all-features --no-deps --workspace

- name: Create index.html redirect for GitHub Pages
run: |
cat > target/doc/index.html << 'EOF'
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="refresh" content="0; url=openprot/">
<title>OpenProt Documentation</title>
</head>
<body>
<p>Redirecting to <a href="openprot/">OpenProt Documentation</a>...</p>
</body>
</html>
EOF

- name: Check for broken links in docs
run: |
cargo install cargo-deadlinks
Expand Down