Skip to content

Commit

Permalink
Merge pull request #11 from mbarbin/diataxis
Browse files Browse the repository at this point in the history
Rename doc section Explanation (diataxis)
  • Loading branch information
mbarbin authored Sep 20, 2024
2 parents f112d04 + a4bdb31 commit f0a75f3
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 f0a75f3

Please sign in to comment.