Commit Graph

11 Commits

Author SHA1 Message Date
Denis 'GNUtoo' Carikli 873f3ffca5
site: rename to website.
First this is more consistent as we already have a website-build
directory. Then it is also useful for migrating to haunt as 'haunt
build' puts the generated website in a 'site/' directory, so without
this rename, when the migration would be complete we'd have site/site
instead of website/site.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
2024-05-21 03:28:50 +02:00
Denis 'GNUtoo' Carikli b1f0adbc22
site: change .md links to .html.
With the Untitled static website generator, .MC links work fine, but
since GNU Boot plans to move to Haunt and that for some reasons in our
configuration, haunt didn't handle such links, we switch to .html
which also works fine with Untitled.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
2024-05-21 03:28:45 +02:00
Denis 'GNUtoo' Carikli 31cd08a501
site: docs: install: Use relative links for images.
This enable to later on change the subdirectory in which the website
is reployed (for instance from software/gnuboot/web to
software/gnuboot/web/test) without breaking images.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
2024-05-21 02:22:35 +02:00
Denis 'GNUtoo' Carikli 0e3ff8047f
Announce and release GNU Boot 0.1 RC2 and project status.
The file adding the news is named gnuboot-december-2023.md instead of
gnuboot-0.1-rc1.md as the later is understood as a translation in the
'1-rc1' lang. Renaming the file to gnuboot-0.1-rc1.en.md instead makes
untitled detect the lang correctly but then it assumes this is a
translation and adds a broken link for "English" on the new page.

For now the older Libreboot news were kept as this shows the history
of the project and since GNU Boot is a continuation of the Libreboot
project it makes sense to also keep them.

The CSS also needed to be separated from the template because
otherwise the generated news page would be incomplete and miss all
what comes before the CSS like '<!DOCTYPE html>' for instance.

Finally x-reviewed was changed into x-unreviewed because we can't set
x-reviewed for the news, so the only way to remove the banner for the
individual news is to default to reviewed (and to mark all unreviewed
files as such).

As for the Untitled patch it is needed to make the news page work.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
2023-12-09 16:01:23 +01:00
Denis 'GNUtoo' Carikli bfe6b0c2ac
Deploy the website on https://gnu.org/software/gnuboot/.
Since we now have a very visible banner that indicates which pages
have been not been reviewed, and contribution instructions on how to
fix that, we are ready to publish the website.

Right now the deploy path of the website isn't configurable as this
would require some form of templating or processing of the markdown
files, so the website was simply moved from
gnu.org/software/gnuboot/test to gnu.org/software/gnuboot.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
2023-11-16 23:56:06 +01:00
Denis 'GNUtoo' Carikli 3adc217cf1
Move the website to /software/gnuboot/test
The website will be published to https://gnu.org/software/gnuboot. But
for now it is not ready yet to be published as-is because there are no
contribution instructions yet and we also need to agree on what to put
on the main page.

So until that's fixed, it will be published to
https://gnu.org/software/gnuboot/test.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Neox: Suggested the split from the "website-build: build.sh: switch to
      GNU Boot repositories." commit.
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
2023-11-07 19:08:13 +01:00
Denis 'GNUtoo' Carikli cc3dea2d7b
Move images in the website directory
Since the website and the images were merged in GNU boot respectively
in site/ and www/, we can now modify GNU boot to only be cloned once
to build the website.

This also requires to move the images inside site/ at the place where
website-build expects them.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Neox: Suggested the split from the "website-build: build.sh: switch to
      GNU Boot repositories." commit.
Acked-by: Adrien 'neox' Bourmault <neox@gnu.org>
2023-11-07 19:07:59 +01:00
Denis 'GNUtoo' Carikli 2741da3959
Fix images path for web usage
We don't plan to use an external website just for the images, so
we need a local path for the images.

Since the images are in www/ in the images repositories, it's easier
to expect the images in img/www to enable easy deployment by users.

The path of the images aren't relative to the page. So we need to use
a kind of absolute path for it to work.

We have the choice of not using any domain (/img/www/) or using a
specific domain (DOMAIN/img/www/). We use the former as the later
doesn't work offline and cannot use the local images.

However the downside is that we need a local web server for it to work
as simply opening the html files in a browser won't work unless the
user puts the images inside /img/www inside the root filesystem.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
2023-08-17 01:21:51 +02:00
Denis 'GNUtoo' Carikli e63262d53c
Make images work
Before the images were hosted on a separate domain. Since we don't
have that, we moved them in libreboot/img and the address were changed
with the following command:
$ sed 's#av\.libreboot\.srht\.site#libreboot.srht.site/img#g' \
  -i \
  $(git ls-files | xargs grep "av\.libreboot\.srht\.site" | sed 's/:.*//' | sort -u)

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
2023-03-17 16:56:25 +01:00
Denis 'GNUtoo' Carikli 39aff0f989
Use the new URL.
The URL was changed with the following command:
$ sed 's#libreboot.org#libreboot.srht.site#g' \
     -i \
     $(git ls-files | xargs grep "libreboot\.org" | sed 's/:.*//' | sort -u)

If the website is moved again in the future we will need to change the
URL again in the same way.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
2023-03-17 16:56:25 +01:00
Leah Rowe 501e77d996 libreboot site
new one
2021-05-23 22:34:47 +01:00