#16 Looking for CSS/HTML skills for Hugo Template
Opened 3 years ago by jibecfed. Modified 3 years ago

Hi,

in this address you'll find a website with a limited set of document generated: https://jibecfed.fedorapeople.org/partage/website.tar.xz

To build it, just run the hugo server: https://gohugo.io/getting-started/quick-start/#step-5-start-the-hugo-server

I took the theme from: https://themes.gohugo.io
You are free to start your own from scratch, or reuse one under an AGPL license.
Meaningful documentation is in: https://gohugo.io/templates/

Fedora colors, logo and other useful design things are described in: https://fedoraproject.org/wiki/Logo/UsageGuidelines

Volume information:

  • Languages and and Packages pages are per distribution.

    • For Fedora 32, there is 338 languages
    • For Fedora 32, there is 217 packages
  • Expect about 10 different distribution (from Fedora 20 to Fedora 34)

Constraints:

  • if you need fonts, image, css or any other resources from the web, copy it locally.
  • Make sure every single resource is under an open source license.
  • Try to keep all of your work in the theme folder (in this example it is in the theme/ananke/). The idea is that a theme can have its own git repository and be reused for by projects). It also allows me to use root level folders to generate
  • Keep it simple
  • Respect standards

First goal: make the website having a Fedora look and feel (logo, colors)

Second goal: think about the workflow of users on the website. How should our users be able to browse our website? What can we do to help him not to be lost? What shout the language listing page looks like? What should a distribution page looks like? etc.

Third goal: design these workflows (I'll make sure to provide any missing data).

Whoever is welcome to contribute to this, just ping here to express your interest, and inform here with your progress.


Ping @astitva3377 @ramyaparimi @adeind81 @antarikshaverma @nasirhm
You expressed the interest to follow this task, there are any news?

Thanks.

I now have an improved rendering: https://pagure.io/fedora-localization-statistics/pull-request/25
it may be easier for you to start if you don't know anything about hugo

to test:

Hello @jibecfed ,

I would like to help out. I've worked with Hugo prior,and this issue seems a good way to get used to the community further (I'm a new contributor)

I would run it locally and read/explore the docs provided above,and would update you.

welcome @rachittshah , I just published some changes yesterday that you need to see before starting, including a map and territories, you may clone this branch: https://pagure.io/fedora-l10n/fedora-localization-statistics/tree/territories

Here are the step to help you (because the README needs love :p)

(you clone the repo, the you do git fetch and you checkout the territories branch)
then edit the following file: https://pagure.io/fedora-l10n/fedora-localization-statistics/blob/territories/f/runall.sh

Maybe try with "gnome-c.*" packages to have only a few packages to process and a lot of translations:

podman run -it --rm -v ./:/src:z -v ./results:/src/results:z -v ./srpms:/srpms:z --tmpfs /tmp:size=4G fedlocstats:$release /src/build.py --keep-srpms gnome-c.* --results "$results" --verbose

Then:

  1. create a vitualenv: virtualenv venv
  2. load it source venv/bin/activate
  3. install requirements pip install -r requirements.txt
  4. run everything ./runall.sh

Once process is done, you should have hugo launching with the website.

Login to comment on this ticket.

Metadata
Attachments 1
Attached 3 years ago View Comment
Related Pull Requests
  • #25 Merged 3 years ago