Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

General Housekeeping / Formatting Tasks #18

Merged
merged 3 commits into from
Mar 28, 2024
Merged

Conversation

l-zeuch
Copy link
Collaborator

@l-zeuch l-zeuch commented Mar 27, 2024

This CL is a combination of three commits. Due to the nature of this
branch ("general housekeeping"), I'll be merging this via a merge commit
rather than our usual squash-merge strategy, as the commits are
logically disjoint and don't really make sense to be squashed together.

  • hugo: increase ToC endLevel to 4

    Increase the markup.tableOfContents endLevel config to 4, so that some
    relatively deeply nested headers still show up in the individual page's
    ToC.

    This may be especially important for future pages such as template
    references, where we'll be using those higher-level headers fairly
    extensively.

    Signed-off-by: Luca Zeuch [email protected]

  • hugo: remove some useless/ugly themes

    Remove most of the themes that have no use beyond changing a single
    colour around, or are just not very nice to look at / redundant compared
    to other themes.

    Internal voting has concluded that we want to keep the Zen theme. A
    custom theme based on YAGPDB's colours is also being considered and
    should hopefully be the default in the future.

    Signed-off-by: Luca Zeuch [email protected]

  • layout: increase margin on menu sidebar items

    Increase the margin on menu sidebar items (#R-Topics).

    Prior to this change, the arrows of said items were quite close to the
    edge of the viewport / screen, which makes for an... interesting
    experience to look at.

    Personal testing and consulting with one other person has concluded that
    0.5em is good enough(tm).

    Signed-off-by: Luca Zeuch [email protected]

Terms

l-zeuch added 3 commits March 27, 2024 10:30
Increase the markup.tableOfContents endLevel config to 4, so that some
relatively deeply nested headers still show up in the individual page's
ToC.

This may be especially important for future pages such as template
references, where we'll be using those higher-level headers fairly
extensively.

Signed-off-by: Luca Zeuch <[email protected]>
Remove most of the themes that have no use beyond changing a single
colour around, or are just not very nice to look at / redundant compared
to other themes.

Internal voting has concluded that we want to keep the Zen theme. A
custom theme based on YAGPDB's colours is also being considered and
should hopefully be the default in the future.

Signed-off-by: Luca Zeuch <[email protected]>
Increase the margin on menu sidebar items (`#R-Topics`).

Prior to this change, the arrows of said items were quite close to the
edge of the viewport / screen, which makes for an... interesting
experience to look at.

Personal testing and consulting with one other person has concluded that
0.5em is good enough(tm).

Signed-off-by: Luca Zeuch <[email protected]>
@l-zeuch l-zeuch merged commit 729b881 into master Mar 28, 2024
4 checks passed
@l-zeuch l-zeuch deleted the hugo/general-housekeeping branch March 28, 2024 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant