Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ci/solidity-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ yarn install
npm install -g solidity-docgen@0.5.16

echo "installing protocol repo..."
git clone http://github.com/umaprotocol/protocol/ --single-branch || echo "Repo already exists"
git clone https://github.com/umaprotocol/protocol/ --single-branch || echo "Repo already exists"
yarn install --cwd protocol/packages/core --ignore-scripts

echo "generating docs files..."
Expand Down
50 changes: 25 additions & 25 deletions config/footer.js
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
module.exports = {
links: [
{
title: "Docs",
items: [
{
label: "Oracle",
to: "/",
},
{
label: "DAO Products",
to: "/products/dao-products",
},
{
label: "Developers",
to: "developers/setup",
},
{
label: "Tokenholders",
to: "uma-tokenholders/uma-holders",
},
{
label: "Community",
to: "community/community-overview",
},
],
},
// {
// title: "Docs",
// items: [
// {
// label: "Oracle",
// to: "/",
// },
// {
// label: "DAO Products",
// to: "/products/dao-products",
// },
// {
// label: "Developers",
// to: "developers/setup",
// },
// {
// label: "Tokenholders",
// to: "uma-tokenholders/uma-holders",
// },
// {
// label: "Community",
// to: "community/community-overview",
// },
// ],
// },
{
title: "Community",
items: [
Expand Down
58 changes: 29 additions & 29 deletions config/navbar.js
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
module.exports = {
title: "Docs",
title: "Contracts Docs",
logo: {
alt: "UMA Logo",
src: "img/UMA_square_red_logo.png",
},
items: [
{
to: "/",
label: "Oracle",
position: "left",
activeBaseRegex: "(/$|econ-architecture|dev-quickstart|bug-bounty|oracle/tech-architecture|oracle/known-issues|getting-started/oracle|getting-started/oracle|synthetic-tokens/glossary)",
},
{
to: "products/dao-products",
label: "DAO Products",
position: "left",
activeBaseRegex: "(products|range-tokens|success-tokens|kpi-options|synthetic-tokens/what-are-synthetic-assets|synthetic-tokens/expiring-synthetic-tokens|synthetic-tokens/known-issues)",
},
// {
// to: "/",
// label: "Oracle",
// position: "left",
// activeBaseRegex: "(/$|econ-architecture|dev-quickstart|bug-bounty|oracle/tech-architecture|oracle/known-issues|getting-started/oracle|getting-started/oracle|synthetic-tokens/glossary)",
// },
// {
// to: "products/dao-products",
// label: "DAO Products",
// position: "left",
// activeBaseRegex: "(products|range-tokens|success-tokens|kpi-options|synthetic-tokens/what-are-synthetic-assets|synthetic-tokens/expiring-synthetic-tokens|synthetic-tokens/known-issues)",
// },
// {
// label: "Understanding UMA",
// to: "synthetic-tokens/explainer",
Expand All @@ -35,28 +35,28 @@ module.exports = {
// // },
// // ],
// },
{
to: "build-walkthrough/build-process",
label: "Developers",
position: "left",
activeBaseRegex: "(developers|build-walkthrough|getting-started/scalingsolutions|oracle/dvm-interface|oracle/optimistic-oracle-interface|synthetic-tokens/long-short-pair|dev-ref/mainnet-info|dev-ref/addresses|dev-ref/subgraphs)",
},
{
to: "uma-tokenholders/uma-holders",
label: "Tokenholders",
position: "left",
activeBasePath: "uma-tokenholders",
},
// {
// to: "build-walkthrough/build-process",
// label: "Developers",
// position: "left",
// activeBaseRegex: "(developers|build-walkthrough|getting-started/scalingsolutions|oracle/dvm-interface|oracle/optimistic-oracle-interface|synthetic-tokens/long-short-pair|dev-ref/mainnet-info|dev-ref/addresses|dev-ref/subgraphs)",
// },
// {
// to: "uma-tokenholders/uma-holders",
// label: "Tokenholders",
// position: "left",
// activeBasePath: "uma-tokenholders",
// },
// {
// to: "dev-ref/addresses",
// label: "Developer Reference",
// position: "left",
// activeBasePath: "dev-ref",
// },
{ to: "community/community-overview",
label: "Community",
position: "left",
activeBaseRegex: "(users|community)" },
// { to: "community/community-overview",
// label: "Community",
// position: "left",
// activeBaseRegex: "(users|community)" },
{ to: "contracts/Contracts",
label: "Contracts",
position: "left",
Expand Down
Loading