Skip to content

Commit

Permalink
feat: skeleton docs (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
albertolerda authored Jan 17, 2024
1 parent dc38aa6 commit 946014e
Show file tree
Hide file tree
Showing 16 changed files with 70 additions and 25 deletions.
6 changes: 2 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@
!/pkg/browser/public/index.html

# shitdocs
!/docs/*.html
!/docs/*.mjs
!/docs/*.json
!/docs/**

node_modules
node_modules
Empty file added docs/.nojekyll
Empty file.
2 changes: 2 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Slangroom

9 changes: 9 additions & 0 deletions docs/_sidebar.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
* [Home](/)
* Tutorials
* [Quickstart](tutorials/quickstart)
* [Setup dev environment](tutorials/dev)
* [Write you own plugin](tutorials/plugin)

* Railroads
* [Http](railroads/http)
* [Wallet](railroads/wallet)
37 changes: 16 additions & 21 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -1,28 +1,23 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Dyne.org slangroom documentation</title>
<link rel="stylesheet" href="https://cdn.simplecss.org/simple.min.css"/>
<meta charset="UTF-8">
<title>Document</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="description" content="Description">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/docsify@4/lib/themes/vue.css">
</head>
<body>
<header>
<h1>slangˑroom</h1>
</header>

<main>
<ul>
<li><a href="./wallet.html">@slangroom/wallet</a></li>
<li><a href="./http.html">@slangroom/http</a></li>
<li><a href="./ethereum.html">@slangroom/ethereum</a></li>
</ul>
</main>

<footer>
<p>
Made with <3 by Dyne.org's hackers
</p>
</footer>
<div id="app"></div>
<script>
window.$docsify = {
loadSidebar: true,
name: 'Slangroom',
repo: 'https://github.com/dyne/slangroom'
}
</script>
<!-- Docsify v4 -->
<script src="//cdn.jsdelivr.net/npm/docsify@4"></script>
</body>
</html>
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions docs/railroads/http.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Http plugin
[http.html](http.html ':include')
28 changes: 28 additions & 0 deletions docs/railroads/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Dyne.org slangroom documentation</title>
<link rel="stylesheet" href="https://cdn.simplecss.org/simple.min.css"/>
</head>
<body>
<header>
<h1>slangˑroom</h1>
</header>

<main>
<ul>
<li><a href="./wallet.html">@slangroom/wallet</a></li>
<li><a href="./http.html">@slangroom/http</a></li>
<li><a href="./ethereum.html">@slangroom/ethereum</a></li>
</ul>
</main>

<footer>
<p>
Made with <3 by Dyne.org's hackers
</p>
</footer>
</body>
</html>
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions docs/railroads/wallet.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Wallet plugin
[wallet.html](wallet.html ':include')
3 changes: 3 additions & 0 deletions docs/tutorials/dev.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Dev environment

TODO Setup pnpm, pnpm build, pnpm test, pnpm clean
3 changes: 3 additions & 0 deletions docs/tutorials/plugin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Write you own plugin

TODO: ....
3 changes: 3 additions & 0 deletions docs/tutorials/quickstart.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Quickstart

TODO Write a simple javascript script that uses slangroom....

0 comments on commit 946014e

Please sign in to comment.