Skip to content

Commit 3bd03a5

Browse files
committed
fix: Fix makim config and dependencies with poetry
1 parent 7ffbf13 commit 3bd03a5

File tree

7 files changed

+2866
-21
lines changed

7 files changed

+2866
-21
lines changed

.github/workflows/main.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,12 @@ jobs:
4747
auto-update-conda: true
4848
conda-solver: libmamba
4949

50-
- name: Build the book
50+
- name: Install dependencies
51+
run: |
52+
poetry check
53+
poetry install
54+
55+
- name: Build the book
5156
run: |
5257
makim pages.build
5358
echo "opensciencelabs.org" > build/CNAME

.makim.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
version: 1.0
21
groups:
32
pages:
43
tasks:
54
pre-build:
65
help: pre-build step
7-
shell: bash
6+
backend: bash
87
run: |
98
mkdir -p build
109
# Directory to search for .ipynb files
@@ -23,12 +22,14 @@ groups:
2322
2423
build:
2524
help: build the static page
26-
dependencies:
27-
- task: pages.pre-build
25+
hooks:
26+
pre-run:
27+
- task: pages.pre-build
2828
run: mkdocs build --verbose --clean
2929

3030
preview:
3131
help: preview the web page dynamically
32-
dependencies:
33-
- task: pages.pre-build
32+
hooks:
33+
pre-run:
34+
- task: pages.pre-build
3435
run: mkdocs serve --watch pages --watch theme

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
BSD 3-Clause License
22

3-
Copyright (c) 2022, thegraphnetwork
3+
Copyright (c) 2022, Open Science Labs
44
All rights reserved.
55

66
Redistribution and use in source and binary forms, with or without

conda/dev.yaml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,4 @@ channels:
55
dependencies:
66
- python <3.12
77
- pip
8-
- pip:
9-
- pre-commit
10-
- mkdocs ==1.4.2
11-
- makim
12-
- mkdocs-blogging-plugin
13-
- mkdocs-rss-plugin <1.9.0
14-
- jupyterlab
15-
- nbconvert
16-
- pymdown-extensions
8+
- poetry

pages/about/team/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ teams:
6565
members:
6666
- name: Mfonobong Emmanuel Uyah
6767
bio: |
68-
Electrical and Electronics Engineering graduate with interest in software development using Python, Django, and JavaScript. Looking to develop and participate in open-source and open-science projects.
68+
Electrical and Electronics Engineering graduate with interest in software development using Python, Django, and JavaScript. Looking to develop and participate in open-source and open-science projects.
6969
image_url: https://avatars.githubusercontent.com/u/97167651?v=4&size=64
7070
github_url: https://github.com/investor-uyah
7171
# github_sponsor:
@@ -137,7 +137,7 @@ teams:
137137
date: 2022-04-12
138138
github_sponsor: https://github.com/sponsors/luabida/button
139139
github_url: https://github.com/luabida
140-
140+
141141
- name: Daniela Iglesias Rocabado
142142
bio: |
143143
Graduate in Systems Engineering with a passion for Python and Web Development.
@@ -149,8 +149,8 @@ teams:
149149
# OSL Team
150150

151151
OSL is an Open-Source community which anyone can join. Check our
152-
[GitHub](https://github.com/OpenScienceLabs/opensciencelabs.github.io) to be
153-
a part of the issues.
152+
[GitHub](https://github.com/OpenScienceLabs/opensciencelabs.github.io)
153+
to contribute to the project and help resolve issues.
154154

155155
## How can you contribute?
156156

poetry.lock

Lines changed: 2823 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
[tool.poetry]
2+
name = "oslweb"
3+
version = "0.1.0"
4+
description = ""
5+
authors = ["Ivan Ogasawara <[email protected]>"]
6+
license = "BSD-3-Clause"
7+
readme = "README.md"
8+
package-mode = false
9+
10+
[tool.poetry.dependencies]
11+
python = "3.11.*"
12+
pre-commit = "^4.0.1"
13+
mkdocs = "1.4.2"
14+
makim = "^1.19.0"
15+
mkdocs-blogging-plugin = "^2.2.11"
16+
mkdocs-rss-plugin = "<1.9.0"
17+
jupyterlab = "^4.2.5"
18+
nbconvert = "^7.16.4"
19+
pymdown-extensions = ">=10"
20+
21+
22+
[build-system]
23+
requires = ["poetry-core"]
24+
build-backend = "poetry.core.masonry.api"

0 commit comments

Comments
 (0)