Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove inline HTML for images #1168

Merged
merged 3 commits into from
May 19, 2021
Merged
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 docs/about/license.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# <img class="dcr-icon" src="/img/dcr-icons/Document.svg" /> License
# ![](../img/dcr-icons/Document.svg){ .dcr-icon } License

dcrdocs is licensed under the [copyfree](http://copyfree.org) ISC License.

Expand Down
8 changes: 4 additions & 4 deletions docs/advanced/dcrtime.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# <img class="dcr-icon" src="/img/dcr-icons/Servers.svg" /> dcrtime
# ![](../img/dcr-icons/Servers.svg){ .dcr-icon } dcrtime

---

Expand Down Expand Up @@ -37,9 +37,9 @@ The dcrtime service is comprised of four components:
* **dcrwallet:** A Decred wallet daemon.
* **dcrd:** A full node implementation of Decred.

The diagram below illustrates how the components are connected.
The diagram below illustrates how the components are connected.

![dcrtime architecture](/img/dcrtime_architecture_diagram.png)
![dcrtime architecture](../img/dcrtime_architecture_diagram.png)

## dcrtime implementation

Expand Down Expand Up @@ -100,7 +100,7 @@ Politeia commits user data (new proposals, edits, etc.) as needed to a public gi

The diagram below provides a high-level diagram of the timestamping process.

![dcrtime politeia](/img/dcrtime_politeia_diagram.png)
![dcrtime politeia](../img/dcrtime_politeia_diagram.png)

To illustrate, let's examine an anchor from a real proposal, the [Decred Bug Bounty Proposal: Phase 2](https://proposals.decred.org/proposals/073694ed82d34b2bfff51e35220e8052ad4060899b23bc25791a9383375cae70) proposal. This anchor hashes two commits to the blockchain. The first [commit](https://github.com/decred-proposals/mainnet/commit/9125d351db4a429681cd7158d2c17d62a2b47c4c) contains all vote data submitted in the last hour. The second [commit](https://github.com/decred-proposals/mainnet/commit/afcca3b205ab6ec749d26e1903414aa35acd9767) contains all comments submitted in the last hour. First, Politeia will submit an anchor commit, which appends an "Audit Trail Record" containing metadata to `anchor_audit_trail.txt`, as shown below.

Expand Down
2 changes: 1 addition & 1 deletion docs/advanced/deleting-your-wallet.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# <img class="dcr-icon" src="/img/dcr-icons/DeleteWallet.svg" /> Deleting Your Wallet
# ![](../img/dcr-icons/DeleteWallet.svg){ .dcr-icon } Deleting Your Wallet

There are a few reasons you might need to delete your wallet.

Expand Down
2 changes: 1 addition & 1 deletion docs/advanced/full-node.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# <img class="dcr-icon" src="/img/dcr-icons/AtoB.svg" /> Running a Full Node
# ![](../img/dcr-icons/AtoB.svg){ .dcr-icon } Running a Full Node

---

Expand Down
2 changes: 1 addition & 1 deletion docs/advanced/general-security.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# <img class="dcr-icon" src="/img/dcr-icons/Harddrive.svg" /> Security
# ![](../img/dcr-icons/Harddrive.svg){ .dcr-icon } Security

This page provides a list of things you can do to improve your security when working with DCR, or cryptocurrencies more generally.

Expand Down
6 changes: 3 additions & 3 deletions docs/advanced/issuance.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# <img class="dcr-icon" src="/img/dcr-icons/Rocket.svg" /> Issuance
# ![](../img/dcr-icons/Rocket.svg){ .dcr-icon } Issuance

---

Expand All @@ -20,7 +20,7 @@ The hard cap with no “tail emissions” beyond the scheduled ~21M is designed

The following chart shows an estimate of the coin supply growth over time.

![Decred supply chart](/img/decred_supply.png)
![Decred supply chart](../img/decred_supply.png)

The table below shows the estimated block reward and estimated total supply of Decred up to block 2,457,600 in 2039. Note that the total supply of DCR at block 1 is 1,680,000 due to the [premine](premine.md). There was no block reward for proof-of-work miners in block 1, which allowed miners to voluntarily choose whether or not to accept the terms of the airdrop independent of a potential reward which could skew the incentive. PoS voting started at block 4,096[^3] therefore PoS rewards were not generated before that height.

Expand Down Expand Up @@ -432,7 +432,7 @@ Block height | Estimated date | Block reward (DCR) | PoW (DCR) | PoS (DCR

---

## <img class="dcr-icon" src="/img/dcr-icons/Sources.svg" /> Sources
## ![](../img/dcr-icons/Sources.svg){ .dcr-icon } Sources

[^1]: [Blockchain parameters](https://devdocs.decred.org/developer-guides/blockchain-parameters/)
[^2]: GitHub, [decred/dcrd](https://github.com/decred/dcrd/blob/5076a00512a521cea3c51b443b50970804dbe712/blockchain/subsidy_test.go#L52-L54)
Expand Down
2 changes: 1 addition & 1 deletion docs/advanced/manual-cli-install.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# <img class="dcr-icon" src="/img/dcr-icons/Dcrtl.svg" /> Manual CLI Installation
# ![](../img/dcr-icons/Dcrtl.svg){ .dcr-icon } Manual CLI Installation

Last updated for CLI release v{{ cliversion }}.

Expand Down
8 changes: 4 additions & 4 deletions docs/advanced/navigating-politeia-data.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# <img class="dcr-icon" src="/img/dcr-icons/Politeia.svg" /> Navigating Politeia Data
# ![](../img/dcr-icons/Politeia.svg){ .dcr-icon } Navigating Politeia Data

---

Expand All @@ -10,19 +10,19 @@ For the purpose of this guide we'll be using this [previous proposal](https://pr

Below is a screenshot of the root directory of the [decred-proposals/mainnet](https://github.com/decred-proposals/mainnet) repo.

![The root of the mainnet repository. * = proposal folders, A = anchoring data](/img/politeia/mainnet-pi-repo.png)
![The root of the mainnet repository. * = proposal folders, A = anchoring data](../img/politeia/mainnet-pi-repo.png)

Folders marked with `*` contain proposal data. Folders and files marked with `A` contain anchoring data. Anchoring data relates to the anchoring of Politeia data to the Decred blockchain through [dcrtime](dcrtime.md), which facilitates Politeia's transparent censorship functionality. This guide will not describe those files in detail, as they are not likely to be of interest for analysis.

Within each proposal folder there are sequentially numbered sub-folders, one for each version of the proposal. The first folder ('/1') corresponds to the initial version of the proposal submitted to Politeia. If a proposal author updates their proposal (typically in response to community feedback), the updated version and its associated data are put into folder ('/2'), and so on.

Below shows the contents of our example proposal's folder. As we can see, there are two versions of the proposal.

![Versions of the example proposal](/img/politeia/example-proposal.png)
![Versions of the example proposal](../img/politeia/example-proposal.png)

If we click on the latest version ('/2'), we can see all the relevant data for this version.

![Folder for version 2 of the example proposal](/img/politeia/prop-version2.png)
![Folder for version 2 of the example proposal](../img/politeia/prop-version2.png)

Below is a table with descriptions of the files and folders found in each proposal version folder.

Expand Down
4 changes: 2 additions & 2 deletions docs/advanced/premine.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# <img class="dcr-icon" src="/img/dcr-icons/PoWMine.svg" /> Premine
# ![](../img/dcr-icons/PoWMine.svg){ .dcr-icon } Premine

---

Expand Down Expand Up @@ -66,7 +66,7 @@ After the final review was completed, 2,972 addresses were included in the airdr

---

## <img class="dcr-icon" src="/img/dcr-icons/Sources.svg" /> Further Reading
## ![](../img/dcr-icons/Sources.svg){ .dcr-icon } Further Reading

#### Premine Commitments

Expand Down
2 changes: 1 addition & 1 deletion docs/advanced/verifying-binaries.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# <img class="dcr-icon" src="/img/dcr-icons/Code.svg" /> Verifying Binaries
# ![](../img/dcr-icons/Code.svg){ .dcr-icon } Verifying Binaries
---

## Overview
Expand Down
10 changes: 5 additions & 5 deletions docs/contributing/contributor-compensation.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# <img class="dcr-icon" src="/img/dcr-icons/ObtainingDecred.svg" /> Contributor Compensation
# ![](../img/dcr-icons/ObtainingDecred.svg){ .dcr-icon } Contributor Compensation

---

## <img class="dcr-icon" src="/img/dcr-icons/User.svg" /> Contractors
## ![](../img/dcr-icons/User.svg){ .dcr-icon } Contractors

The term "Contractors" covers both **corporate contractors** and **independent contractors**.

Expand All @@ -20,7 +20,7 @@ Decred currently has over 50 contributors (independent contractors and employees

---

## <img class="dcr-icon" src="/img/dcr-icons/Wallet.svg" /> Billing and Payments
## ![](../img/dcr-icons/Wallet.svg){ .dcr-icon } Billing and Payments

At the end of each month, each contractor prepares an invoice and submits it to the Decred Holdings Group LLC (DHG). The invoice lists the items the contractor has worked on and a charge (in USD) for each - typically these charges are for a number of hours worked at an agreed hourly rate.

Expand Down Expand Up @@ -50,7 +50,7 @@ project contributors to validate each others locations.

---

## <img class="dcr-icon" src="/img/dcr-icons/RFP.svg" /> Request for Proposals (RFP) - Historical
## ![](../img/dcr-icons/RFP.svg){ .dcr-icon } Request for Proposals (RFP) - Historical

Decred was launched with a Request For Proposal system in order to provide compensation for contributors working on larger or more significant projects. A document (RFP) would be produced which described the requirements and scope of a project, along with a clearly defined set of milestones and a reward specified in DCR. The RFP would be posted publicly and community members would be given a period of time to submit their proposals. After review, a proposal would be selected and awarded the contract.

Expand All @@ -60,6 +60,6 @@ The RFP process worked well for certain types of tasks, however a need arose to

---

## <img class="dcr-icon" src="/img/dcr-icons/Sources.svg" /> Sources
## ![](../img/dcr-icons/Sources.svg){ .dcr-icon } Sources

[^1]: Decred Blog, [2017 Decred Roadmap](https://blog.decred.org/2017/01/09/2017-Decred-Roadmap/)
6 changes: 3 additions & 3 deletions docs/contributing/overview.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# <img class="dcr-icon" src="/img/dcr-icons/Code.svg" /> Contributing to Decred
# ![](../img/dcr-icons/Code.svg){ .dcr-icon } Contributing to Decred

---

Expand All @@ -10,7 +10,7 @@ The strength of the open source approach to production is that individuals effic

---

## <img class="dcr-icon" src="/img/dcr-icons/Dcrtl.svg" /> Guidelines
## ![](../img/dcr-icons/Dcrtl.svg){ .dcr-icon } Guidelines

While the process of contributing will vary depending on domain, the basic steps will be as follows:

Expand All @@ -23,7 +23,7 @@ If contributing code, see the [contributor guidelines](https://devdocs.decred.or

---

## <img class="dcr-icon" src="/img/dcr-icons/Introductions.svg" /> Becoming a paid Contractor
## ![](../img/dcr-icons/Introductions.svg){ .dcr-icon } Becoming a paid Contractor

Decred has a Treasury fund to pay contributors who work effectively to advance the project. To become a paid contractor one must demonstrate that one's work is of value to the project. The [recruitment blog post](https://blog.decred.org/2017/07/25/Decred-Recruiting/) by Project Organizer Jake Yocom-Piatt is the definitive guide to becoming a contractor.

Expand Down
2 changes: 1 addition & 1 deletion docs/faq/blocks.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# <img class="dcr-icon" src="/img/dcr-icons/Blocks.svg" /> Blocks
# ![](../img/dcr-icons/Blocks.svg){ .dcr-icon } Blocks

---

Expand Down
2 changes: 1 addition & 1 deletion docs/faq/configuration.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# <img class="dcr-icon" src="/img/dcr-icons/Config1.svg" /> Configuration
# ![](../img/dcr-icons/Config1.svg){ .dcr-icon } Configuration

---

Expand Down
2 changes: 1 addition & 1 deletion docs/faq/errors.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# <img class="dcr-icon" src="/img/dcr-icons/Question.svg" /> Common Errors and Solutions
# ![](../img/dcr-icons/Question.svg){ .dcr-icon } Common Errors and Solutions

## Proof-of-Stake (PoS)

Expand Down
2 changes: 1 addition & 1 deletion docs/faq/general.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# <img class="dcr-icon" src="/img/dcr-icons/Meta.svg" /> General
# ![](../img/dcr-icons/Meta.svg){ .dcr-icon } General

---

Expand Down
2 changes: 1 addition & 1 deletion docs/faq/proof-of-stake/buying-tickets-and-fees.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# <img class="dcr-icon" src="/img/dcr-icons/BuyTicket.svg" /> Buying Tickets and Fees
# ![](../../img/dcr-icons/BuyTicket.svg){ .dcr-icon } Buying Tickets and Fees

---

Expand Down
2 changes: 1 addition & 1 deletion docs/faq/proof-of-stake/general.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# <img class="dcr-icon" src="/img/dcr-icons/TicketLive.svg" /> Proof-of-Stake General FAQ
# ![](../../img/dcr-icons/TicketLive.svg){ .dcr-icon } Proof-of-Stake General FAQ

---

Expand Down
2 changes: 1 addition & 1 deletion docs/faq/proof-of-stake/solo-voting.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# <img class="dcr-icon" src="/img/dcr-icons/Solo.svg" /> Solo Voting
# ![](../../img/dcr-icons/Solo.svg){ .dcr-icon } Solo Voting

---

Expand Down
2 changes: 1 addition & 1 deletion docs/faq/proof-of-stake/voting-service-providers.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# <img class="dcr-icon" src="/img/dcr-icons/Servers.svg" /> Voting Service Providers
# ![](../../img/dcr-icons/Servers.svg){ .dcr-icon } Voting Service Providers

---

Expand Down
2 changes: 1 addition & 1 deletion docs/faq/proof-of-work-mining.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# <img class="dcr-icon" src="/img/dcr-icons/PoWMine.svg" /> Proof-of-Work (PoW) Mining
# ![](../img/dcr-icons/PoWMine.svg){ .dcr-icon } Proof-of-Work (PoW) Mining

---

Expand Down
2 changes: 1 addition & 1 deletion docs/faq/wallets-and-seeds.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# <img class="dcr-icon" src="/img/dcr-icons/CreateWallet.svg" /> Wallets and Seeds
# ![](../img/dcr-icons/CreateWallet.svg){ .dcr-icon } Wallets and Seeds

---

Expand Down
2 changes: 1 addition & 1 deletion docs/getting-started/articles-and-media.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# <img class="dcr-icon" alt="Decred logo" src="/img/dcr-icons/DCRsymbol.svg" /> Articles and Media
# ![](../img/dcr-icons/DCRsymbol.svg){ .dcr-icon } Articles and Media

---

Expand Down
2 changes: 1 addition & 1 deletion docs/getting-started/beginner-guide.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# <img class="dcr-icon" src="/img/dcr-icons/Flag.svg" /> Beginner's Guide
# ![](../img/dcr-icons/Flag.svg){ .dcr-icon } Beginner's Guide

---

Expand Down
14 changes: 7 additions & 7 deletions docs/getting-started/joining-matrix-channels.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,27 +27,27 @@ Element supports multiple platforms:

When creating your account, select "Advanced" to choose to use a custom homeserver and enter `https://matrix.decred.org`.

![Select Home Server](/img/matrix/matrix-02-select-home-server.png)
![Select Home Server](../img/matrix/matrix-02-select-home-server.png)

If you filled the email field, check your in-box to verify your account.

![Create Account](/img/matrix/matrix-03-create-account.png)
![Create Account](../img/matrix/matrix-03-create-account.png)

Once in, you can begin exploring the different channels using the "Explore" feature.

![Explore Rooms](/img/matrix/matrix-04-explore-rooms.png)
![Explore Rooms](../img/matrix/matrix-04-explore-rooms.png)

Most Decred projects have their own channel, joining areas you would like to contribute to is encouraged.

![Room List](/img/matrix/matrix-05-room-list.png)
![Room List](../img/matrix/matrix-05-room-list.png)

Anyone can create new channels. Feel free to make one for your Decred related project or friend group.

![Create Room](/img/matrix/matrix-06-create-room.png)
![Create Room](../img/matrix/matrix-06-create-room.png)

Decred is a community of builders. Price and trading discussions have their own `#trading:decred.org` channel.

![Trading Channel](/img/matrix/matrix-07-trading-channel.png)
![Trading Channel](../img/matrix/matrix-07-trading-channel.png)

Keep in mind that Matrix channels is where the Decred community collaborates, works and hangs around. Be respectful.

Expand All @@ -59,4 +59,4 @@ Logging in from your mobile device requires you to setup the homeserver to `http

After logging in for the first time, your rooms list will be empty. To find Decred channels tap the top-right menu dots, then "Global Search", and browse Decred's rooms directory.

![Mobile App](/img/matrix/matrix-08-mobile.png)
![Mobile App](../img/matrix/matrix-08-mobile.png)
14 changes: 7 additions & 7 deletions docs/getting-started/obtaining-dcr.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# <img class="dcr-icon" src="/img/dcr-icons/ObtainingDecred.svg" /> Obtaining DCR
# ![](../img/dcr-icons/ObtainingDecred.svg){ .dcr-icon } Obtaining DCR

---

## <img class="dcr-icon" src="/img/dcr-icons/Info.svg" /> Overview
## ![](../img/dcr-icons/Info.svg){ .dcr-icon } Overview

This article discusses some of the ways a user can acquire Decred.

Expand All @@ -16,7 +16,7 @@ The five basic ways are:

---

## <img class="dcr-icon" src="/img/dcr-icons/PurchasingDCR.svg" /> Purchasing Decred
## ![](../img/dcr-icons/PurchasingDCR.svg){ .dcr-icon } Purchasing Decred

There is a variety of ways to purchase Decred listed on the [Decred website](https://decred.org/exchanges/).

Expand All @@ -26,25 +26,25 @@ There is a variety of ways to purchase Decred listed on the [Decred website](htt

---

## <img class="dcr-icon" src="/img/dcr-icons/PoWMine.svg" /> Mine for Decred (PoW)
## ![](../img/dcr-icons/PoWMine.svg){ .dcr-icon } Mine for Decred (PoW)

Proof-of-Work (PoW) is a measure of using computational power to create and verify the cryptographically secure blockchain. This is similar to traditional Bitcoin mining. PoW mining is described in more detail [here](../mining/overview.md).

---

## <img class="dcr-icon" src="/img/dcr-icons/TicketVoted.svg" /> Participate in Proof-of-Stake Voting
## ![](../img/dcr-icons/TicketVoted.svg){ .dcr-icon } Participate in Proof-of-Stake Voting

Proof-of-Stake (PoS) voting is performed by stakeholders who lock a certain amount of their DCR in return for voting rights and a monetary reward. PoS voting is described in more detail [here](../proof-of-stake/overview.md).

---

## <img class="dcr-icon" src="/img/dcr-icons/Credits.svg" /> Contribute to Decred
## ![](../img/dcr-icons/Credits.svg){ .dcr-icon } Contribute to Decred

Decred is currently recruiting contractors - members of the community who are paid in Decred for their contributions. Check out [Contributing](../contributing/overview.md) section for details and how to get involved.

---

## <img class="dcr-icon" src="/img/dcr-icons/SellGoods.svg" /> Sell/Trade Goods or Services for Decred
## ![](../img/dcr-icons/SellGoods.svg){ .dcr-icon } Sell/Trade Goods or Services for Decred

If you are an online merchant, there are some payment processors listed on the [Decred website](https://decred.org/exchanges/) which can help you accept Decred payments. Some of these payment processors can also provide integration with major e-commerce platforms.

Expand Down
Loading