Code Monkey home page Code Monkey logo

linaro / website Goto Github PK

View Code? Open in Web Editor NEW
25.0 11.0 47.0 749.57 MB

This repository stores the content used in our static Jekyll based website. If you need to make a change to the website please submit a PR to this repository with your changes.

Home Page: https://www.linaro.org/

HTML 46.64% CSS 7.66% JavaScript 35.39% PHP 1.17% Ruby 0.11% Hack 1.01% Shell 0.21% SCSS 7.82%
jekyll linaro static website sass html5 javascript jekyll-themed-site

website's Introduction

Linaro.org Static Jekyll Site

This is the git repository for Linaro's static Jekyll-based website https://www.linaro.org.

Hosted in this repo are the markdown content files associated with the website. Feel free to submit a PR / Issue if there is anything you would like to change.

This static Jekyll site is using the jumbo-jekyll-theme. Please take a moment to review the guides on the theme's GitHub wiki.


Contributing

To make it easier to contribute to the content, Linaro provides a couple of Docker containers for building and checking the site. All you need is Docker installed on your computer and enough RAM and disc space.

To build the site:

cd <git repository directory>
SKIP_JEKYLL_DOCTOR="true" ./build-site.sh

To build the site and then serve it so that you can check your contribution appears:

cd <git repository directory>
JEKYLL_ACTION="serve" SKIP_JEKYLL_DOCTOR="true" ./build-site.sh

To check that your contribution doesn't include any broken links:

cd <built web site directory>
../check-links.sh

The built web site directory will be production.linaro.org.

For more information, please see the build container wiki and the link checker wiki.


Guides

Generic guides for Linaro static websites based on the jumbo-jekyll-theme:

Linaro.org specific guides:

TODO


Adding events to the events page

Adding Other Events

Events listed on the events/ page are added through simply adding the event:true front matter value to your event page. The events will then be listed based on the date value in front matter of that specific page.

---
event: true

Adding Connect Events

Connect events are added through the _data/connects.yml data file. Simply copy and existing entry in this file and add the new Connect event. Make sure to update the date specified in the entry as this is what is used to make sure the events are listed in the correct order (most recent first).

- id: YVR18
  placeholder: yvr18.jpg
  long-name: Linaro Connect Vancouver 2018
  start-date: 2018-09-17 09:00:00
  end-date: 2018-09-21 09:00:00
  location:
    venue: Hyatt Regency Vancouver
    city: Vancouver
    country: Canada

URL Redirections

Redirection rules are defined in _data/routingrules.json. Please note that if the left hand side does not reference a file then it must end with (/?|/index.html)$ otherwise the URL will not match.

Multi-lingual support

The website now supports multiple languages, with English defined as the default.

Add an additional language

To add a new language, edit _config.yml and change languages: ["en", "ch"] to add the language code as required.

Add multi-lingual markdown

For each top-level folder, e.g. _pages, there should be a sub-directory with the matching language code, e.g. ch. Within that folder should be copies of the original English pages but translated to the appropriate language.

IMPORTANT! Pages must have lang: xx after the --- opening line, where xx is the matching language code. Without this line, the translated page may be displayed instead of the default English page.

Add multi-lingual HTML

Under _data there should be a sub-directory with the matching language code, e.g. ch. Within that folder should be - at a minimum - the file translations.yml. Each entry in that file should be translated to the appropriate language. This will then be used by HTML within the website.

If adding new HTML to the website, replace direct text with a handlebars tag like {{site.data.translations.services.form2_email}} where services.form2_email gets replaced with the appropriate tag combination from the translation file.

Netlify CMS Config

The createNetlifyCMSConfig.js Node.js script will generate the required NetlifyCMS YAML config file and output at admin/config.yml.

yarn install && node createNetlifyCMSConfig.js

website's People

Contributors

ablu avatar alexshi avatar bfletcher avatar bhcopeland avatar daniel-thompson avatar delaragi avatar ebbasimpson avatar embeddedandroid avatar events-team avatar fboudra avatar jbech-linaro avatar jon-burcham avatar kenzo7664 avatar kristinedill avatar linaro-build avatar mike-holmes-linaro avatar morancj avatar muvarov avatar ndechesne avatar niyas-sait avatar paolo-github avatar pcolmer avatar philip-linaro avatar prasanthcambridge avatar ryanarn avatar sbambrough avatar shovanco avatar stsquad avatar stuartwaldron avatar symevents avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

website's Issues

5 failed links

5 failed links have been found:

/downloads/index.html:
   http://snapshots.linaro.org/components/ledge/oe/ledge-rp-0.2/ledge-multi-armv7/17/ [404]
   http://snapshots.linaro.org/components/ledge/oe/ledge-rp-0.2/ledge-multi-armv8/17/ [404]
   http://snapshots.linaro.org/components/ledge/oe/ledge-rp-0.2/ledge-qemux86-64/17/ [404]
   http://snapshots.linaro.org/components/ledge/oe/ledge-rp-0.2/ledge-synquacer/17/ [404]
   http://snapshots.linaro.org/components/ledge/oe/ledge-rp-0.2/ledge-ti-am572x/17/ [404]

Default branch should be develop

The default branch should be develop:
The "EDIT on GitHub" button on the website will submit to the default branch, as will direct edits on GitHub. PR's can go to the wrong branch (compare #832, #833 and #834 ).
Thoughts?

FR: support building via Docker

Currently the build process involves installing a bunch of random dependencies without the system package manager. This is unacceptable to most developers. Please package up a known good build configuration in docker (or maybe trim the build so we can use https://hub.docker.com/r/jekyll/jekyll/). Otherwise it is hard to test the rendering without pushing to the website itself.

Conversion error with jekyll 3.7.3

I cannot compile with jekyll 3.7.3 due to conversion errors in many files:

 Conversion error: Jekyll::Converters::Scss encountered an error while converting 'assets/css/main-arm-hpc.scss':   
                    Invalid US-ASCII character "\xEE" on line 51                                                     
jekyll 3.7.3 | Error:  Invalid US-ASCII character "\xEE" on line 51               

Apparently it is due to some lines we have a the top of the files, fixing. See mmistakes/minimal-mistakes#220

Broken links in master branch

7 failed links have been found:

/about/index.html:
https://www.linaro.org/groups/lmg/ [404]
/blog/cto-year-in-review/index.html:
https://www.linaro.org/groups/lhg/ [404]
https://www.linaro.org/groups/lmg/ [404]
https://www.linaro.org/engineering/groups/lite/ [404]
/blog/datacentre-and-cloud-sessions-at-linaro-connect-yvr18/index.html:
https://www.linaro.org/engineering/groups/ldcg/ [404]
/blog/lce-13-keynote-speaker-announced-leslie-hawthorn-cultivating-community-best-practices-for-overcoming-challenges-to-collaboration/index.html:
http://www.privly.org [1]
/blog/the-emerging-ai-deep-learning-neural-network-ecosystem-and-why-we-need-to-collaborate/index.html:
https://www.linaro.org/engineering/incubators/machine-intelligence/ [404]

1 failed links

1 failed links have been found:

/downloads/index.html:
   http://snapshots.linaro.org/components/ledge/oe/ledge-rp-0.2/ledge-multi-armv7/17/ [404]

Reflect change in 96Boards membership status

@kylekirkby per the discussion with Yang, can you please change the following section in _data/members.json?

    {
        "id": "boards-mezzanine",
        "image": "96boards-mezzanine.png",
        "members": [
            {
                "image": "https://static.linaro.org/common/member-logos/qwerty.jpg",
                "name": "QWERTY Embedded Design",
                "url": "/membership/qwerty/"
            },
            {
                "image": "https://static.linaro.org/common/member-logos/rohm.jpg",
                "name": "ROHM",
                "url": "/membership/rohm/"
            }
        ],
        "membership_group_name": "96Boards Mezzanine Partners",
        "url": "https://www.96boards.org/membership/"
    },

Please change id to boards-partner and membership_group_name to 96Boards Partners and check that the site builds correctly.

Once that is done, I'll make the membership changes requested by Yang.

Thanks.

5 failed links

5 failed links have been found:

/downloads/index.html:
   http://snapshots.linaro.org/components/ledge/oe/ledge-rp-0.2/ledge-multi-armv7/17/ [404]
   http://snapshots.linaro.org/components/ledge/oe/ledge-rp-0.2/ledge-multi-armv8/17/ [404]
   http://snapshots.linaro.org/components/ledge/oe/ledge-rp-0.2/ledge-qemux86-64/17/ [404]
   http://snapshots.linaro.org/components/ledge/oe/ledge-rp-0.2/ledge-synquacer/17/ [404]
   http://snapshots.linaro.org/components/ledge/oe/ledge-rp-0.2/ledge-ti-am572x/17/ [404]

1 failed links

1 failed links have been found:

/downloads/index.html:
   http://snapshots.linaro.org/components/ledge/oe/ledge-rp-0.2/ledge-multi-armv7/17/ [404]

Broken links when building the develop branch

build	08-Feb-2019 09:12:44	4 failed links have been found:
build	08-Feb-2019 09:12:44	
build	08-Feb-2019 09:12:44	/blog/2017-year-in-review/index.html:
build	08-Feb-2019 09:12:44	   https://platforms.linaro.org/documentation/Reference-Platform/Platforms/Enterprise/ReleaseNotes-17.12.md/ [404]
build	08-Feb-2019 09:12:44	/blog/lets-talk-usb-hubs/index.html:
build	08-Feb-2019 09:12:44	   http://www.cambrionix.com/products/ [404]
build	08-Feb-2019 09:12:44	/blog/linaro-connect-europe-big-little-mini-summit-summary/index.html:
build	08-Feb-2019 09:12:44	   http://git.linaro.org/gitweb?p=people/vireshk/linux-linaro-big-LITTLE-MP.git;a=summary [404]
build	08-Feb-2019 09:12:44	/blog/what-to-expect-at-sfo15-next-week/index.html:
build	08-Feb-2019 09:12:44	   http://sanfranciscoairport.hyatt.com/en/hotel/our-hotel.html [404]

Problem with sudo apt get update

Getting error in updating Linaro.

linaro@linaro-alip:~$ sudo apt-get update
Err:1 http://deb.debian.org/debian buster InRelease                         
  Connection failed [IP: 151.101.152.204 80]
Err:2 http://obs.linaro.org/linaro-overlay-buster/buster ./ InRelease 
  Connection failed [IP: 64.28.99.162 80]
Reading package lists... Done
W: Failed to fetch http://deb.debian.org/debian/dists/buster/InRelease  Connection failed [IP: 151.101.152.204 80]
W: Failed to fetch http://obs.linaro.org/linaro-overlay-buster/buster/./InRelease  Connection failed [IP: 64.28.99.162 80]
W: Some index files failed to download. They have been ignored, or old ones used instead.

I did update before to install docker on linaro.

Broken links in the develop branch


20-Jun-2019 13:42:31 | 2 failed links have been found:
-- | --
20-Jun-2019 13:42:31 |  
20-Jun-2019 13:42:31 | /blog/mini-summits-training-hacking-and-more-linaro-connect-asia-2013-hong-kong/index.html:
20-Jun-2019 13:42:31 | /assets/blog/lce13-mico.png
20-Jun-2019 13:42:31 | /blog/wednesday-at-lca14/index.html:
20-Jun-2019 13:42:31 | /assets/blog/12941187924_7dc616613c.jpg

404 Problem with ARM toolchain binaries link to gcc-8 and missing link to gcc-9

The 'gcc-8' link in https://releases.linaro.org/components/toolchain/binaries/ return 404 from arm.com

The correct link should be
https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-a/downloads

If I right click 'gcc-8' and Open link incognito window,
Sometime it will redirect to the correct site: https://developer.arm.com/tools-and-software/open-source-software/developer-tools/gnu-toolchain/gnu-a/downloads
Sometime it will redirect to the Page not found 404 site: https://developer.arm.com/open-source/gnu-toolchain/gnu-a/downloads

You might want to rename "gcc-8" to "gcc-8, gcc-9"

Member and 96Boards partner pages are not clear about company relationships

The 96Boards partners pages need to be clearer about our relationship with the company in question. An example is:
https://www.linaro.org/company/tocoding/

When you arrive from a search engine these pages make it look Linaro is a conglomerate and ToCoding is a subsidiary. This is especially misleading for 96Boards partners since they are not even full Linaro members and have a pretty limited relationship with us. Additionally some 96Boards partners have a limited web presence in English and this means the Linaro summary of 96Boards partners can rank very high in English language search engines.

Or, put another way, dissatisfied ToSee doorbell customers keep contacting LDTS because ToCoding wrote the ToSee Android app and the users get driven to https://www.linaro.org/company/tocoding/ because it is the top ranking web hit for "ToCoding Technologies".

Problem with _pages/membership.md

Please enter some details about the bug/issue so we can promptly resolve it.
URL: https://www.linaro.org/membership/

There is a spelling mistake:

Having engineers from all the member companies work together with Linaro engineers - many of which are world-reknown Arm software experts - means more eyes on the problem. The more people who look at the problem, the quicker it gets solved and the better the solution. And the quicker the basics are resolved, the faster you get your product to market.

That should be world-renowned.

https://www.linaro.org/blog/

"Linaro at Arm Techcon" uses a weird sloping image of the design printed on a t-shirt, which some-one appears to be wearing. Replace with the original source image?

5 failed links

5 failed links have been found:

/downloads/index.html:
   http://snapshots.linaro.org/components/ledge/oe/ledge-rp-0.2/ledge-multi-armv7/17/ [404]
   http://snapshots.linaro.org/components/ledge/oe/ledge-rp-0.2/ledge-multi-armv8/17/ [404]
   http://snapshots.linaro.org/components/ledge/oe/ledge-rp-0.2/ledge-qemux86-64/17/ [404]
   http://snapshots.linaro.org/components/ledge/oe/ledge-rp-0.2/ledge-synquacer/17/ [404]
   http://snapshots.linaro.org/components/ledge/oe/ledge-rp-0.2/ledge-ti-am572x/17/ [404]

5 failed links

5 failed links have been found:

/downloads/index.html:
   http://snapshots.linaro.org/components/ledge/oe/ledge-rp-0.2/ledge-multi-armv7/17/ [404]
   http://snapshots.linaro.org/components/ledge/oe/ledge-rp-0.2/ledge-multi-armv8/17/ [404]
   http://snapshots.linaro.org/components/ledge/oe/ledge-rp-0.2/ledge-qemux86-64/17/ [404]
   http://snapshots.linaro.org/components/ledge/oe/ledge-rp-0.2/ledge-synquacer/17/ [404]
   http://snapshots.linaro.org/components/ledge/oe/ledge-rp-0.2/ledge-ti-am572x/17/ [404]

Problem with _posts/events/2019-12-02-the-huawei-developer-conference-2020-cloud.md

We got a report via LDTS about this page. I've reproduced it here and will close the support ticket.


Hi,

I was browsing Linaro's website and found out there's a mis-selling on the
conference intro second sentence. I believe it should be "Kun Peng+ Sheng
Teng" not "Peng Peng + Sheng Teng".

Could you please check it out?

Thank you!

Viona

Problem with _pages/downloads/README.md

The Releases section states:

Releases
Releases is the main repository for Linaro code that has been tested and released. It is possible to navigate down through this site to find code if you know what you are looking for, but we recommend you use the links below for our most popular downloads.

but the link just points to (https://releases.linaro.org/), which states:

This is a storage server. It is recommended to download these through the portal at http://www.linaro.org/downloads/ .

We should have a collection of pages pointing to useful releases. Some of this is already in place, but much is outdated.

Problem with support/

linaro.org/support has been moved without a redirect. We need this concise link to continue working... it is in all our presentations and member/customer promotional messages as the entry point for LDTS.

URL: https://linaro.org/support/

5 failed links

5 failed links have been found:

/downloads/index.html:
   http://snapshots.linaro.org/components/ledge/oe/ledge-rp-0.2/ledge-multi-armv7/17/ [404]
   http://snapshots.linaro.org/components/ledge/oe/ledge-rp-0.2/ledge-multi-armv8/17/ [404]
   http://snapshots.linaro.org/components/ledge/oe/ledge-rp-0.2/ledge-qemux86-64/17/ [404]
   http://snapshots.linaro.org/components/ledge/oe/ledge-rp-0.2/ledge-synquacer/17/ [404]
   http://snapshots.linaro.org/components/ledge/oe/ledge-rp-0.2/ledge-ti-am572x/17/ [404]

A fresh git clone has unstaged changes

After cloning this repo, I see a modified file which I am unable to resolve:

➜ git status
On branch master
Your branch is up to date with 'origin/master'.

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
	modified:   _pages/downloads.md

no changes added to commit (use "git add" and/or "git commit -a")
➜

I am even prevented from changing branches:

➜ git checkout develop
error: Your local changes to the following files would be overwritten by checkout:
	_pages/downloads.md
Please commit your changes or stash them before you switch branches.
Aborting
➜

git restore _pages/downloads.md doesn't help.

The changes appear to be the introduction of carriage return characters. If I manually convert a file to Windows-style line endings, a similar git restore command works as expected:

➜ unix2dos _pages/about.md
unix2dos: converting file _pages/about.md to DOS format...
➜ git status
On branch master
Your branch is up to date with 'origin/master'.

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
	modified:   _pages/about.md
	modified:   _pages/downloads.md
➜ git restore _pages/about.md
➜ git status
On branch master
Your branch is up to date with 'origin/master'.

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
	modified:   _pages/downloads.md

no changes added to commit (use "git add" and/or "git commit -a")
➜

5 failed links

5 failed links have been found:

/downloads/index.html:
   http://snapshots.linaro.org/components/ledge/oe/ledge-rp-0.2/ledge-multi-armv7/17/ [404]
   http://snapshots.linaro.org/components/ledge/oe/ledge-rp-0.2/ledge-multi-armv8/17/ [404]
   http://snapshots.linaro.org/components/ledge/oe/ledge-rp-0.2/ledge-qemux86-64/17/ [404]
   http://snapshots.linaro.org/components/ledge/oe/ledge-rp-0.2/ledge-synquacer/17/ [404]
   http://snapshots.linaro.org/components/ledge/oe/ledge-rp-0.2/ledge-ti-am572x/17/ [404]

Problem with _pages/support.md

Please enter some details about the bug/issue so we can promptly resolve it.
URL: https://www.linaro.org/support/

The material in the "for developer services customer" tab it would be good to rephrase the text to permit a cross link to the services section of the website.

1 failed links

1 failed links have been found:

/downloads/index.html:
   http://snapshots.linaro.org/components/ledge/oe/ledge-rp-0.2/ledge-multi-armv7/17/ [404]

Problem with _engineering/artificial-intelligence.md~d406b4df4f2b0120fb1ef135b964aa731829b5ae

Please enter some details about the bug/issue so we can promptly resolve it.
URL: https://www.linaro.org/engineering/artificial-intelligence/

The HTML table is messed up, probably the start of the table tag is missing (although the column names are there). Here is a snippet from the middle of the page:

As part of the remit, the team will collaborate on a definition of API and modular framework for an Arm runtime inference engine architecture based on plug-ins supporting dynamic modules and optimized shared Arm compute libraries. Below are some of the Artifical Intelligence related sessions from the previous Linaro Connect: |Speaker|Company|ID|Title| |-------|-------|--|-----| |Chris Benson|AI Strategist|YVR18- 300K2|Keynote: Artificial Intelligence Strategy: Digital Transformation Through Deep Learning| |Jem

1 failed links

1 failed links have been found:

/downloads/index.html:
   http://snapshots.linaro.org/components/ledge/oe/ledge-rp-0.2/ledge-multi-armv7/17/ [404]

5 failed links

5 failed links have been found:

/downloads/index.html:
   http://snapshots.linaro.org/components/ledge/oe/ledge-rp-0.2/ledge-multi-armv7/17/ [404]
   http://snapshots.linaro.org/components/ledge/oe/ledge-rp-0.2/ledge-multi-armv8/17/ [404]
   http://snapshots.linaro.org/components/ledge/oe/ledge-rp-0.2/ledge-qemux86-64/17/ [404]
   http://snapshots.linaro.org/components/ledge/oe/ledge-rp-0.2/ledge-synquacer/17/ [404]
   http://snapshots.linaro.org/components/ledge/oe/ledge-rp-0.2/ledge-ti-am572x/17/ [404]

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.