help wanted
仓库指标
- 星标
- (2 个星标)
- PR 合并指标
- (30 天内没有已合并 PR)
描述
This was originally part of shawnbot/swagger-static#1, but I'm moving it here for safe keeping.
Here are some options for distributing stylesheets:
-
Just bundle a stylesheet with
swagger-templateand let people copy it as needed. -
Make a CDN-hosted default stylesheet and reference that in the
swagger-template. -
Ignore styling altogether and let users specify stylesheets in a custom template, as in:
{% extend "swagger.html" %} {% block css %} <link rel="stylesheet" href="path/to/custom.css"> {% endblock %}