devicetree-website

devicetree-website

Website content for devicetree.org

Devicetree Project Website

This is the git repository for the Devicetree project website.

πŸš€ Project Structure

The content of the website is located in the src/content folder of the repo, spread across various folders, referred to as "collections".

/
β”œβ”€β”€ public/
β”œβ”€β”€ src/
β”‚   └── pages/
β”‚       └── index.astro
β”‚   └──content/
β”‚       └──data/
β”‚       └──pages/
β”‚       └──rows/
β”‚       └──sections/
└── package.json

Data

The src/content/data folder contains various lists of one-off items used in the site, namely the nav links, footer links and members. Any items added to these lists will be reflected in the website.

Pages

Pages can be edited via the relevant .md files in the src/content/pages folder. New pages containing the nav, header, footer and a body of rendered markdown content can be implemented by adding .md files to this folder (as with the cookies, conduct and governance pages). If rendered markdown content is not sufficient, please contact [email protected] to discuss implementing a new page.

Rows

The Src /content /rows folder contains a container for content of all of the pages row.

Sections

The Src /content /sections folder containes various list of items in section part of each page.

🧞 Commands

All commands are run from the root of the project, from a terminal:

Command Action
yarn install Installs dependencies
yarn dev Starts local dev server at localhost:4321
yarn build Build your production site to ./dist/
yarn preview Preview your build locally, before deploying

Questions?

If you have any questions about updating or building this website, please contact Linaro IT Support at [email protected].