Skip to content

Commit ec7bc4b

Browse files
Merge pull request #12 from PredictabilityAtScale:codex/fix-sitemap-and-routing-issues
fix(website): improve docs crawlability and sitemap targets
2 parents 94d98cf + ccb7a81 commit ec7bc4b

3 files changed

Lines changed: 61 additions & 3 deletions

File tree

website/docs/index.html

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
66
<title>PromptOpsKit Docs</title>
77
<meta name="description" content="Documentation for PromptOpsKit — centralize AI prompt behavior in your codebase." />
8+
<link rel="canonical" href="https://promptopskit.com/docs/index.html" />
89
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsify-themeable@0/dist/css/theme-simple.css" />
910
<style>
1011
:root {
@@ -27,6 +28,25 @@
2728
.app-nav a:hover {
2829
text-decoration: underline;
2930
}
31+
.crawler-nav {
32+
max-width: 980px;
33+
margin: 5rem auto 2rem;
34+
padding: 0 1.5rem;
35+
}
36+
.crawler-nav h1 {
37+
font-size: 1.5rem;
38+
margin-bottom: 0.5rem;
39+
}
40+
.crawler-nav ul {
41+
list-style: disc;
42+
padding-left: 1.5rem;
43+
}
44+
.crawler-nav li {
45+
margin: 0.35rem 0;
46+
}
47+
.crawler-nav p {
48+
color: #475467;
49+
}
3050
</style>
3151
</head>
3252
<body>
@@ -35,6 +55,26 @@
3555
<a href="https://github.com/PredictabilityAtScale/promptopskit">GitHub</a>
3656
</nav>
3757
<div id="app"></div>
58+
<main class="crawler-nav" aria-label="Docs index">
59+
<h1>PromptOpsKit Docs</h1>
60+
<p>This page hosts the Docsify app and also provides crawler-visible documentation links.</p>
61+
<ul>
62+
<li><a href="/docs/index.md">Docs Home</a></li>
63+
<li><a href="/docs/getting-started.md">Getting Started</a></li>
64+
<li><a href="/docs/prompt-format.md">Prompt Format</a></li>
65+
<li><a href="/docs/composition.md">Composition</a></li>
66+
<li><a href="/docs/overrides.md">Overrides</a></li>
67+
<li><a href="/docs/providers.md">Providers</a></li>
68+
<li><a href="/docs/usagetap.md">UsageTap</a></li>
69+
<li><a href="/docs/inline-source.md">Inline Source</a></li>
70+
<li><a href="/docs/publishing.md">Publishing</a></li>
71+
<li><a href="/docs/cli.md">CLI</a></li>
72+
<li><a href="/docs/api-reference.md">API Reference</a></li>
73+
<li><a href="/docs/schema.md">Schema</a></li>
74+
<li><a href="/docs/testing.md">Testing</a></li>
75+
<li><a href="/docs/validation.md">Validation</a></li>
76+
</ul>
77+
</main>
3878
<script>
3979
window.$docsify = {
4080
name: 'PromptOpsKit',

website/robots.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
User-agent: *
22
Allow: /
33

4-
Sitemap: https://github.com/PredictabilityAtScale/promptopskit/blob/main/website/sitemap.xml
4+
Sitemap: https://promptopskit.com/sitemap.xml

website/sitemap.xml

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,31 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
33
<url>
4-
<loc>https://promptopskit.com</loc>
4+
<loc>https://promptopskit.com/</loc>
55
<changefreq>weekly</changefreq>
66
<priority>1.0</priority>
77
</url>
88
<url>
9-
<loc>https://promptopskit.com/docs/</loc>
9+
<loc>https://promptopskit.com/docs/index.html</loc>
10+
<changefreq>weekly</changefreq>
11+
<priority>0.9</priority>
12+
</url>
13+
<url>
14+
<loc>https://promptopskit.com/docs/index.md</loc>
1015
<changefreq>weekly</changefreq>
1116
<priority>0.8</priority>
1217
</url>
18+
<url><loc>https://promptopskit.com/docs/getting-started.md</loc><changefreq>weekly</changefreq><priority>0.7</priority></url>
19+
<url><loc>https://promptopskit.com/docs/prompt-format.md</loc><changefreq>weekly</changefreq><priority>0.7</priority></url>
20+
<url><loc>https://promptopskit.com/docs/composition.md</loc><changefreq>weekly</changefreq><priority>0.7</priority></url>
21+
<url><loc>https://promptopskit.com/docs/overrides.md</loc><changefreq>weekly</changefreq><priority>0.7</priority></url>
22+
<url><loc>https://promptopskit.com/docs/providers.md</loc><changefreq>weekly</changefreq><priority>0.7</priority></url>
23+
<url><loc>https://promptopskit.com/docs/usagetap.md</loc><changefreq>weekly</changefreq><priority>0.7</priority></url>
24+
<url><loc>https://promptopskit.com/docs/inline-source.md</loc><changefreq>weekly</changefreq><priority>0.7</priority></url>
25+
<url><loc>https://promptopskit.com/docs/publishing.md</loc><changefreq>weekly</changefreq><priority>0.7</priority></url>
26+
<url><loc>https://promptopskit.com/docs/cli.md</loc><changefreq>weekly</changefreq><priority>0.7</priority></url>
27+
<url><loc>https://promptopskit.com/docs/api-reference.md</loc><changefreq>weekly</changefreq><priority>0.7</priority></url>
28+
<url><loc>https://promptopskit.com/docs/schema.md</loc><changefreq>weekly</changefreq><priority>0.7</priority></url>
29+
<url><loc>https://promptopskit.com/docs/testing.md</loc><changefreq>weekly</changefreq><priority>0.7</priority></url>
30+
<url><loc>https://promptopskit.com/docs/validation.md</loc><changefreq>weekly</changefreq><priority>0.7</priority></url>
1331
</urlset>

0 commit comments

Comments
 (0)