Skip to content

Commit 3dbf627

Browse files
authored
Merge branch 'main' into bb-dec23-intro-2
2 parents 5a0b623 + 6c16020 commit 3dbf627

15 files changed

+476
-158
lines changed
7.57 KB
Binary file not shown.
7.81 KB
Binary file not shown.

_static/pyos.css

+51
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,13 @@
1717

1818
}
1919

20+
21+
/* anything related to the dark theme */
22+
html[data-theme="dark"] {
23+
--pst-color-info-bg: #400f59!important;
24+
}
25+
26+
2027
html, body {
2128
font-size: 1.0rem;
2229
}
@@ -248,3 +255,47 @@ html[data-theme=dark] {
248255
font-weight: 400;
249256
src: url('./fonts/itim-v14-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
250257
}
258+
259+
/* poppins-500 - latin */
260+
@font-face {
261+
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
262+
font-family: 'Poppins';
263+
font-style: normal;
264+
font-weight: 500;
265+
src: url('./fonts/poppins-v20-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
266+
}
267+
/* poppins-600 - latin */
268+
@font-face {
269+
font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
270+
font-family: 'Poppins';
271+
font-style: normal;
272+
font-weight: 600;
273+
src: url('./fonts/poppins-v20-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
274+
}
275+
/* Cards */
276+
277+
/* todo light and dark adaptations needed */
278+
279+
.sd-card-title {
280+
margin-bottom: 0.5rem;
281+
background-color: var(--pst-color-info-bg)!important;
282+
padding: .5rem;
283+
border-bottom: 2px solid #999;
284+
font-size: 1.2rem;
285+
font-weight: 600!important;
286+
}
287+
288+
.sd-card-header {
289+
font-size: 1.2em;
290+
font-weight: 600;
291+
}
292+
293+
.sd-card-body {
294+
padding: 0 0!important;
295+
296+
297+
.left-aligned
298+
& ul li {
299+
text-align: left;
300+
}
301+
}

conf.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
"href": "https://www.pyopensci.org/images/favicon.ico",
5959
},
6060
],
61-
"announcement": "<p><a href='https://www.pyopensci.org/software-peer-review/about/intro.html'>Submit Your Python Package for Peer Review - Learn More!</a></p>🚧 This guide is currently being developed! 🚧 ",
61+
"announcement": "<p><a href='https://www.pyopensci.org/about-peer-review/index.html'>We run peer review of scientific Python software. Learn more.</a></p>",
6262
#"navbar_center": ["nav"], this can be a way to override the default navigation structure
6363
"external_links": [
6464
{
@@ -82,12 +82,12 @@
8282
},
8383
],
8484
"logo": {
85-
"text": "Python Packaging",
85+
#"text": "Python Packaging",
8686
"image_dark": "logo-dark-mode.png",
8787
"image_light": "logo-light-mode.png",
8888
"alt_text": "pyOpenSci Python Package Guide. The pyOpenSci logo is a purple flower with pyOpenSci under it. The o in open sci is the center of the flower",
8989
},
90-
"header_links_before_dropdown": 4,
90+
"header_links_before_dropdown": 3,
9191
"use_edit_page_button": True,
9292
"show_nav_level": 2,
9393
"navigation_depth": 3,

documentation/index.md

+13-4
Original file line numberDiff line numberDiff line change
@@ -20,21 +20,30 @@ Create Package Tutorials <write-user-documentation/create-package-tutorials.md>
2020

2121
```{toctree}
2222
:hidden:
23-
:caption: Core Repository Files
23+
:caption: Docs for Contributors & Maintainers
2424
:maxdepth: 2
2525
2626
Intro <repository-files/intro.md>
27-
README file <repository-files/readme-file-best-practices.md>
27+
2828
Contributing File <repository-files/contributing-file.md>
29-
Code of Conduct File <repository-files/code-of-conduct-file.md>
29+
3030
Development Guide <repository-files/development-guide.md>
31+
```
32+
33+
```{toctree}
34+
:hidden:
35+
:caption: Community Docs
36+
:maxdepth: 2
37+
38+
README file <repository-files/readme-file-best-practices.md>
39+
Code of Conduct File <repository-files/code-of-conduct-file.md>
3140
LICENSE files <repository-files/license-files.md>
3241
```
3342

3443
```{toctree}
3544
:maxdepth: 2
3645
:hidden:
37-
:caption: Documentation & Hosting Tools
46+
:caption: Publication tools for your docs
3847
3948
Intro <hosting-tools/intro>
4049
Sphinx for Docs <hosting-tools/sphinx-python-package-documentation-tools>

images/flower-puzzle-pyopensci.jpg

270 KB
Loading

images/packaging-lifecycle.png

295 KB
Loading
109 KB
Loading

images/python-tests-puzzle-fit.png

1.84 MB
Loading

images/python-tests-puzzle.png

1.08 MB
Loading
98.9 KB
Loading

0 commit comments

Comments
 (0)