aboutsummaryrefslogtreecommitdiff
path: root/www
Commit message (Collapse)AuthorAgeFilesLines
...
| * docs/index.sh: Fix sed(1) invocation on OpenBSDMichael Reed2017-07-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | This is the same idea as 497a49162f7c8b5c1d7c653087b0ac6c8e5765f9. Without this patch, the following errors occur when running index.sh: sed: 1: "news/new-mailing-lists. ...: extra characters at the end of n command sed: 1: "news/andrew-robbins-new ...: extra characters at the end of n command sed: 1: "news/formalised-structu ...: extra characters at the end of n command sed: 1: "news/proposal-rejoin-gn ...: extra characters at the end of n command sed: 1: "news/unity.bare.html": extra characters at the end of n command
* | www/publish.sh: Fix conditionals for file matchingMichael Reed2017-07-091-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before the Makefile, publish.sh was executed on markdown source files using find(1), which happened like this: ./publish.sh ./index.md Now that we have a Makefile, this happens instead: ./publish.sh index.md Note that the file argument "index.md" in the first and second case both refer to the same file, yet they are different strings. This is important because publish.sh gives index.md (among other files) special treatment, and it does this by string comparison. Unfortunately, only the argument in the first case ("./index.md") will cause publish.sh to give special treatment, while the argumnent in the second case ("index.md") will not. To fix this, make it so that both "./index.md" and "index.md" trigger publish.sh's special handling. This commit also fixes the same issue for "docs/fdl-1.3.md" and "conduct.md".
* | Build website incrementally (and faster if you have the CPU cores)Michael Reed2017-07-094-11/+45
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is done by replacing www/generate.sh with a Makefile. Benefits: - Makes builds incremental, meaning that only the minimum number of markdown files will be converted to HTML during a build. The previous scheme always generated a new HTML file for every markdown file, which is a big waste of time if only 1 or 2 markdown files have been changed. - Allows for much faster builds through concurrent jobs (e.g., via "make -j4"). On my 4-core machine, my average build time for the website with generate.sh was just over 26 seconds; with "make -j4", it was 13 seconds. - Avoids portability issues with find(1) in generate.sh, which I was encountering on OpenBSD. A note on portability: unlike GNU Make, OpenBSD's Make does not have the "$(shell [commands])" construct, so we don't use that. Instead we use "!= [commands]", which is supported by both.
* | www/publish.sh: Make safe to run multiple instances concurrentlyMichael Reed2017-07-091-9/+14
|/ | | | | | Instead of always using the same file (temp.md), use a unique temporary file so that multiple instances of publish.sh do not clobber each other's work.
* docs/publish.sh: Fix sed(1) invocation on OpenBSDMichael Reed2017-07-051-5/+5
| | | | | | | | | | | | | | | | | | | On OpenBSD, publish.sh errors out at the following call to sed(1) (from "bash -x publish.sh"): + sed temp.md -i -e 's/\.md\(#[a-z\-]*\)*)/.html\1)/g' sed: 1: "temp.md": undefined label 'emp.md' It seems that "temp.md" is being parsed by sed as a sed command, not as a named file. This is likely due to OpenBSD's strict usage requirements for sed: usage: sed [-aEnru] [-i[extension]] command [file ...] sed [-aEnru] [-e command] [-f command_file] [-i[extension]] [file ...] As shown above, the sed command must always come before any named files. This commit does that, which fixes publish.sh with OpenBSD's sed. This is also tested and working with GNU sed v4.2.2
* Reduce image size with optipngMichael Reed2017-07-031-0/+0
| | | | | | | OptiPNG losslessly optimizes .png files; in other words, the images in question should (and do, by my testing) look the same. In short, we save some bytes for free.
* Fix documentation markupMichael Reed2017-07-032-12/+12
| | | | | Be consistent with marking up commands as such, so the documentation is less surprising.
* Replaced '#!/bin/bash' w/ '#!/usr/bin/env bash'Andrew Robbins2017-06-233-3/+3
| | | | | This is mainly useful for being able to run these scripts on BSDs. And for users who use a Bash not installed to /bin.
* Swapped out 'echo' calls w/ 'printf ...'Andrew Robbins2017-06-232-22/+22
| | | | Continuation of pull request #217 re: printf usage.
* Merge branch 'printf-changes' of kragle/libreboot into masterLeah Rowe2017-06-231-1/+1
|\
| * Fixed printf calls & replaced 'echo' w/ printf.Andrew Robbins2017-06-231-1/+1
| | | | | | | | | | | | | | | | | | All printf calls should now be properly formatted; prior, the format specifier string was erroneously used for both the format specifiers and the string to be printed. 'env' is now used to locate the printf binary so as to avoid potentially using a shell builtin. Lastly, all calls to 'echo' within the new build system have been replaced with printf for consistency/portability purposes.
* | Simplify download page: move rsync mirrors to it, rather than separate pageLeah Rowe2017-06-222-50/+20
|/ | | | | | | Also delete the libreboot.org http mirror. libreboot.org still hosts rsync, so the mirrors will still be able to sync new releases all the same. this reduces the bandwidth constraints on libreboot.org, allowing it to have more bandwidth for other purposes
* fix issue #131p0rt2017-06-142-12/+11
|
* News post about the new development mailing list for LibrebootLeah Rowe2017-06-101-0/+25
|
* add Technoethical T400S to suppliers pageLeah Rowe2017-06-101-0/+1
|
* git.md: add link to management policy at the start of the documentLeah Rowe2017-06-101-0/+3
|
* also make more clear how to send patches, on the homepageLeah Rowe2017-06-101-3/+3
|
* Make it more clear, on the homepage, where support and dev discussion isLeah Rowe2017-06-101-0/+5
|
* Improve git.md link on homepage: make it more clear that that's to send patchesLeah Rowe2017-06-101-1/+1
|
* Link to the new mailing lists self-hosted on libreboot.orgLeah Rowe2017-06-102-4/+34
|
* simplify the patching instructions at git.mdLeah Rowe2017-06-061-77/+21
|
* tidy up conduct.md (and add Andrew Robbins to list of moderators)Leah Rowe2017-06-061-2/+3
|
* Tidy up the management policy page, make the info more conciseLeah Rowe2017-06-061-100/+51
|
* git page: per swiftgeek's suggestion, fix grammar on git pageLeah Rowe2017-06-061-1/+1
|
* git page: mention that local web server is accessible via localhostLeah Rowe2017-06-061-0/+3
|
* git page: Mention that documentation must be contributed under GNU FDLLeah Rowe2017-06-061-0/+5
|
* git page: further document Libreboot's static site generatorLeah Rowe2017-06-061-0/+22
| | | | | This is useful for people who want to work on much larger changes to the Web site or documentation.
* Add Andrew Robbins to the Authors pageLeah Rowe2017-06-061-0/+7
|
* rsync page: remove partyvan.eu mirror (WubTheCaptain said it was shutting down)Leah Rowe2017-06-051-7/+0
|
* Re-add official release archive mirror https://libreboot.org/release/Leah Rowe2017-06-051-0/+2
|
* fix links on andrew's news entry, with alyssa's permissionLeah Rowe2017-06-052-15/+15
| | | | | pull request not needed. alyssa gave me permission via email, to push this directly to master
* DittoAlyssa Rosenzweig2017-06-041-1/+1
|
* they->heAlyssa Rosenzweig2017-06-041-1/+1
|
* Edit news entryAlyssa Rosenzweig2017-06-041-27/+24
|
* Add news entry about new member of Libreboot core management: Andrew RobbinsLeah Rowe2017-06-041-0/+39
|
* Add Andrew Robbins to core management team (with permission from other leaders)Leah Rowe2017-06-041-0/+2
| | | | | | | | | | | | | Permission was granted by Paul, Alyssa and Swift in a private email thread. Andrew is working on huge changes to the build system to make it usable, and understands most of Libreboot and is therefore suitable to review and merge patches that are contributed to the project. Andrew has also demonstrated an understanding in how the documentation is maintained, and generally seems to understand Libreboot's practises well and agrees with them. Andrew is a perfect fit for the core management team, in my opinion, and I look forward greatly to their future work within Libreboot.
* Add edit link to all pages, linking to instructions for sending patchesLeah Rowe2017-05-303-2/+25
| | | | | | | This is necessary, so that people know how to modify the website and send improvements, like they do on wiki sites. Although Libreboot is git-hosted, having this link helps. It goes to a section added to the Git page, instructing users how to edit the website and documentation.
* homepage: Bugs and Tasks link to same page. Delete tasks linkLeah Rowe2017-05-291-1/+0
|
* further tidy suppliers.md: small headers, back to home link at bottom of pageLeah Rowe2017-05-282-35/+31
|
* suppliers page: for each supplier, state which locations they ship toLeah Rowe2017-05-281-1/+7
|
* further tidy up suppliers page, and categorize productsLeah Rowe2017-05-281-3/+46
|
* Tidy up the supplier pageLeah Rowe2017-05-281-30/+3
|
* Merge branch 'www/improve-management-page-title' of libreboot/libreboot into ↵Swift Geek2017-05-271-1/+1
|\ | | | | | | master
| * Shorten the page title on the Management Guidelines pageLeah Rowe2017-05-271-1/+1
| |
* | Improve tasks link on homepage; make it link to the entire issues pageLeah Rowe2017-05-271-1/+1
|/ | | | | The milestones page is less useful to link to, because it goes out of date often.
* Merge branch 'website-overhaul'Leah Rowe2017-05-274-63/+4
|\
| * Play around with menuAlyssa Rosenzweig2017-05-272-4/+3
| |
| * Remove trailing --Alyssa Rosenzweig2017-05-251-1/+1
| |
| * Remove distracting 'posts' about domain offersAlyssa Rosenzweig2017-05-252-51/+0
| |
| * Remove news links on homepageAlyssa Rosenzweig2017-05-251-8/+1
| |