Skip to content

Commit

Permalink
docs: update ADRs rendering (#1937)
Browse files Browse the repository at this point in the history
* update ADRs in docs

* chore: ignore templates directories in docs folder

* fix broken links

* fix broken links

---------

Co-authored-by: MSalopek <matija.salopek994@gmail.com>
  • Loading branch information
mpoke and MSalopek authored Jun 25, 2024
1 parent 2c07a38 commit 25f3132
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 8 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ If your architecture decision is a simple change, you may contribute directly wi

In certain circumstances, the architecture decision may require changes to the ICS spec. Note that the spec is responsible for defining language-agnostic, implementation-agnostic behaviors for the ICS protocol. Whereas ADRs are responsible for communicating implementation decisions contained within this repo.

To create an ADR, follow the [template](docs/docs/adrs/adr-template.md) and [doc](docs/docs/adrs/intro.md). If you would like to see examples of how these are written, please refer to the current [ADRs](docs/docs/adrs).
To create an ADR, follow the [template](docs/docs/adrs/templates/adr-template.md) and [doc](docs/docs/adrs/intro.md). If you would like to see examples of how these are written, please refer to the current [ADRs](docs/docs/adrs).

### ADR Proposals

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/adrs/adr-004-denom-dos-fixes.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
sidebar_position: 2
title: ADR Template
title: Denom DOS fixes
---
# ADR 004: Denom DOS fixes

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/adrs/adr-007-pause-unbonding-on-eqv-prop.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
sidebar_position: 2
title: ADR Template
title: Pause validator unbonding during equivocation proposal
---
# ADR 007: Pause validator unbonding during equivocation proposal

Expand Down
8 changes: 4 additions & 4 deletions docs/docs/adrs/intro.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
sidebar_position: 1
title: ADRs
title: Overview
---

# Architecture Decision Records (ADR)
# Overview

This is a location to record all high-level architecture decisions in the Interchain Security project.

You can read more about the ADR concept in this [blog post](https://product.reverb.com/documenting-architecture-decisions-the-reverb-way-a3563bb24bd0#.78xhdix6t).
You can read more about the Architecture Decision Record (ADR) concept in this [blog post](https://product.reverb.com/documenting-architecture-decisions-the-reverb-way-a3563bb24bd0#.78xhdix6t).

An ADR should provide:

Expand All @@ -26,7 +26,7 @@ If recorded decisions turned out to be lacking, convene a discussion, record the

Note the context/background should be written in the present tense.

To suggest an ADR, please make use of the [ADR template](./adr-template.md) provided.
To suggest an ADR, please make use of the [ADR template](./templates/adr-template.md) provided.

## Table of Contents

Expand Down
File renamed without changes.
4 changes: 4 additions & 0 deletions docs/docs/features/democracy-modules.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
sidebar_position: 5
---

# Democracy modules

This section is relevant for chains transitioning from a standalone chain and new consumer chains that require some functionality from the `x/staking` module.
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/features/partial-set-security.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
sidebar_position: 5
sidebar_position: 6
---

# Partial Set Security
Expand Down
4 changes: 4 additions & 0 deletions docs/docs/features/power-shaping.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
---
sidebar_position: 7
---

# Power Shaping

To give consumer chains more flexibility in choosing their validator set, Interchain Security offers
Expand Down
1 change: 1 addition & 0 deletions docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ const config = {
},
remarkPlugins: [remarkMath],
rehypePlugins: [rehypeKatex],
exclude: ["**/templates/*"],
},

theme: {
Expand Down

0 comments on commit 25f3132

Please sign in to comment.