Skip to content

Commit 24349a4

Browse files
Merge pull request #34 from uutils/remove-oranda
Remove oranda in favour of zola pages
2 parents 3ec1f45 + 013abd0 commit 24349a4

File tree

6 files changed

+106
-10
lines changed

6 files changed

+106
-10
lines changed

.github/workflows/docs.yml

+8-6
Original file line numberDiff line numberDiff line change
@@ -47,21 +47,23 @@ jobs:
4747
run: |
4848
curl https://tldr.sh/assets/tldr.zip --output coreutils/docs/tldr.zip
4949
50-
- name: Install necessary tools (oranda, mdbook and mdbook-toc)
50+
- name: Install necessary tools (mdbook and mdbook-toc)
5151
uses: taiki-e/install-action@v2
5252
with:
53-
tool: oranda,mdbook,mdbook-toc
53+
tool: mdbook,mdbook-toc
5454

5555
- name: Build Coreutils Docs
5656
run: |
5757
cd coreutils
5858
cargo run --bin uudoc --all-features
59-
oranda build
59+
cd docs
60+
mdbook build
6061
6162
- name: Build Findutils Docs
6263
run: |
6364
cd findutils
64-
oranda build
65+
cd docs
66+
mdbook build
6567
6668
- name: Run Zola
6769
uses: shalzz/zola-deploy-action@v0.18.0
@@ -72,8 +74,8 @@ jobs:
7274
- name: Collect results into `public` folder
7375
run: |
7476
cp -r uutils.github.io/public public
75-
cp -r coreutils/public public/coreutils
76-
cp -r findutils/public public/findutils
77+
cp -r coreutils/docs/book public/coreutils/docs
78+
cp -r findutils/docs/book public/findutils/docs
7779
7880
- name: Upload artifact for checking the output
7981
uses: actions/upload-artifact@v4

content/coreutils.md

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
+++
2+
3+
title = "coreutils"
4+
template = "project.html"
5+
6+
+++
7+
8+
uutils coreutils is a cross-platform reimplementation of the GNU coreutils in Rust. While all programs have been implemented, some options might be missing or different behavior might be experienced.
9+
10+
# Goals
11+
12+
This project aims to be a drop-in replacement for the GNU utils. Differences with GNU are treated as bugs.
13+
14+
uutils aims to work on as many platforms as possible, to be able to use the same utils on Linux, Mac, Windows and other platforms. This ensures, for example, that scripts can be easily transferred between platforms.
15+
16+
# Contributing
17+
18+
To contribute to uutils coreutils, please see [CONTRIBUTING](https://github.com/uutils/coreutils/blob/main/CONTRIBUTING.md).
19+
20+
# License
21+
22+
uutils coreutils is licensed under the MIT License - see the [LICENSE](https://github.com/uutils/coreutils/blob/main/LICENSE) file for details.
23+
24+
GNU Coreutils is licensed under the GPL 3.0 or later.

content/diffutils.md

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
+++
2+
3+
title = "diffutils"
4+
template = "project.html"
5+
6+
+++
7+
8+
Rust implementation of GNU diffutils: `diff`, `cmp`, `diff3` and `sdiff`.
9+
10+
This project aims to be a drop-in replacement of the original commands.
11+
12+
# License
13+
14+
uutils diffutils is licensed under the MIT or Apache License - see the [LICENSE-MIT](https://github.com/uutils/diffutils/blob/main/LICENSE-MIT) and [LICENSE-APACHE](https://github.com/uutils/diffutils/blob/main/LICENSE-MIT) file for details.
15+
16+
GNU diffutils is licensed under the GPL 3.0 or later.

content/findutils.md

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
+++
2+
3+
title = "findutils"
4+
template = "project.html"
5+
6+
+++
7+
8+
Rust implementation of GNU findutils: `xargs`, `find`, `locate` and `updatedb`.
9+
10+
This project aims to be a drop-in replacement of the original commands.
11+
12+
# Contributing
13+
14+
To contribute to uutils findutils, please see [CONTRIBUTING](https://github.com/uutils/findutils/blob/main/CONTRIBUTING.md).
15+
16+
# License
17+
18+
uutils findutils is licensed under the MIT License - see the [LICENSE](https://github.com/uutils/findutils/blob/main/LICENSE) file for details.
19+
20+
GNU findutils is licensed under the GPL 3.0 or later.

static/style.css

+20-4
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
--dark-bg-color: var(--light-fg-color);
66
--fg-color: var(--light-fg-color);
77
--bg-color: var(--light-bg-color);
8-
--light-link-color: #0284c7;
9-
--dark-link-color: #8bb9fe;
8+
--light-link-color: #c04828;
9+
--dark-link-color: #c04828;
1010
--link-color: var(--light-link-color);
1111
--light-highlight-bg-color: #ededed;
1212
--light-highlight-fg-color: #595959;
@@ -340,7 +340,7 @@ footer {
340340

341341
.title {
342342
font-size: 3em;
343-
font-weight: bold;
343+
font-weight: 900;
344344
margin-bottom: 0.5em;
345345
}
346346

@@ -378,4 +378,20 @@ footer {
378378
blockquote {
379379
border-left: 0.2em solid gray;
380380
padding-left: 1em;
381-
}
381+
}
382+
383+
.links {
384+
display: flex;
385+
justify-content: stretch;
386+
gap: 1em;
387+
margin-bottom: 2em;
388+
font-size: 1.2em;
389+
}
390+
391+
.links > a {
392+
padding: 0.2em 1em;
393+
color: #c04828;
394+
border: 2px solid #c04828;
395+
flex: 1;
396+
text-align: center;
397+
}

templates/project.html

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{%- extends "base.html" -%}
2+
3+
{%- block title -%}
4+
{{ page.title }} | uutils
5+
{%- endblock title -%}
6+
7+
{%- block main -%}
8+
<div class="title">{{ page.title }}</div>
9+
10+
<div class="links">
11+
<a href="https://github.com/uutils/{{page.title}}">Repository</a>
12+
<a href="/{{page.title}}/docs/installation.html">Installation</a>
13+
<a href="https://github.com/uutils/{{page.title}}/issues">Issues</a>
14+
<a href="/{{page.title}}/docs">Documentation</a>
15+
<a href="https://github.com/uutils/{{page.title}}/releases">Releases</a>
16+
</div>
17+
{{ page.content | safe }}
18+
{%- endblock main -%}

0 commit comments

Comments
 (0)