Skip to content

Commit

Permalink
Merge pull request #238 from zazuko/changeset-release/main
Browse files Browse the repository at this point in the history
Merge to release
  • Loading branch information
ludovicm67 authored Dec 12, 2023
2 parents c268cae + d97300e commit 368019a
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 38 deletions.
37 changes: 0 additions & 37 deletions .changeset/olive-otters-press.md

This file was deleted.

38 changes: 38 additions & 0 deletions packages/markdown-content/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,43 @@
# @zazuko/trifid-markdown-content

## 1.0.0

### Major Changes

- 7090728: **BREAKING CHANGE:**
The plugin configuration changed in order to support multiple namespaces directly.

The following configuration:

```yaml
middlewares:
# […] your other middlewares
markdown-content:
module: "@zazuko/trifid-markdown-content"
order: 80
config:
namespace: root-content
directory: file:content
mountPath: /
```
Can be migrated in an easy way by moving all configuration entries (except the namespace) into the config.entries[namespaceValue] key, like this:
```yaml
middlewares:
# […] your other middlewares
markdown-content:
module: "@zazuko/trifid-markdown-content"
order: 80
config:
entries:
root-content:
directory: file:content
mountPath: /
```
See more details and options in the `README.md` file of the plugin.

## 0.2.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/markdown-content/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@zazuko/trifid-markdown-content",
"version": "0.2.0",
"version": "1.0.0",
"description": "Trifid plugin to handle Markdown files",
"main": "src/index.js",
"type": "module",
Expand Down

0 comments on commit 368019a

Please sign in to comment.