manwar / theweeklychallenge

The Weekly Challenge - Perl & Raku. You do not have to be an expert. https://theweeklychallenge.org
Artistic License 2.0
12 stars 20 forks source link

Add README #98

Closed davorg closed 8 months ago

davorg commented 2 years ago

In order for people to help fix problems with the site, it would be really useful to have a short README file that explains how to run Hugo to generate the site.

voegelas commented 1 year ago

I was able to generate the site with an old Hugo version from https://github.com/gohugoio/hugo/releases/tag/v0.67.0 by running hugo without arguments. There are still lots of changes in the generated documents but the site builds. I searched for my own changes with git status content data static.

davorg commented 1 year ago

Ah, that's a rather old version of Hugo (from March 2020). How did you work out that's the version that you need?

I just installed hugo from the Fedora repos and got v0.93.3 which doesn't work at all with this repo. Looks like the current version is v0.114.1.

@manwar, do you have any plans to fix the repo so it builds with a more recent version of hugo? Would you be interested in a pull request that fixes the problems? (I'm not saying I'll produce one, but I might have the time at some point.) Tell you what, I'll just raise an issue and you can do what you like with it.

voegelas commented 1 year ago

Hugo puts the version into the generated files.

<meta name="generator" content="Hugo 0.67.0-DEV" />

But even with version 0.67 and find docs -type f -print0 | xargs -0 perl -pi -e 's/"(Hugo 0\.67\.0)"/"$1-DEV"/' there are lots of other changes in the generated documents.

I'm also on Fedora. The error messages from hugo --debug aren't helpful at all and I am not familiar with Hugo.

davorg commented 1 year ago

Ah. I'll try a few more versions and see how up-to-date I can go.

I know nothing about Hugo either. But it might be fun to learn :-)

baimamboukar commented 8 months ago

Hello @davorg 👋 I'm Baimam, from Cameroon. My initial application for outreachy was accepted and I would like to work on this issue.

davorg commented 8 months ago

Hi @baimamboukar, that's good news. Congratulations on being accepted for Outreachy.

I'm not sure what the process is for deciding what you're going to work on, but I think that this (and the other outstanding issue on this project) would be great places to start.

Let me know if I can be any help.

baimamboukar commented 8 months ago

Hi @baimamboukar, that's good news. Congratulations on being accepted for Outreachy.

I'm not sure what the process is for deciding what you're going to work on, but I think that this (and the other outstanding issue on this project) would be great places to start.

Let me know if I can be any help.

Hey @davorg ! Thank You ✨

I already started working on this issue, I will soon raise the PR.

manwar commented 8 months ago

@baimamboukar As part of Outreachy Program, we are planning to get rid off Hugo altogether. I would suggest, please don't spend your energy and time on this. Instead, you can help us creating template for new web interface. You can discuss this and other topics on the Slack channel "the-weekly-challenge".

baimamboukar commented 8 months ago

Hello @manwar 👋

Thanks very much for the information!