summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorMartin Fischer <martin@push-f.com>2022-02-08 04:30:09 +0100
committerMartin Fischer <martin@push-f.com>2022-02-08 04:41:21 +0100
commit489fe697cc12eb7cf3e12568546b4d133538ab6b (patch)
treee503396fa582774fdb3bc211e62a04e18109a63d /templates
parent0d57be7ea30129000db5494e1a65b79c7618eed0 (diff)
create start page
Diffstat (limited to 'templates')
-rw-r--r--templates/index.html25
1 files changed, 25 insertions, 0 deletions
diff --git a/templates/index.html b/templates/index.html
new file mode 100644
index 0000000..d368271
--- /dev/null
+++ b/templates/index.html
@@ -0,0 +1,25 @@
+<!doctype html>
+<html>
+ <head>
+ <title>pydoc.dev - consistent API docs for Python</title>
+ <link rel="stylesheet" href="https://unpkg.com/bamboo.css">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <style>
+ body {max-width: 80ch;}
+ </style>
+ </head>
+ <body>
+ {{ readme | safe }}
+
+ <p>pydoc.dev is currently in early alpha and only hosts
+ documentation for {{ packages | length }} packages:</p>
+
+ <ul style="columns: 200px;">
+ {% for package_name, package in packages %}
+ <li><a href="/{{package_name}}/latest/" title="{{package.info.summary}}">{{package.info.name}}</a></li>
+ {% endfor %}
+ </ul>
+
+ {{ contributing | safe }}
+ </body>
+</html>