Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Commit

Permalink
Add a 404 page that forwards Thrust to CCCL/thrust.
Browse files Browse the repository at this point in the history
  • Loading branch information
wmaxey authored Feb 7, 2024
1 parent 17f60df commit bbe0060
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 45 deletions.
13 changes: 13 additions & 0 deletions docs/github_pages/404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!DOCTYPE html>
<meta charset="utf-8">
<title>Redirecting to nvidia.github.io/cccl/thrust</title>

<html>
<head>
<script>
var localUri = window.location.pathname.replace(/^\/.*?\//g, "");
window.location.href =
"https://nvidia.github.io/cccl/thrust/" + localUri
</script>
</head>
</html>
46 changes: 1 addition & 45 deletions docs/github_pages/_config.yml
Original file line number Diff line number Diff line change
@@ -1,47 +1,3 @@
title: Thrust
title: Redirect to CCCL

repository: nvidia/thrust

remote_theme: pmarsceill/just-the-docs

color_scheme: nvidia
logo: /assets/images/nvidia_logo.png

search_enabled: true
search.heading_level: 4

incremental: true

# just-the-docs ignores these filenames by default.
include: [ "contributing.md", "code_of_conduct.md" ]

exclude: [ "node_modules", "doxybook_templates",
"generate_markdown.bash", "serve_docs_locally.bash" ]

plugins:
- jekyll-optional-front-matter # GitHub Pages.
- jekyll-default-layout # GitHub Pages.
- jekyll-titles-from-headings # GitHub Pages.
- jekyll-relative-links # GitHub Pages.
- jekyll-include-cache

defaults:
-
scope:
path: overview.md
values:
title: Overview
nav_order: 0
permalink: /
-
scope:
path: contributing/code_of_conduct.md
values:
parent: Contributing
nav_order: 2
-
scope:
path: releases/changelog.md
values:
parent: Releases
nav_order: 0

0 comments on commit bbe0060

Please sign in to comment.