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

Use SVG for brand icons and FA icon for source link #1475

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

friggog
Copy link
Contributor

@friggog friggog commented Nov 11, 2020

Uses inline SVG icons for repo brands (GitHub, GitLab etc) which allows for ADO logo as well.
Remove FA brands font as a result.
image

Had to update the stylesheet - not sure I've done this in the right/best way, also recompiling causes complete changes to the CSS, not sure if there is a preferred way to do this?

Also changed the source link for each function to use the FA code icon which I think looks nicer?
image

@mortenpi
Copy link
Member

For recompiling the CSS (also applies to #1476), please use DocumenterTools (it's not obvious, we really need to document this) -- it makes sure that the correct code formatting is used for the resulting CSS etc.:

using DocumenterTools: Themes
Themes.compile_native_themes()

The only thing you need to make sure is that your local Documenter clone is a dev. dependency of the environment where you also installed DocumenterTools.

@mortenpi mortenpi added Format: HTML Related to the default HTML output Type: Enhancement labels Nov 11, 2020
@friggog
Copy link
Contributor Author

friggog commented Nov 12, 2020

Yeah might useful to add this to the contributing page in the docs

@friggog friggog requested a review from fredrikekre November 20, 2020 08:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Format: HTML Related to the default HTML output Type: Enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants