Skip to content

Commit 7fed437

Browse files
could not adjust for smaller screen sizes, so changed menu titles instead
1 parent a99d46b commit 7fed437

File tree

5 files changed

+13
-40
lines changed

5 files changed

+13
-40
lines changed

doc/_static/style.css

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -75,37 +75,4 @@ code,
7575
.highlight .nb {
7676
color: #1f77b4 !important;
7777
/* or #ff7f0e if you want orange instead */
78-
}
79-
80-
/* Optional: adjust inline code background */
81-
code {
82-
background-color: #f8f9fa;
83-
/* light gray background */
84-
border: 1px solid #e0e0e0;
85-
padding: 0.15em 0.35em;
86-
border-radius: 0.2rem;
87-
}
88-
89-
90-
/* Force breakpoint in navbar earlier, attention: need to change if navbar titles are changed*/
91-
@media (max-width: 1177px) {
92-
.bd-header .navbar-expand-lg {
93-
flex-direction: column !important;
94-
}
95-
96-
.bd-header .navbar-collapse {
97-
display: none !important;
98-
}
99-
100-
.bd-header .navbar-toggler {
101-
display: block !important;
102-
}
103-
104-
.bd-header .navbar-nav {
105-
display: none !important;
106-
}
107-
108-
.bd-header .navbar-collapse.collapse.show {
109-
display: block !important;
110-
}
11178
}

doc/api.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
:description: Browse the skglm API documentation covering estimators (Lasso, ElasticNet, Cox), penalties (L1, SCAD, MCP), datafits (Logistic, Poisson), and optimized solvers.
55

66
=================
7-
API Documentation
7+
API
88
=================
99

1010
.. currentmodule:: skglm

doc/conf.py

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@
127127
# further. For a list of options available for each theme, see the
128128
# documentation.
129129
html_theme_options = {
130+
# color configurations
130131
"light_css_variables": {
131132
"color-brand-primary": primary,
132133
"color-brand-content": primary,
@@ -137,9 +138,18 @@
137138
"color-brand-content": primary_dark,
138139
"color-brand-secondary": primary,
139140
},
141+
142+
# Navbar configuration
140143
"navbar_align": "left",
141144
"navbar_start": ["navbar-logo"],
142145
"navbar_center": ["navbar-nav"],
146+
"navbar_end": [
147+
"navbar-icon-links",
148+
"version-switcher",
149+
"theme-switcher",
150+
],
151+
152+
# other configurations
143153
"icon_links": [
144154
{
145155
"name": "GitHub",
@@ -148,10 +158,6 @@
148158
"type": "fontawesome",
149159
},
150160
],
151-
"navbar_end": [
152-
"navbar-icon-links",
153-
"version-switcher",
154-
],
155161
"switcher": {
156162
"json_url": "/_static/switcher.json",
157163
"version_match": "stable" if is_stable_doc else "dev",

doc/contribute.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
:description: Contribute to skglm by reporting bugs, suggesting features, or submitting pull requests. Join us in making skglm even better!
55
:og:title: Contribute to skglm
66

7-
Contribute to ``skglm``
7+
Contribute
88
=======================
99

1010
``skglm`` is a continuous endeavour that relies on community efforts to last and evolve.

doc/getting_started.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
:description: Learn how to fit Lasso and custom GLM estimators with skglm, a modular Python library compatible with scikit-learn. Includes examples and code snippets.
55

66
===============
7-
Getting started
7+
Start
88
===============
99
---------------
1010

0 commit comments

Comments
 (0)