Skip to content

Commit 24a207b

Browse files
cuihtlauacCuihtlauac ALVARADO
and
Cuihtlauac ALVARADO
authored
Use ppx import in ood (#2930)
* Remove unused printers * Test ppx_import on Academic testimonials * Use ppx_import when data and medata are identical * Use ppx_import single type with show * More ppx_import * Another batch of ppx import * ppx import for tutorials * Formatting * Change updated type * Add ppx_import dependency * Remove useless deriver * ppx import for governance * ppx import for academic institution * Add deriver for Video, part 1 * Blog post type * ppx import fot planet, blog and video * Add missing file --------- Co-authored-by: Cuihtlauac ALVARADO <[email protected]>
1 parent 1db41b6 commit 24a207b

39 files changed

+332
-320
lines changed

dune-project

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
olinkcheck
7171
; tools/ood-gen
7272
ppx_deriving_yaml
73+
ppx_import
7374
ppx_stable
7475
ezjsonm
7576
lambdasoup

ocamlorg.opam

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ depends: [
4545
"mdx" {with-test & >= "1.10.0"}
4646
"olinkcheck"
4747
"ppx_deriving_yaml"
48+
"ppx_import"
4849
"ppx_stable"
4950
"ezjsonm"
5051
"lambdasoup"

src/ocamlorg_data/data.ml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,7 @@ module Paper = struct
152152
let get_by_slug slug = List.find_opt (fun x -> String.equal slug x.slug) all
153153
end
154154

155-
module Planet = struct
156-
include Planet
157-
end
155+
module Planet = Planet
158156

159157
module Release = struct
160158
include Release

0 commit comments

Comments
 (0)