Skip to content

Commit

Permalink
removed right-code (and doc-content, left-doc) #224 (#240)
Browse files Browse the repository at this point in the history
  • Loading branch information
inertia186 authored and relativityboy committed Jun 27, 2018
1 parent c61d1e9 commit fe34204
Show file tree
Hide file tree
Showing 51 changed files with 459 additions and 557 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: Contributors
position: 1
layout: full-row
layout: full
---

Everyone is welcome to contribute code to Steemit, Inc. projects. We have a Code of Conduct;
Expand Down
1 change: 0 additions & 1 deletion _api/_defaults.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ title:
position:
type:
description:
right_code:
---
1 change: 0 additions & 1 deletion _apidefinitions/_defaults.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ title:
position:
type:
description:
right_code:
---
1 change: 0 additions & 1 deletion _community/_defaults.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ title:
position:
type:
description:
right_code:
---
1 change: 0 additions & 1 deletion _glossary/_defaults.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ title:
position:
type:
description:
right_code:
---
4 changes: 2 additions & 2 deletions _glossary/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
exclude: true
exclude_nav: true
---
<section class="doc-content">
<section class="left-docs">
<section class="row">
<section class="row">
<dl class="dl-horizontal glossary">
{% for sections in site.data.glossary.index %}
<h3 id="{{ sections.id }}">{{sections.name}}</h3>
Expand Down
1 change: 0 additions & 1 deletion _introduction/_defaults.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ title:
position:
type:
description:
right_code:
---
2 changes: 0 additions & 2 deletions _introduction/welcome.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ title: Welcome to Steem
position: 1
---



#### Welcome to the Steem Developer Portal!

This site is designed to aid those interested in developing applications on the **[Steem](http://steem.com){:target="_blank"}** blockchain.
Expand Down
18 changes: 0 additions & 18 deletions _layouts/full-row.html

This file was deleted.

34 changes: 13 additions & 21 deletions _layouts/full.html
Original file line number Diff line number Diff line change
@@ -1,26 +1,18 @@
---
layout: default
---
<section id="{{page.id | slugify}}" class="doc-content {{ page.id | slugify }}">
<section class="left-docs">
<h3>
<a id="{{ page.id | slugify }}">
{{ page.title }}
{% if page.type %}
<span class="endpoint {{ page.type }}"></span>
{% endif %}
</a>
</h3>
{% if page.description %}
<p class="description">{{page.description}}</p>
{% endif %}

{{ page.content | replace: "<dl>", "<h6>Parameters</h6><dl>" }}
</section>

{% if page.right_code %}
<section class="right-code">
{{ page.right_code | markdownify }}
</section>
<section id="{{page.id | slugify}}" class="row {{ page.id | slugify }}">
<h3>
<a id="{{ page.id | slugify }}">
{{ page.title }}
{% if page.type %}
<span class="endpoint {{ page.type }}"></span>
{% endif %}
</a>
</h3>
{% if page.description %}
<p class="description">{{page.description}}</p>
{% endif %}

{{ page.content | replace: "<dl>", "<h6>Parameters</h6><dl>" }}
</section>
1 change: 0 additions & 1 deletion _quickstart/_defaults.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ title:
position:
type:
description:
right_code:
---
32 changes: 16 additions & 16 deletions _quickstart/steemd_nodes.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,6 @@
title: steemd Nodes
position: 2
exclude: true
right_code: |
``` bash
docker run \
-d -p 2001:2001 -p 8090:8090 --name steemd-default \
steemit/steem
docker logs -f steemd-default # follow along
```
``` bash
docker run \
--env USE_WAY_TOO_MUCH_RAM=1 \
-d -p 2001:2001 -p 8090:8090 --name steemd-full \
steemit/steem
docker logs -f steemd-full
```
---

Applications that interface directly with the Steem blockchain will need to connect to a `steemd` node. Developers may choose to use one of the public API nodes that are available, or run their own instance of a node.
Expand Down Expand Up @@ -83,3 +67,19 @@ echo 30000 | sudo tee /proc/sys/vm/dirty_writeback_centisecs
```

Another settings that can be changed in `config.ini` is `flush` - it is to specify a target number of blocks to process before flushing the chain database to disk. This is needed on Linux machines and a value of 100000 is recommended. It is not needed on OS X, but can be used if desired.

``` bash
docker run \
-d -p 2001:2001 -p 8090:8090 --name steemd-default \
steemit/steem

docker logs -f steemd-default # follow along
```
``` bash
docker run \
--env USE_WAY_TOO_MUCH_RAM=1 \
-d -p 2001:2001 -p 8090:8090 --name steemd-full \
steemit/steem

docker logs -f steemd-full
```
1 change: 0 additions & 1 deletion _services/_defaults.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@ title:
position:
type:
description:
right_code:
---
Loading

0 comments on commit fe34204

Please sign in to comment.