farmOS / farmOS.org

Repository for the official farmOS.org website.
https://farmOS.org
10 stars 6 forks source link

Site data #48

Closed jgaehring closed 2 years ago

jgaehring commented 2 years ago

This is a major restructuring of the main configuration file for the website and its source repositories. It was previously called source-repos.js, but has been renamed to site-data.js to reflect the broader scope, which now includes site metadata and caching details as well. The source repositories themselves are now flattened, and can specify a template or just use the default template that's being used for the docs. However, none of this should effect how those source repositories need to structure their own mkdocs.yml or config.yml files internally.

This work was preliminary to the work required to make the community blog possible, due to the need to use Front Matter, a separate template from the docs, and a different folder structure w/o necessarily using a config.yml file.

I'll follow up with a separate PR for the blogging work, which should wait to be merged until there is some actual content we want to publish, but this PR can and probably should be merged as soon as its preview build has been tested fully on the Netlify.

netlify[bot] commented 2 years ago

Deploy Preview for gracious-brattain-bdd606 ready!

Name Link
Latest commit c1346734736aa4fef9d6efb73cb964db4e26fe93
Latest deploy log https://app.netlify.com/sites/gracious-brattain-bdd606/deploys/62bf19f74db9e10009e30c05
Deploy Preview https://deploy-preview-48--gracious-brattain-bdd606.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

jgaehring commented 2 years ago

I realized I had that last commit, c134673, on the blog branch, whereas it should have been included with these changes to the site data configuration.

Otherwise, it looks good, so merging!