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

Add support for Azure DevOps URL scheme #1463

Closed
wants to merge 0 commits into from

Conversation

friggog
Copy link
Contributor

@friggog friggog commented Nov 6, 2020

Resolves #1462

@mortenpi mortenpi added Format: HTML Related to the default HTML output Type: Enhancement labels Nov 8, 2020
@mortenpi mortenpi added this to the 0.26.0 milestone Nov 8, 2020
Copy link
Member

@mortenpi mortenpi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Other than the one docstring comment, LGTM!

src/Writers/HTMLWriter.jl Outdated Show resolved Hide resolved
src/Documenter.jl Outdated Show resolved Hide resolved
@friggog
Copy link
Contributor Author

friggog commented Nov 9, 2020

@mortenpi is there any reason to use font awesome over inline SVG icons?

From what I can see (though I'm sure there are more) the only icons used are settings cog, hamburger (can be replaced with ☰ anyway), branded repo logos and file logo for unknown repo - it seems a bit heavy to include FontAwesome and FontAwesomeBrands just for these

Happy to do a separate PR to move to inline SVGs if you think this is a good idea?

Edit: maybe more general icons than is worth the effort, perhaps worthwhile just for the brand icons though...

src/Documenter.jl Outdated Show resolved Hide resolved
@mortenpi
Copy link
Member

mortenpi commented Nov 9, 2020

LGTM, will merge shortly. Thanks a lot @friggog!

Regarding the use of SVG icons: I'd say FA is just the simplest option that gives a set of consistently styles icons. No objections to using an SVG icon if, for example, FA doesn't have an icon available.

It doesn't look like FA actually adds that much to the page load time though, so I am not sure it's worth complicating things with our own icons. We'd have to deploy the small icons on every build ourselves then. And there's also the IP side of things: where would you "source" the icons from?

@friggog
Copy link
Contributor Author

friggog commented Nov 10, 2020

FontAwesome has the SVGs directly available and free to use as far as I can tell. Also simple-icons. I'll open a separate PR with some changes in and you can see what you think.

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.

Add support for Azure DevOps url scheme
2 participants