Skip to content

Commit

Permalink
Rename doc section Explanation (diataxis)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbarbin committed Sep 20, 2024
1 parent f112d04 commit a4bdb31
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 9 deletions.
14 changes: 14 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
## 0.0.10 (unreleased)

### Added

### Changed

- Rename `explanation` section of documentation per diataxis.

### Deprecated

### Fixed

### Removed

## 0.0.9 (2024-08-26)

### Changed
Expand Down
2 changes: 1 addition & 1 deletion doc/blog/authors.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
mbarbin:
name: Mathieu Barbin
title: Maintainer of provider
title: Author & Maintainer of provider
url: https://github.com/mbarbin
image_url: https://github.com/mbarbin.png
6 changes: 5 additions & 1 deletion doc/docs/design/README.md → doc/docs/explanation/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Design
# Explanation

Welcome to the Explanation section of the `provider` documentation. Here, we delve into the details of how `provider` works and its design principles. This section is intended to provide a deeper understanding of the project for developers and contributors.

## Synopsis

Provider is an OCaml library for creating Traits and Signatures to build upon some functionality needed by a library without committing to an actual implementation for it, until runtime.

Expand Down
8 changes: 4 additions & 4 deletions doc/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,9 @@ const config: Config = {
},
{
type: 'docSidebar',
sidebarId: 'designSidebar',
sidebarId: 'explanationSidebar',
position: 'left',
label: 'Design',
label: 'Explanation',
},
{ to: '/blog/', label: 'Blog', position: 'right' },
{
Expand Down Expand Up @@ -128,8 +128,8 @@ const config: Config = {
to: '/docs/reference/odoc/',
},
{
label: 'Design',
to: '/docs/design/',
label: 'Explanation',
to: '/docs/explanation/',
},
],
},
Expand Down
6 changes: 3 additions & 3 deletions doc/sidebars.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ const sidebars: SidebarsConfig = {
},
],

designSidebar: [
explanationSidebar: [
{
type: 'category',
label: 'Design',
label: 'Explanation',
items: [
{ type: 'doc', id: 'design/README', label: 'Introduction' },
{ type: 'doc', id: 'explanation/README', label: 'Introduction' },
],
},
],
Expand Down

0 comments on commit a4bdb31

Please sign in to comment.