Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

redox-os/website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

To build this site, you must installHugo and run thehugo.sh file.

Install Hugo

  • Download the executable for your CPU architecture onthis link
  • Move the extractedhugo file to the~/.local/bin directory on your user folder
  • Verify if the~/.local/bin is present on yourPATH (runecho $PATH to verify)
  • If the~/.local/bin directory is not present on yourPATH environment variable, you must add it on the configuration file of your terminal shell

Bash PATH

To add the~/.local/bin directory on thePATH of your GNU Bash, add the following text on the end of the.bashrc file at your user folder:

export PATH=$PATH:$HOME/.local/bin

Preview

To preview the site, run the following command, wait it to finish and open the linkhttp://localhost:1313

./hugo.sh serve

Thehugo.sh is a script that enables content written for the English language webpage (in thecontent/ directory) to be visible in pages of other languages.

But this results in a quirk wherehugo does not watch for changes in thecontent/ directory when you use./hugo.sh serve command.

So, you can use thehugo serve command instead, which makes sure thatcontent/ directory is also watched (just for when you're writing the pages).

Verify Broken Links

Use thelychee tool to verify broken links, it's very advanced and fast.

Readthis page to install the tool.

Usage

Run the following command inside the repository folder:

lychee content

[8]ページ先頭

©2009-2025 Movatter.jp