Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create model directory #19

Open
kfarr opened this issue Mar 20, 2023 · 2 comments
Open

create model directory #19

kfarr opened this issue Mar 20, 2023 · 2 comments

Comments

@kfarr
Copy link
Contributor

kfarr commented Mar 20, 2023

We have close to 100 3D models in 3DStreet and would like to provide a directory with a "details page" for each of these models. We would like to create a unique doc page for each model and use built-in features such as category page cards to provide a browsing interface.

We have a work in progress link to a Google Sheet with info for all of the models, eventually to include links to preview images, glb files, and other metadata.

Ideally it would just be one mdx file for each model where the "front matter" is sourced from the sheet (one mdx file for each row in the sheet), and a consistent markdown template is applied to each using template variables pulling from varying frontmatter.

Similar projects, but not exact match:

@kfarr
Copy link
Contributor Author

kfarr commented Mar 20, 2023

Alternate approach after discussion with @homotechsual

  • Have a separate YAML file for each model (the yaml could be named the same as the glb but with yaml extension)
  • The YAML file can be defined through a JSON schema
  • Then to parse each YAML to build a directory page as well as a "landing page" for each item

Example from docusaurus community page (WIP):

Watch this repo for updates: https://github.com/homotechsual/docusaurus.community

@kfarr kfarr changed the title create separate page for each mixin and 3d model create model directory Mar 30, 2023
@kfarr
Copy link
Contributor Author

kfarr commented Mar 30, 2023

2 primary pages for design and implementation:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog (Not Ready)
Development

No branches or pull requests

1 participant