Skip to content

Commit

Permalink
docs: change changelog order
Browse files Browse the repository at this point in the history
Displaying newest releases first seems more intuitive.

Refs: ECALC-1021
  • Loading branch information
jsolaas committed May 2, 2024
1 parent eb5d75c commit 0bf6fe6
Show file tree
Hide file tree
Showing 26 changed files with 28 additions and 27 deletions.
2 changes: 1 addition & 1 deletion docs/docs/changelog/next.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ slug: latest
title: Next
authors: ecalc-team
tags: [release, eCalc]
sidebar_position: 1
sidebar_position: -1002
---

# eCalc
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/changelog/separator.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ slug: separator
title: ---
authors: ecalc-team
tags: [release, eCalc]
sidebar_position: 2
sidebar_position: -1000
---
2 changes: 1 addition & 1 deletion docs/docs/changelog/v7-0.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ slug: v7-0-release
title: v7.0
authors: ecalc-team
tags: [release, eCalc]
sidebar_position: 3
sidebar_position: -3
---

# eCalc v7.0
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/changelog/v7-1.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ slug: v7-1-release
title: v7.1
authors: ecalc-team
tags: [release, eCalc]
sidebar_position: 4
sidebar_position: -4
---

# eCalc v7.1
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/changelog/v7-2.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ slug: v7-2-release
title: v7.2
authors: ecalc-team
tags: [release, eCalc]
sidebar_position: 5
sidebar_position: -5
---

# eCalc v7.2
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/changelog/v7-3.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ slug: v7-3-release
title: v7.3
authors: ecalc-team
tags: [release, eCalc]
sidebar_position: 6
sidebar_position: -6
---

# eCalc v7.3
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/changelog/v7-4.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ slug: v7-4-release
title: v7.4
authors: ecalc-team
tags: [release, eCalc]
sidebar_position: 7
sidebar_position: -7
---

# eCalc v7.4
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/changelog/v7-5.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ slug: v7-5-release
title: v7.5
authors: ecalc-team
tags: [release, eCalc]
sidebar_position: 8
sidebar_position: -8
---

# eCalc v7.5
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/changelog/v7-6.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ slug: v7-6-release
title: v7.6
authors: ecalc-team
tags: [release, eCalc]
sidebar_position: 9
sidebar_position: -9
---

# eCalc v7.6
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/changelog/v8-0.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ slug: v8.0-release
title: v8.0
authors: ecalc-team
tags: [release, eCalc]
sidebar_position: 10
sidebar_position: -10
---

# eCalc v8.0
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/changelog/v8-1.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ slug: v8.1-release
title: v8.1
authors: ecalc-team
tags: [release, eCalc]
sidebar_position: 11
sidebar_position: -11
---

# eCalc v8.1
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/changelog/v8-10.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ slug: v8.10-release
title: v8.10
authors: ecalc-team
tags: [release, eCalc]
sidebar_position: 19
sidebar_position: -19
---

# eCalc
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/changelog/v8-11.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ slug: v8.11-release
title: v8.11
authors: ecalc-team
tags: [release, eCalc]
sidebar_position: 20
sidebar_position: -20
---

# eCalc
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/changelog/v8-12.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ slug: v8.12-release
title: v8.12
authors: ecalc-team
tags: [release, eCalc]
sidebar_position: 21
sidebar_position: -21
---

# eCalc
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/changelog/v8-13.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ slug: v8.13-release
title: v8.13
authors: ecalc-team
tags: [release, eCalc]
sidebar_position: 22
sidebar_position: -22
---

# eCalc
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/changelog/v8-14.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ slug: v8.14-release
title: v8.14
authors: ecalc-team
tags: [release, eCalc]
sidebar_position: 23
sidebar_position: -23
---

# eCalc
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/changelog/v8-15.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ slug: v8.15-release
title: v8.15 (Latest)
authors: ecalc-team
tags: [release, eCalc]
sidebar_position: 0
sidebar_position: -1001
---

# eCalc
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/changelog/v8-2.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ slug: v8.2-release
title: v8.2
authors: ecalc-team
tags: [release, eCalc]
sidebar_position: 12
sidebar_position: -12
---

# eCalc v8.2
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/changelog/v8-3.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ slug: v8.3-release
title: v8.3
authors: ecalc-team
tags: [release, eCalc]
sidebar_position: 13
sidebar_position: -13
---

# eCalc v8.3
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/changelog/v8-4.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ slug: v8.4-release
title: v8.4
authors: ecalc-team
tags: [release, eCalc]
sidebar_position: 14
sidebar_position: -14
---

# eCalc
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/changelog/v8-5.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ slug: v8.5-release
title: v8.5
authors: ecalc-team
tags: [release, eCalc]
sidebar_position: 15
sidebar_position: -15
---

# eCalc
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/changelog/v8-6.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ slug: v8.6-release
title: v8.6
authors: ecalc-team
tags: [release, eCalc]
sidebar_position: 16
sidebar_position: -16
---

# eCalc
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/changelog/v8-7.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ slug: v8.7-release
title: v8.7
authors: ecalc-team
tags: [release, eCalc]
sidebar_position: 17
sidebar_position: -17
---

# eCalc
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/changelog/v8-8.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ slug: v8.8-release
title: v8.8
authors: ecalc-team
tags: [release, eCalc]
sidebar_position: 18
sidebar_position: -18
---

# eCalc
Expand Down
2 changes: 1 addition & 1 deletion docs/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const config: Config = {
'classic',
({
docs: {
sidebarPath: './sidebars.js',
sidebarPath: './sidebars.ts',
editUrl:
'https://github.com/equinor/ecalc/tree/main/documentation/',
remarkPlugins: [math],
Expand Down
5 changes: 3 additions & 2 deletions docs/sidebars.js → docs/sidebars.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@

// @ts-check

/** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */
const sidebars = {
import {SidebarsConfig} from "@docusaurus/plugin-content-docs";

const sidebars: SidebarsConfig = {
// By default, Docusaurus generates a sidebar from the docs folder structure
about: [{ type: 'autogenerated', dirName: 'about' }],
contribute: [{ type: 'autogenerated', dirName: 'contribute' }],
Expand Down

0 comments on commit 0bf6fe6

Please sign in to comment.