Git Product home page Git Product logo

openamp-website's Introduction

OpenAMP Project Website

This is the git repository for the OpenAMP 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".


├── src/

│   └── content/

│       └── authors/

│       └── data/

│       └── news/

│       └── pages/

│       └── tags/

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.

News

News items can be added in the src/content/news folder. Please follow the format of the existing items, as the schema is explicitly enforced and the project will fail to build (on purpose) if it is not followed correctly.

Note that the author and tags field must reference items in the respective content collections by filename (without extension).

For example

title: Recording of OpenAMP presentation at ELC North America 2020
author: openamp

openamp here references src/content/authors/openamp.md

Images

Images should be placed in the src/assets folder and referenced by relative paths within content collection .md files. This ensures that the images are optimized at build time, improving website performance.

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.

Developer Info

Running the site locally will require Node.js (>=18) and the yarn package manager.

First, install dependencies with yarn install.

The following commands can then be used to build and run the site locally:

Command Description
yarn build Builds the site in the dist folder of the root directory.
yarn dev Runs the site in a development server, with hot module replacement to reflect updates to the code as soon as they are saved.
yarn preview Runs the most recent build files in a development server. Unlike yarn dev this won't have live updates, but will be a closer representation of the site as it would be in deployment.

Questions?

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

openamp-website's People

Contributors

louismorgan-linaro avatar delaragi avatar philip-linaro avatar nathalie-ckc avatar arnopo avatar pcolmer avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.