Skip to content

Commit fd0ea86

Browse files
doc: updates
1 parent d66586b commit fd0ea86

12 files changed

+51
-145
lines changed

docs/fonts/Inter-Bold.ttf

309 KB
Binary file not shown.

docs/fonts/Inter-Regular.ttf

303 KB
Binary file not shown.
File renamed without changes.
-94.8 KB
Binary file not shown.
-94 KB
Binary file not shown.

docs/fonts/Manrope/Manrope-Light.ttf

-94.1 KB
Binary file not shown.

docs/fonts/Manrope/Manrope-Medium.ttf

-94.2 KB
Binary file not shown.
-94.2 KB
Binary file not shown.
-94.3 KB
Binary file not shown.

docs/fonts/Manrope/stylesheet.css

-55
This file was deleted.

docs/index.md

+23-22
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ The SMPKit helps you build services that execute investment strategies on liquid
99

1010
!!! warning "Important"
1111

12-
This section is under active development - please report issues in the [Autonolas Discord](https://discord.com/invite/z2PT65jKqQ).
12+
This section is under active development - please report issues in the [Autonolas Discord](https://discord.com/invite/z2PT65jKqQ).
1313

1414
In order to run a local demo based on the SMPKit:
1515

@@ -25,16 +25,16 @@ In order to run a local demo based on the SMPKit:
2525

2626
2. Fetch the Smart Managed Pools service.
2727

28-
```bash
29-
autonomy fetch balancer/autonomous_fund_goerli:0.1.0:bafybeidscoxydlfogtbghqgoziuck4wxwyerxgpyad4k6g3jw2xrdi2qcm --service
30-
```
28+
```bash
29+
autonomy fetch balancer/autonomous_fund_goerli:0.1.0:bafybeidscoxydlfogtbghqgoziuck4wxwyerxgpyad4k6g3jw2xrdi2qcm --service
30+
```
3131

3232
3. Build the Docker image of the service agents
3333

34-
```bash
35-
cd autonomous_fund_goerli
36-
autonomy build-image
37-
```
34+
```bash
35+
cd autonomous_fund_goerli
36+
autonomy build-image
37+
```
3838

3939
4. Prepare the `keys.json` file containing the wallet address and the private key for each of the agents.
4040

@@ -62,6 +62,7 @@ In order to run a local demo based on the SMPKit:
6262
}
6363
]
6464
```
65+
6566
5. Export the necessary environment variables.
6667

6768
```bash
@@ -71,16 +72,16 @@ In order to run a local demo based on the SMPKit:
7172
export SERVICE_AUTONOMOUS_FUND_RPC_2=YOUR_RPC_ENDPOINT
7273
export SERVICE_AUTONOMOUS_FUND_RPC_3=YOUR_RPC_ENDPOINT
7374
74-
# set all participants
75-
export ALL_PARTICIPANTS='["0x15d34AAf54267DB7D7c367839AAf71A00a2C6A65","0x9965507D1a55bcC2695C58ba16FB37d819B0A4dc","0x976EA74026E726554dB657fA54763abd0C3a0aa9","0x14dC79964da2C08b23698B3D3cc7Ca32193d9955"]'
75+
# set all participants
76+
export ALL_PARTICIPANTS='["0x15d34AAf54267DB7D7c367839AAf71A00a2C6A65","0x9965507D1a55bcC2695C58ba16FB37d819B0A4dc","0x976EA74026E726554dB657fA54763abd0C3a0aa9","0x14dC79964da2C08b23698B3D3cc7Ca32193d9955"]'
7677
77-
# set the on chain id for the service
78-
export ON_CHAIN_SERVICE_ID=1
79-
```
78+
# set the on chain id for the service
79+
export ON_CHAIN_SERVICE_ID=1
80+
```
81+
82+
!!! warning "Important"
8083

81-
!!! warning "Important"
82-
83-
The keys provided in this example are for testing purposes. You must ensure to use your own keys in the `keys.json` file, and ensure that the environment variable `ALL_PARTICIPANTS` matches their addresses.
84+
The keys provided in this example are for testing purposes. You must ensure to use your own keys in the `keys.json` file, and ensure that the environment variable `ALL_PARTICIPANTS` matches their addresses.
8485

8586
6. Build the service deployment.
8687

@@ -90,12 +91,12 @@ In order to run a local demo based on the SMPKit:
9091

9192
7. Run the service.
9293

93-
```bash
94-
cd abci_build
95-
autonomy deploy run
96-
```
94+
```bash
95+
cd abci_build
96+
autonomy deploy run
97+
```
9798

98-
You can cancel the local execution at any time by pressing ++ctrl+c++.
99+
You can cancel the local execution at any time by pressing ++ctrl+c++.
99100

100101
Note:
101102
The safe contract on Goerli associated with the autonomous-fund is configured to run with a specific set of keys (not the ones provided above). Running the service without those keys will result in failed on-chain transactions.
@@ -110,4 +111,4 @@ The safe contract on Goerli associated with the autonomous-fund is configured to
110111

111112
!!! tip "Looking for help building your own?"
112113

113-
Refer to the [Autonolas Discord community](https://discord.com/invite/z2PT65jKqQ), or consider ecosystem services like [Valory Propel](https://propel.valory.xyz) for the fastest way to get your first autonomous service in production.
114+
Refer to the [Autonolas Discord community](https://discord.com/invite/z2PT65jKqQ), or consider ecosystem services like [Valory Propel](https://propel.valory.xyz) for the fastest way to get your first autonomous service in production.

docs/stylesheets/extra.css

+28-68
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,31 @@
1-
@font-face {
2-
font-family: 'manrope__font_regular';
3-
src: url('../fonts/Manrope/Manrope-Regular.ttf');
4-
font-weight: normal;
5-
font-style: normal;
6-
font-display: swap;
7-
}
1+
/* Fonts */
82

93
@font-face {
10-
font-family: 'manrope__font_medium';
11-
src: url('../fonts/Manrope/Manrope-Medium.ttf');
4+
font-family: 'manrope__bold';
5+
src: url('../fonts/Manrope-Bold.ttf');
126
font-weight: normal;
137
font-style: normal;
148
font-display: swap;
159
}
1610

1711
@font-face {
18-
font-family: 'manrope__font_bold';
19-
src: url('../fonts/Manrope/Manrope-Bold.ttf');
12+
font-family: 'inter__regular';
13+
src: url('../fonts/Inter-Regular.ttf');
2014
font-weight: normal;
2115
font-style: normal;
2216
font-display: swap;
2317
}
2418

2519
@font-face {
26-
font-family: 'manrope__font_heavy';
27-
src: url('../fonts/Manrope/Manrope-ExtraBold.ttf');
20+
font-family: 'inter__bold';
21+
src: url('../fonts/Inter-Bold.ttf');
2822
font-weight: normal;
2923
font-style: normal;
3024
font-display: swap;
3125
}
3226

33-
/* can add more font from autonolas repo if more fonts are needed */
27+
28+
/* can add more fonts from autonolas repo if more fonts are needed */
3429

3530
:root {
3631
--md-primary-fg-color: #7200D6;
@@ -43,37 +38,34 @@
4338
--md-extra-color-gray-1: #585858;
4439
--md-extra-color-gray-2: #f8f8f7;
4540
--md-extra-color-gray-3: #000000;
46-
--md-text-font-lightregular: "manrope__font_regular";
47-
--md-text-font-medium: "manrope__font_medium";
48-
--md-text-font-bold: "manrope__font_bold";
49-
--md-text-font-heavy: "manrope__font_heavy";
50-
--md-text-font-family: "manrope__font_regular";
51-
}
52-
53-
/* font changes */
54-
.md-content__inner h1,
55-
.md-content__inner h2,
56-
.md-content__inner h3,
57-
.md-sidebar .md-nav .md-nav__title,
58-
.md-footer .md-footer-nav__title {
59-
font-family: var(--md-text-font-lightregular);
41+
--md-body-font: "inter__regular", "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
42+
--md-heading-font: "manrope__bold", var(--body-font);
43+
}
44+
45+
.md-content__inner h1 {
46+
font-family: var(--md-heading-font);
47+
}
48+
49+
.md-nav--primary .md-nav__title {
50+
display: none;
6051
}
6152

6253
/* header & tabs */
6354
.md-header {
6455
color: var(--md-extra-color-white);
6556
}
6657

58+
.md-header__title {
59+
margin-left: 0;
60+
}
61+
6762
/* hiding icon at top */
6863
.md-header-nav .md-flex__cell.md-flex__cell--shrink {
6964
display: none;
7065
}
7166

7267
.md-header-nav .md-header-nav__title .md-header-nav__topic {
73-
text-transform: uppercase;
74-
letter-spacing: 20px;
7568
font-size: 24px;
76-
font-family: var(--md-text-font-medium);
7769
}
7870

7971
.md-header-nav .md-header-nav__title .md-header-nav__topic:nth-child(2) {
@@ -100,7 +92,6 @@
10092

10193
/* left sidebar */
10294
.md-sidebar .md-nav .md-nav__title {
103-
text-transform: uppercase;
10495
color: var(--md-extra-color-black);
10596
font-size: 18px;
10697
}
@@ -125,20 +116,10 @@
125116

126117
/* ------ content ------ */
127118
.md-content__inner h1 {
128-
text-transform: uppercase;
129119
font-weight: bold;
130120
color: var(--md-extra-color-black);
131121
}
132122

133-
.md-content__inner h2 {
134-
color: var(--md-primary-fg-color);
135-
/* font-family: var(--md-text-font-bold); */
136-
}
137-
138-
.md-content__inner h3 {
139-
color: var(--md-primary-fg-color);
140-
}
141-
142123
.md-typeset a {
143124
color: var(--md-typeset-a-color);
144125
font-weight: bold;
@@ -149,31 +130,6 @@
149130
color: var(--md-typeset-a-color);
150131
}
151132

152-
.md-typeset .admonition,
153-
.md-typeset details {
154-
border-color: var(--md-primary-fg-color);
155-
border: none;
156-
}
157-
158-
.md-typeset .note>.admonition-title:before,
159-
.md-typeset .note>summary:before {
160-
background-color: var(--md-primary-fg-color);
161-
}
162-
163-
.md-typeset .admonition>.admonition-title:before,
164-
.md-typeset .admonition>summary:before,
165-
.md-typeset details>.admonition-title:before,
166-
.md-typeset details>summary:before {
167-
color: var(--md-primary-fg-color);
168-
}
169-
170-
.md-typeset .admonition>.admonition-title,
171-
.md-typeset .admonition>summary,
172-
.md-typeset details>.admonition-title,
173-
.md-typeset details>summary {
174-
background-color: var(--md-primary-fg-color--light);
175-
}
176-
177133
/* ------ footer ------ */
178134
.md-footer {
179135
background-color: var(--md-primary-fg-color);
@@ -182,7 +138,7 @@
182138
.md-footer .md-footer-nav,
183139
.md-footer .md-footer-nav__direction {
184140
color: var(--md-extra-color-black);
185-
font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
141+
font-family: var(--md-body-font);
186142
}
187143

188144
.md-footer .md-footer-nav__title {
@@ -198,6 +154,10 @@
198154
}
199155

200156
/* ------ common ------ */
157+
body {
158+
font-family: var(--md-body-font);
159+
}
160+
201161
pre {
202162
background-color: #f8f8f7;
203163
background-color: var(--md-extra-color-gray-2);

0 commit comments

Comments
 (0)