libreboot

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 41e9655b04cae6c6b05ad435df29e42653381cfc
parent 91dc72c766135826ca1bceb9e696aea89ab3c0a8
Author: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Date:   Tue, 30 May 2017 00:22:54 +0000

Merge branch 'www/add-edit-button-to-all-pages' of libreboot/libreboot into master

Diffstat:
www/footer.md | 1+
www/git.md | 22++++++++++++++++++++++
www/publish.sh | 4++--
3 files changed, 25 insertions(+), 2 deletions(-)

diff --git a/www/footer.md b/www/footer.md @@ -1,4 +1,5 @@ +**[Edit this page](/git.md#editing-the-website-and-documentation-wiki-style)** -- [License](/docs/fdl-1.3.md) -- [Template](/license.md) -- [Authors](/contrib.md) -- diff --git a/www/git.md b/www/git.md @@ -11,6 +11,28 @@ Download Libreboot from the Git repository here: **git clone https://notabug.org/libreboot/libreboot.git** +Editing the website and documentation, wiki-style +------------------------------------------------- + +The entire website on libreboot.org, including all of the Libreboot +documentation, is hosted in the Git repository. The pages are written in +Markdown, which is an easy-to-use markup language similar to the one used +when, for instance, editing pages on WikiPedia or a MediaWiki-based website. + +Just download Libreboot's Git repository, make changes to the website under +the ***www*** directory. Changes to the documentation section are made under +the ***docs*** directory. Once you've made your changes, you can submit them +for inclusion live on libreboot.org, using the instructions on the rest of this +page. + +***You can use any standard text editor to edit and improve the entire +Libreboot website. E.g. Vim, GNU Emacs, GNU Nano, Gedit or whatever you +prefer to use.*** + +We currently have a shortage of people who possess the skill to write and +maintain good documentation for Libreboot, so we welcome any and all +contributions! + General guidelines for submitting patches ----------------------------------------- diff --git a/www/publish.sh b/www/publish.sh @@ -38,7 +38,7 @@ if [ "${FILE}" != "./index" ]; then DEST="./" fi - RETURN="<a href='$DEST'>Back to previous index</a>" + RETURN="<strong><a href='/git.html#editing-the-website-and-documentation-wiki-style'>Edit this page</a></strong> -- <a href='$DEST'>Back to previous index</a>" OPTS="-T Libreboot" fi else @@ -46,7 +46,7 @@ else fi if [[ $FILE = *suppliers ]]; then - printf "\n<a href=\"../\">Back to previous index</a>\n" >> temp.md + printf "\n<strong><a href=\"/git.html#editing-the-website-and-documentation-wiki-style\">Edit this page</a></strong> -- <a href=\"../\">Back to previous page</a>\n" >> temp.md fi if [ "${FILE}" != "./docs/fdl-1.3" ] && [ "${FILE}" != "./conduct" ]; then