mirror of
https://github.com/TeachBooks/manual.git
synced 2026-11-13 06:45:52 +00:00
Add sphinx_gated_directives extension and code-align CSS
Introduces the custom Sphinx extension 'sphinx_gated_directives' for start/end directive gating and validation, registering it in the Sphinx local extensions. Also adds a CSS file to enforce left alignment for code cells. Updates _config.yml to configure the new extension and set the documentation language to English.
This commit is contained in:
parent
7533ef1c0b
commit
c7486c0b42
3 changed files with 527 additions and 2 deletions
4
book/_static/code-align.css
Normal file
4
book/_static/code-align.css
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
/* this to enforce left alignment for docutils content (i.e. code cells) */
|
||||
div.cell.docutils.container {
|
||||
text-align: left !important;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue