pkmn.ai

Wiki @ e2d0f22

View snapshot

diff --git a/index.dj b/index.dj
new file mode 100644
index 0000000..6394c15
--- /dev/null
+++ b/index.dj
@@ -0,0 +1,32 @@
+Welcome to the **pkmn.ai** wiki — a space for registered arena competitors to share notes, document
+their project, and to build up a knowledge base.
+
+{title="Note"}
+::: aside
+Please avoid AI-generated text in your wiki entries — your unstructured raw thoughts on a topic are
+more valuable than something more "polished" that came from an LLM.
+:::
+
+- **Editing a page:** Click **Edit** in the navigation bar at the bottom of any page, make your
+  changes, optionally add a short commit summary, and click **Save** (or **Preview** to check your
+  formatting first).
+- **Creating a new page:** Edit the URL in your browser to `/wiki/<Page_Name>` — visiting any page
+  that does not yet exist automatically opens the editor to create it. Pages matching the name of a
+  registered project are treated specially — only project owners may create & edit these pages and
+  may choose to limit visibility of the page to other competitors, [pkmn.ai
+  Discord](https://pkmn.ai/chat) members, or the public.
+- **Browsing pages & history:** Click **Pages** in the bottom navigation bar to view the index of
+  all pages, or **History** to inspect past revisions and diffs.
+- **Formatting:** Pages are formatted with a restricted subset of [**Djot**](https://djot.net) which
+  includes **KaTeX** support for inline math ($`\pi(a \mid s)`) and display math blocks:
+
+  $$```
+  Q(s, a) = r(s, a) + \gamma \mathbb{E}_{s'}[V(s')]
+  ```
+
+  In addition to fenced code blocks (which take an optional language and `{title="..."}` attribute):
+
+  {title="example.ts"}
+  ```ts
+  export const evaluate = (state: State): number => 0;
+  ```