Skip to content

Commit

Permalink
changing to docusaurus
Browse files Browse the repository at this point in the history
  • Loading branch information
yaelmhoffman committed Jul 25, 2022
1 parent 7148e4c commit 4aabf1e
Show file tree
Hide file tree
Showing 204 changed files with 22,862 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Dependencies
/node_modules

# Production
/build

# Generated files
.docusaurus
.cache-loader

# Misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
41 changes: 41 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Website

This website is built using [Docusaurus 2](https://docusaurus.io/), a modern static website generator.

### Installation

```
$ yarn
```

### Local Development

```
$ yarn start
```

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

### Build

```
$ yarn build
```

This command generates static content into the `build` directory and can be served using any static contents hosting service.

### Deployment

Using SSH:

```
$ USE_SSH=true yarn deploy
```

Not using SSH:

```
$ GIT_USER=<Your GitHub username> yarn deploy
```

If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch.
3 changes: 3 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
presets: [require.resolve('@docusaurus/core/lib/babel/preset')],
};
12 changes: 12 additions & 0 deletions blog/2019-05-28-first-blog-post.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
slug: first-blog-post
title: First Blog Post
authors:
name: Gao Wei
title: Docusaurus Core Team
url: https://github.com/wgao19
image_url: https://github.com/wgao19.png
tags: [hola, docusaurus]
---

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet
44 changes: 44 additions & 0 deletions blog/2019-05-29-long-blog-post.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
---
slug: long-blog-post
title: Long Blog Post
authors: endi
tags: [hello, docusaurus]
---

This is the summary of a very long blog post,

Use a `<!--` `truncate` `-->` comment to limit blog post size in the list view.

<!--truncate-->

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet
20 changes: 20 additions & 0 deletions blog/2021-08-01-mdx-blog-post.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
slug: mdx-blog-post
title: MDX Blog Post
authors: [slorber]
tags: [docusaurus]
---

Blog posts support [Docusaurus Markdown features](https://docusaurus.io/docs/markdown-features), such as [MDX](https://mdxjs.com/).

:::tip

Use the power of React to create interactive blog posts.

```js
<button onClick={() => alert('button clicked!')}>Click me!</button>
```

<button onClick={() => alert('button clicked!')}>Click me!</button>

:::
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 25 additions & 0 deletions blog/2021-08-26-welcome/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
slug: welcome
title: Welcome
authors: [slorber, yangshun]
tags: [facebook, hello, docusaurus]
---

[Docusaurus blogging features](https://docusaurus.io/docs/blog) are powered by the [blog plugin](https://docusaurus.io/docs/api/plugins/@docusaurus/plugin-content-blog).

Simply add Markdown files (or folders) to the `blog` directory.

Regular blog authors can be added to `authors.yml`.

The blog post date can be extracted from filenames, such as:

- `2019-05-30-welcome.md`
- `2019-05-30-welcome/index.md`

A blog post folder can be convenient to co-locate blog post images:

![Docusaurus Plushie](./docusaurus-plushie-banner.jpeg)

The blog supports tags as well!

**And if you don't want a blog**: just delete this directory, and use `blog: false` in your Docusaurus config.
17 changes: 17 additions & 0 deletions blog/authors.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
endi:
name: Endilie Yacop Sucipto
title: Maintainer of Docusaurus
url: https://github.com/endiliey
image_url: https://github.com/endiliey.png

yangshun:
name: Yangshun Tay
title: Front End Engineer @ Facebook
url: https://github.com/yangshun
image_url: https://github.com/yangshun.png

slorber:
name: Sébastien Lorber
title: Docusaurus maintainer
url: https://sebastienlorber.com
image_url: https://github.com/slorber.png
4 changes: 4 additions & 0 deletions docs/ecosystem/dash_explore.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
id: dash
title: Dashboard and Explorer
---
4 changes: 4 additions & 0 deletions docs/ecosystem/node.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
id: node
title: Spacemesh Node
---
4 changes: 4 additions & 0 deletions docs/ecosystem/poet_server.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
id: poet
title: PoET Servers
---
4 changes: 4 additions & 0 deletions docs/ecosystem/smapp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
id: smapp
title: Smapp - the Spacemesh Application
---
4 changes: 4 additions & 0 deletions docs/learn/accounts.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
id: accounts
title: Accounts and Templates
---
4 changes: 4 additions & 0 deletions docs/learn/coin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
id: coin
title: Spacemesh Coin
---
4 changes: 4 additions & 0 deletions docs/learn/crypto.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
id: crypto
title: What Is Cryptocurrency?
---
4 changes: 4 additions & 0 deletions docs/learn/epochs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
id: epochs
title: Storage and Epochs
---
4 changes: 4 additions & 0 deletions docs/learn/hare.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
id: hare
title: Hare
---
6 changes: 6 additions & 0 deletions docs/learn/learn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
id: learn
title: Learn
slug: /learn
---
Test
4 changes: 4 additions & 0 deletions docs/learn/nipost.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
id: nipost
title: NiPoST
---
4 changes: 4 additions & 0 deletions docs/learn/post.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
id: post
title: PoST (Proof of Space-time)
---
4 changes: 4 additions & 0 deletions docs/learn/rewards.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
id: rewards
title: Rewards
---
4 changes: 4 additions & 0 deletions docs/learn/spacemesh.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
id: spacemesh
title: What Is Spacemesh?
---
4 changes: 4 additions & 0 deletions docs/learn/tortoise.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
id: tortoise
title: Tortoise
---
4 changes: 4 additions & 0 deletions docs/learn/transactions.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
id: transactions
title: Transactions
---
25 changes: 25 additions & 0 deletions docs/overview.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
id: docs-overview
title: Overview
slug: /
---

Congratulations on deciding to use Eta! These docs will be your guide as you learn how to use this tool.

:::tip

These docs aren't 100% complete. If you just want to learn how to use Eta, go to [Learn](./docs/learn)

:::

## For people who learn by example

We recommend going [here](./docs/learn) to find tutorials and lots of example code!

## For API lovers

Browse the API! You can view the TypeDoc API documentation for Eta at https://eta-dev.github.io/eta/modules/_index_.html.

## Check out the source code

Go to the [GitHub Repository](https://github.com/eta-dev/eta)
4 changes: 4 additions & 0 deletions docs/protocol/consensus/activations.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
id: activations
title: Epochs and Activations
---
4 changes: 4 additions & 0 deletions docs/protocol/consensus/block_assembly.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
id: block-assembly
title: Block Assembly
---
4 changes: 4 additions & 0 deletions docs/protocol/consensus/hare_abstract.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
id: hare-abstract
title: Abstract Hare
---
4 changes: 4 additions & 0 deletions docs/protocol/consensus/overview.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
id: overview
title: Protocol Overview
---
4 changes: 4 additions & 0 deletions docs/protocol/consensus/poet.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
id: poet
title: Proof of Elapsed Time
---
4 changes: 4 additions & 0 deletions docs/protocol/consensus/post_deep.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
id: post-deep
title: Proof of Space-Time
---
4 changes: 4 additions & 0 deletions docs/protocol/consensus/proposals.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
id: proposals
title: Transactions, Proposals, and Blocks
---
6 changes: 6 additions & 0 deletions docs/protocol/consensus/protocol.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
id: protocol
title: Deep Dive
slug: /protocol
---
Test
4 changes: 4 additions & 0 deletions docs/protocol/consensus/random_beacon.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
id: random-beacon
title: Random Beacon
---
4 changes: 4 additions & 0 deletions docs/protocol/consensus/rewards_algorithm.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
id: rewards-algorithm
title: Rewards Algorithm
---
4 changes: 4 additions & 0 deletions docs/protocol/consensus/tortoise_abstract.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
id: tortoise-abstract
title: Abstract Tortoise
---
4 changes: 4 additions & 0 deletions docs/protocol/consensus/weak_coin.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
id: weak-coin
title: Weak Coin
---
4 changes: 4 additions & 0 deletions docs/protocol/node_operation/blacklisting.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
id: blacklisting
title: Blacklisting
---
4 changes: 4 additions & 0 deletions docs/protocol/node_operation/local_data_model.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
id: local-data-model
title: Local Data Model
---
4 changes: 4 additions & 0 deletions docs/protocol/node_operation/serialization.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
id: serialization
title: Serialization
---
4 changes: 4 additions & 0 deletions docs/protocol/node_operation/startup.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
id: startup
title: Startup
---
4 changes: 4 additions & 0 deletions docs/protocol/node_operation/sync.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
id: sync
title: Sync
---
4 changes: 4 additions & 0 deletions docs/protocol/node_operation/time.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
id: time
title: Time
---
Empty file.
Loading

0 comments on commit 4aabf1e

Please sign in to comment.