Skip to content

refactor: Move CSS tags in basic/layout.html to css_files variable#8643

Merged
tk0miya merged 1 commit intosphinx-doc:masterfrom
tk0miya:refactor_basic/layout.html
Jan 4, 2021
Merged

refactor: Move CSS tags in basic/layout.html to css_files variable#8643
tk0miya merged 1 commit intosphinx-doc:masterfrom
tk0miya:refactor_basic/layout.html

Conversation

@tk0miya
Copy link
Copy Markdown
Member

@tk0miya tk0miya commented Jan 2, 2021

Feature or Bugfix

  • Refactoring

Purpose

To make CSS customizable, all CSS files in basic/layout.html has their
priority: 200.  Therefore, extensions and users can insert their own
custom CSS files before or just after them.

As a side effect, the CSS tags in basic/layout.html are removed.  These
CSS files will be rendered via `css_files` template variable.

refs: sphinx-doc#8634, c5f0398
@tk0miya tk0miya force-pushed the refactor_basic/layout.html branch from cc1cc39 to 5b392e3 Compare January 2, 2021 17:41
@tk0miya tk0miya merged commit dc24c93 into sphinx-doc:master Jan 4, 2021
@tk0miya tk0miya deleted the refactor_basic/layout.html branch January 4, 2021 12:36
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant