0
0
Fork 0
mirror of https://codeberg.org/forgejo/docs.git synced 2024-11-21 17:36:59 -05:00

add recommendations for screenshots (#200)

Fixes: https://codeberg.org/forgejo/docs/issues/154
Reviewed-on: https://codeberg.org/forgejo/docs/pulls/200
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Reviewed-by: Loïc Dachary <dachary@noreply.codeberg.org>
Co-authored-by: Earl Warren <contact@earl-warren.org>
Co-committed-by: Earl Warren <contact@earl-warren.org>
This commit is contained in:
Earl Warren 2023-10-21 20:02:08 +00:00 committed by Loïc Dachary
parent dc58097aec
commit d913ba1c1b

View file

@ -147,6 +147,18 @@ Look at existing links for examples.
Images should be stored in the `docs/_images/` directory, and should be referenced by their path relative to the markdown files where they are used.
Use 1280 x 800 as dimensions for screenshots that show the whole page.
Consistency is improved by having a standard window size for
screenshots to ensure things are shown at roughly the same scale and
layout. 1280 x 800 is close to the largest size where there is no
extraneous padding at the sides.
When taking a screenshot one can use "responsive design mode" in Firefox
(Cmd+Alt+M on macOS, Ctrl+Shift+M on GNU/Linux) which allows you to enter
the viewport size in the toolbar at the top. It also has a handy
screenshot button.
## Code of Conduct
All contributors are required to abide by the [Forgejo Code of Conduct](https://codeberg.org/forgejo/code-of-conduct).