Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
fanweixiao committed Sep 11, 2023
1 parent decde4c commit 96bfc9e
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
1 change: 1 addition & 0 deletions docs/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ __presence.next
out
next-env.d.ts
.next
.vercel
6 changes: 3 additions & 3 deletions docs/next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { remarkMermaid } from 'remark-mermaid-nextra';
import nextra from 'nextra';
import { remarkMermaid } from 'remark-mermaid-nextra';

//const withNextra = require("nextra")
const withNextra = nextra({
Expand All @@ -22,8 +22,8 @@ export default withNextra({
redirects: () => {
return [
{
source: "/cc",
destination: "/docs/cc",
source: "/prscd",
destination: "/prscd.html",
statusCode: 301,
},
];
Expand Down
16 changes: 16 additions & 0 deletions docs/public/prscd.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<html>

<head>
<meta name="go-import" content="yomo.run/prscd git https://yomo.run/prscd" />
<meta name="go-source"
content="yomo.run/prscd _ https://github.com/yomorun/presencejs/tree/main/prscd{/dir} hhttps://github.com/yomorun/presencejs/tree/main/prscd{/dir}/{file}#L{line}">
<title>yomo.run/prscd</title>
</head>

<body>
<h1>yomo.run/prscd</h1>
<p>You can import my project using the following command:</p>
<pre><code>go get -u yomo.run/prscd</code></pre>
</body>

</html>

1 comment on commit 96bfc9e

@vercel
Copy link

@vercel vercel bot commented on 96bfc9e Sep 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.