Skip to content

Commit b04e385

Browse files
ensure formulas are centered and layout is clean
1 parent dc358ab commit b04e385

File tree

4 files changed

+8
-2
lines changed

4 files changed

+8
-2
lines changed

doc/_static/style.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,4 +75,9 @@ code,
7575
.highlight .nb {
7676
color: #1f77b4 !important;
7777
/* or #ff7f0e if you want orange instead */
78+
}
79+
80+
81+
div.math mjx-container {
82+
text-align: center;
7883
}

doc/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,8 @@
145145
"navbar_center": ["navbar-nav"],
146146
"navbar_end": [
147147
"navbar-icon-links",
148-
"version-switcher",
149148
"theme-switcher",
149+
"version-switcher",
150150
],
151151

152152
# other configurations

doc/tutorials/add_datafit.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.. _how_to_add_custom_datafit:
2+
23
.. meta::
34
:description: Tutorial on creating and implementing a custom datafit in skglm. Step-by-step guide includes deriving gradients, Hessians, and an example with Poisson datafit.
45

doc/tutorials/add_penalty.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
.. meta::
66
:description: Step-by-step tutorial on adding custom penalties in skglm. Covers implementation details, proximal operators, and optimality conditions using the L1 penalty.
77

8-
How to add a custom penalty
8+
How to Add a Custom Penalty
99
~~~~~~~~~~~~~~~~~~~~~~~~~~~
1010

1111
skglm supports any arbitrary proximable penalty.

0 commit comments

Comments
 (0)