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

Commit

Permalink
Automatically redirect to the API docs entry page. (#10)
Browse files Browse the repository at this point in the history
  • Loading branch information
vitropy authored Aug 30, 2023
1 parent 71f67de commit 922749d
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
/target
# The `target` directory is generated by Cargo.
# It will contain mostly compiled files and executables.
target/*

# But the API documentation eventually gets published, so we want to
# make sure these files are also included in commits for downstream
# services to consume, and these are by default output to `target/doc`.
!target/doc
target/doc/*
!target/doc/index.html

# Other ignores go here.
node_modules
/Cargo.lock
12 changes: 12 additions & 0 deletions target/doc/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="refresh" content="0; url=x25519_chacha20poly1305/" />
<title>Redirecting&hellip;.</title>
</head>
<body>
<p>Redirecting to this repository's <a href="x25519_chacha20poly1305/">API documentation</a>&hellip;.</p>
</body>
</html>

0 comments on commit 922749d

Please sign in to comment.