RawTherapee Documentation
To build RawPedia, you'll need the following software:
hugo
, the extended version, a recent releasegit
pnpm
or similar npm package manager
- Clone the repository:
git clone https://github.com/RawTherapee/RawPedia.git
- Install the npm dependencies:
cd RawPedia/themes/hugo-bootstrap-bare/assets && pnpm install && cd ../../../
- Run the hugo server:
hugo server --disableFastRender
- Navigate to
http://localhost:1313
in a web browser.
You can now edit the content in the content
folder and the hugo server will rebuild the content with each change.
In early 2025, RawPedia moved from medaiwiki to markdown and hugo for it's documentation. The following are some notes from that conversion.
This is useful for seeing what links are present in the content
cd content/
grep -Eori "\[.*?\]\(.*?\)"
This is useful for finding all the tranlated files, then rename them to the hugo-comptaible naming convention.
To rename all the Japanese files, orginally named ja.md
:
find . -name jp.md -exec rename jp.md index.jp.md '{}' \;
The script that converted media wiki into markdown files didn't produce working links. The original links looked like [Link Texst](Link to my Page.md)
.
Running the sed command sed -Ei 's/\[([^]]+)\]\(([^)]+)\.md\)/[\1](\L\2)/g' **/*.md
finds most of the markdown links, removes the .md
from the end, converts the link to lowercase, and replaces spaces with underscores.