Comments (3)
As a developer, I want to create the metadata file and get this automatically translated to its corresponding page. For instance, if I have metadata about a dataset, this should create a new Dataset entry under the folder Datasets.
For this we need to:
- Create a metadata folder under the root
- Create the same subfolders as for the pages structure
- Create a metadata sample for any of the categories=folders
- Implement the code needed to take the metadata and create a new page under the right category (to start with, the content will be exactly the same as the json)
from zbmed-semtec.github.io.
For the metadata sample, we can use a dataset, and the json-ld can be taken from https://github.com/zbmed-semtec/bioschemas-github-markup-example/blob/gh-pages-with-markup/data.md?plain=1
from zbmed-semtec.github.io.
@honeyl3 If there are subtasks inside any issue (see the first comment in this issue), please add the checks as you progress on the tasks. Once all the tasks are done, you can move the issue to the Complete column, not before. I marked as done two of them, the other two cannot be marked yet as done.
Some comments about coding styles:
- Use English for commits, comments, variable names, file names
- Never use full paths in a code, full paths only work on your own computer
- Do not use code files that do it all directly, use functions that do bits. Even if the whole thing needs (by now) only one function, create that function. There will always be a function that starts it all.
- Add documentation/comments to the code. Have a look to some tips at https://github.com/zbmed-semtec/code-guidelines/blob/main/python.md
About the code itself, the one at I will now comment on the code at https://github.com/honeyl3/zbmed-semtec.github.io/blob/main/code/createPage.py
- Once you run this code, based on what exist in the metadata folder right now, you should end up with subfolder /docs/datasets (because the code should create the same subfolders under /docs/ as they exist in /metadata/) and a file /docs/datasets/sample.md. By now, the content of this file will be exactly the same as the one inside /metadata/datasets/sample.json
Please work a bit more on the code and let me know when it is ready to review. Thanks
from zbmed-semtec.github.io.
Related Issues (12)
- User story: Have an overview of what's going on in the SemTec team HOT 1
- User story: I want to see a table with the dataset information
- Developer story: I want the json-ld to be embedded in the rendering page
- Developer story: How to use the team pages repo
- Developer Story: Replace the link above the table
- Developer story: styling the inner table HOT 1
- Developer story: replace text and add icon
- Developer story: Current and former members HOT 1
- User story: Redundant information in pages
- Re Run wmd-word2vec
- Tasks for the diagram: * Complete diagram for JSON-LD and SHACL
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zbmed-semtec.github.io.