Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

Commit

Permalink
Fix rollup issues with new mermaid support 🐛
Browse files Browse the repository at this point in the history
  • Loading branch information
Freymaurer committed May 8, 2023
1 parent 5c0afa7 commit e490d2a
Show file tree
Hide file tree
Showing 12 changed files with 1,834 additions and 727 deletions.
1 change: 1 addition & 0 deletions Nfdi4Plants.Fornax.sln
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ Project("{6EC3EE1D-3C4E-46DD-8F32-0CC8E7565705}") = "build", "build\build.fsproj
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{698B3036-4F3E-451C-AEFA-6BE8117B322E}"
ProjectSection(SolutionItems) = preProject
package.json = package.json
README.md = README.md
RELEASE_NOTES.md = RELEASE_NOTES.md
rollup.config.js = rollup.config.js
Expand Down
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ See the official [@nfdi4plants/web-components docs](https://nfdi4plants.github.i

## contribute to library

- Library is located in `src`.
- Tests can be found in `tests`.

1. Make changes to library and add unit tests.
2. Run `.\build.cmd releasenotes semver:xxx`, where `xxx` can be minor, major or patch. (This will also update the version in `package.json` inside the template project.)
3. Run `.\build.cmd release`. This will:
Expand Down
2 changes: 1 addition & 1 deletion RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### 0.12.0+fb85070 (Released 2023-2-14)
### 0.12.0+5c0afa7 (Released 2023-5-8)
* Additions:
* [[#fb85070](https://github.com/Freymaurer/Nfdi4Plants.Fornax/commit/fb850707c53f259ef667e40210280f283d1935d5)] Add github workflows :sparkles:
* [[#fb80a9f](https://github.com/Freymaurer/Nfdi4Plants.Fornax/commit/fb80a9f12d98a3c340a308202f97dfefde2c179d)] Update docs :books:
Expand Down
6 changes: 6 additions & 0 deletions client/docs/CodeExamples.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,9 @@ Code testing with inline `code` example!

# https://git.nfdi4plants.org/<yourusername>/<yourarc>
```

```mermaid
pie title NETFLIX
"Time spent looking for movie" : 90
"Time spent watching it" : 10
```
502 changes: 281 additions & 221 deletions client/js/bundle.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion client/loaders/docsloader.fsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ let loader (projectRoot: string) (siteContent: SiteContents) =
|> Array.filter (fun n -> n.Contains @"\_ignored\" |> not && n.Contains "/_ignored/" |> not)
// |> Array.filter (fun n -> n.Contains "README.md" |> not)
|> Array.filter (fun n -> n.EndsWith ".md")
let loadDocs (filePath:string) = Nfdi4Plants.Docs.loadFile(projectRoot, contentDir, filePath)
/// #if WATCH during development
/// #else in production, for example on gh-pages.
let docs =
Expand Down
Loading

0 comments on commit e490d2a

Please sign in to comment.