From 2d2ceed581c6595c166b2abbb069554d42b7f998 Mon Sep 17 00:00:00 2001 From: Kolja Lampe Date: Sat, 18 Jan 2025 17:43:31 +0100 Subject: [PATCH 1/3] Add margins on header for readability --- doc/_static/xdg.css | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/doc/_static/xdg.css b/doc/_static/xdg.css index 6f063f3e7..f82f89c5c 100644 --- a/doc/_static/xdg.css +++ b/doc/_static/xdg.css @@ -120,26 +120,36 @@ p strong { h1 { font-weight: 500; font-size: 2rem; + margin-top: '0'; + margin-bottom: 1.5rem; font-family: "Inter var", sans-serif; } h2 { font-weight: 800; font-size: 1.7rem; + margin-top: 2.5rem; + margin-bottom: 1.2rem; font-family: "Inter var", sans-serif; } h3 { font-weight: 800; font-size: 1.3rem; + margin-top: 2.2rem; + margin-bottom: 1rem; font-family: "Inter var", sans-serif; } h4 { font-weight: 700; font-size: 1.1rem; + margin-top: 1rem; + margin-bottom: 1rem; font-family: "Inter var", sans-serif; } h5 { font-weight: 700; font-size: 1rem; + margin-top: 1rem; + margin-bottom: 1rem; font-family: "Inter var", sans-serif; } h2,h3,h4,h5 { opacity: 0.7; } From 0a2f96b573a2229b18b317a93275e824cccb557b Mon Sep 17 00:00:00 2001 From: Kolja Lampe Date: Sat, 18 Jan 2025 17:43:44 +0100 Subject: [PATCH 2/3] Update footer for 2025 --- doc/website/_includes/footer.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/website/_includes/footer.html b/doc/website/_includes/footer.html index eacba4eb0..95cf1d1bd 100644 --- a/doc/website/_includes/footer.html +++ b/doc/website/_includes/footer.html @@ -1,5 +1,5 @@
-

© {{ site.title }}, 2023

+

© {{ site.title }}, 2023-2025

Website source

From 04a4290c90540568cff881d5c22335cdf4dfbf62 Mon Sep 17 00:00:00 2001 From: Kolja Lampe Date: Sat, 18 Jan 2025 17:44:27 +0100 Subject: [PATCH 3/3] Change readme to point to online docs as setup seems old --- doc/website/README.md | 22 +++------------------- 1 file changed, 3 insertions(+), 19 deletions(-) diff --git a/doc/website/README.md b/doc/website/README.md index 88027a344..37b838fa7 100644 --- a/doc/website/README.md +++ b/doc/website/README.md @@ -2,23 +2,7 @@ This is the website for the [XDG Desktop Portal project](https://github.com/flatpak/xdg-desktop-portal). -## Setup +## Development -The process of setting up the site locally consists of: - -- Install ruby [gem bundler](https://bundler.io/). On [Fedora](https://getfedora.org/)/in the [Toolbx](https://containertoolbx.org) you do: - -``` -toolbox enter -sudo dnf install rubygem-bundler -cd xdg-desktop-portal/doc/website -bundle install -``` - -- Test the site locally: - -``` -bundle exec jekyll s -``` - -- `git commit` your changes and create a merge request. After review, the merged changes get automatically deployed to the site. +The contribution guidelines have been moved to the online documentation: +https://flatpak.github.io/xdg-desktop-portal/docs/for-contributors.html