Skip to content

Commit

Permalink
refactor: move tee page to developers section, collapse pages, docs url
Browse files Browse the repository at this point in the history
---------

Co-authored-by: failfmi <oscurocalma@gmail.com>
  • Loading branch information
vikinatora and failfmi authored Dec 13, 2024
1 parent 2b6b05c commit f120ee8
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: TEE Multi Prover
slug: /tee-multi-prover
slug: /developers/concepts/tee-multi-prover
---

## Background
Expand Down
2 changes: 1 addition & 1 deletion docs/developers/reference/opcodes.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ The following opcodes are not supported in UniFi:

| Opcode | Name | Solidity Equivalent | Rollup Behaviour | Ethereum L1 Behaviour |
|--------|-----------|---------------------|----------------------------------------------|--------------------------------------|
| 41 | COINBASE | block.coinbase | Returns the address of the L2 block proposer | Gets the blocks beneficiary address |
| 41 | COINBASE | block.coinbase | Returns the address of the L2 block proposer | Gets the block's beneficiary address |
| 42 | TIMESTAMP | block.timestamp | Timestamp of the L2 block | Timestamp of the L1 block |
| 43 | NUMBER | block.number | L2 block number | Gets the L1 block number |
| 48 | BASEFEE | block.basefee | Returns the L2 base fee | Returns the base fee |
3 changes: 1 addition & 2 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import katex from 'rehype-katex';
module.exports = {
title: "Puffer UniFi Docs",
tagline: "Documentation for the Puffer UniFi Rollup",
url: "https://docs.puffer.fi",
url: "https://docs-unifi.puffer.fi",
baseUrl: "/",
onBrokenLinks: "throw",
onBrokenMarkdownLinks: "warn",
Expand Down Expand Up @@ -118,7 +118,6 @@ module.exports = {
docs: {
routeBasePath: "/",
sidebarPath: require.resolve("./sidebars.js"),
// Please change this to your repo.
editUrl: "https://github.com/PufferFinance/unifi-docs/tree/main",
remarkPlugins: [math],
rehypePlugins: [katex],
Expand Down
18 changes: 17 additions & 1 deletion sidebars.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,20 +22,35 @@ const sidebars = {
"intro",
"move-funds",
"bridge-ui",
"tee-multi-prover",
],
developersSidebar: [
{
type: "doc",
label: "Getting started",
id: "developers/getting-started/index",
},
{
type: "category",
label: "Concepts",
link: {
type: "generated-index",
},
collapsed: false,
items: [
{
type: "doc",
label: "TEE Multi Prover",
id: "developers/concepts/tee-multi-prover",
},
]
},
{
type: "category",
label: "Deploy a Smart Contract",
link: {
type: "generated-index",
},
collapsed: false,
items: [
{
type: "doc",
Expand All @@ -55,6 +70,7 @@ const sidebars = {
link: {
type: "generated-index",
},
collapsed: false,
items: [
{
type: "doc",
Expand Down

0 comments on commit f120ee8

Please sign in to comment.