Commit graph

19 commits

Author SHA1 Message Date
crapStone da1b77aa6a Add woodpecker ci & many linters (and their required fixes) (#377)
closes #238

Co-authored-by: pat-s <patrick.schratz@gmail.com>
Co-authored-by: Patrick Schratz <pat-s@noreply.codeberg.org>
Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/377
Co-authored-by: crapStone <crapstone01@gmail.com>
Co-committed-by: crapStone <crapstone01@gmail.com>
2024-06-11 07:51:22 +00:00
Andre601 b234b71bb7 Create new admonition boxes (#337)
Related issue: https://codeberg.org/Codeberg/Documentation/issues/330

This is my attempt at adding admonition-like boxes to the documentation. The goal is to make important stuff stand out more (especially warnings and alike).

The system uses a custom `<admonition>` box which allows classes for further customization. I.e. `<admonition class="warning">` to display a warning box.

I first wanted to make individual boxes (`<warning>`, `<note>`, ...) but decided against it, as it would've created a lot of duplicate CSS.

The CSS is designed in such a way that the first paragraph of the box is made bold (font-weight 700) while any subsequent ones are not.

The following forms of admonitions are included:
- Info (default)
- Note
- Tip
- Warning

Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/337
Co-authored-by: Andre601 <github@andre601.ch>
Co-committed-by: Andre601 <github@andre601.ch>
2023-09-18 15:17:17 +00:00
Felipe Leopoldo Sologuren Gutiérrez 98c40b8a07 Fixing broken links (#267)
Changes:
 * Fallback images links are all lowercase now.
 * Fix html redirect (meta tag http-equiv redirect) from ```/git/clone-commit-via-http ```to ```/git/clone-commit-via-web```.
 * Added protocol to an email link.
 * Fix some pages links.

To detect broken links I used wget:

```
wget --spider --recursive --level=0 --debug -e robots=off --base=http://localhost:8080 http://localhost:8080 2>&1 | grep ^Found\ [0-9]*\ broken\ link
```

However, wget detects html redirects (meta tag http-equiv refresh) as false positive.

If broken links have found, then the referer header will be searched for find out where they are:
```
wget --spider --recursive --level=0 --save-headers --debug -e robots=off --base=http://localhost:8080 http://localhost:8080 2>&1 | less
```

Co-authored-by: fsologureng <sologuren@estudiohum.cl>
Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/267
Co-authored-by: Felipe Leopoldo Sologuren Gutiérrez <fsologureng@noreply.codeberg.org>
Co-committed-by: Felipe Leopoldo Sologuren Gutiérrez <fsologureng@noreply.codeberg.org>
2022-10-03 21:35:01 +02:00
Jeremy b13f0c6c81 Fix getting-started/install-git.md 2022-07-26 21:46:39 +02:00
n 170914185d Add anchor links to headings (#159)
This PR adds anchor links to any markdown headings. It also replaces any hacky workarounds used previously.

Closes #83.

Reviewed-on: https://codeberg.org/Codeberg/Documentation/pulls/159
Co-authored-by: n <n@noreply.codeberg.org>
Co-committed-by: n <n@noreply.codeberg.org>
2021-08-09 11:59:36 +02:00
Lucas Hinderberger f94bd91090 Merge branch 'prepare-merge' 2020-10-23 10:04:51 +02:00
Ivan Calandra b4351c7db1 Changes required by lhinderberger 2020-10-23 09:49:44 +02:00
Ivan Calandra d5af50bcca Update for Git 2.29.0 on Win10 2020-10-20 17:29:41 +02:00
Martijn de Boer db1995d687
Getting-started; some grammar and typos 2020-10-16 16:33:00 +02:00
Martijn de Boer f77ba56974
Add whitespace before disclaimer 2020-10-16 16:18:58 +02:00
Ivan Calandra b67169ef6f More details about installation on Win
- Select components (icon, updates)
- Choose credential helper
- With screenshots
2020-10-16 10:19:05 +02:00
Lucas Hinderberger 43603978ff Moving Git configuration to separate article 2020-10-04 20:44:27 +02:00
n 3da34f5c1f minor changes 2020-10-04 20:44:27 +02:00
n 598d08d841 Add instructions for macOS and Linux 2020-10-04 20:44:27 +02:00
Ivan Calandra 0244880105 Change to knut@example.com 2020-10-04 20:44:27 +02:00
Ivan Calandra 28fb6f7147 Changes requested by lhinderberger 2020-10-04 20:44:27 +02:00
Ivan Calandra 1b790bade5 Add webP images 2020-10-04 20:44:27 +02:00
Ivan Calandra 941887e9b4 Edit based on lhinderberger's comments 2020-10-04 20:44:27 +02:00
Ivan Calandra fcc84e58e2 Install Git Win10 2020-10-04 20:44:27 +02:00