Skip to content

Update contributing and readme and add circle ci #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 27, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
version: 2.1
jobs:
build_book:
docker:
- image: cimg/python:3.9
steps:
- checkout
- run:
name: setup environment
command: |
pip install --upgrade pip
pip install nox
pip list
- run:
name: Build book html
command: nox -s docs

- store_artifacts:
path: _build/html
destination: html

# Tell CircleCI to use this workflow when it builds the site
workflows:
version: 2
build_book:
jobs:
- build_book
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# <img src="images/logo/logo.png" width=40 /> pyOpenSci Packaging Guide
# <img src="images/logo/logo.png" width=40 /> pyOpenSci Scientific Python Open Source Packaging Guide

![GitHub release (latest by date)](https://img.shields.io/github/v/release/pyopensci/python-package-guide?color=purple&display_name=tag&style=plastic)

Expand Down
93 changes: 93 additions & 0 deletions _static/pyos.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
html, body {
font-size: 1.1rem;
}

body p {
/* font-family: $header-font; */
font-size: 1em;
font-family: 'Verdana', sans-serif!important;
color: #555!important;
line-height: 1.5em;
}

h1, h2, h3 {
font-family: 'Trebuchet MS', sans-serif;
color: #333!important;
}

h1 {
padding-bottom: 1em!important;
}

h3 {
padding-top: 1.4em;
margin-bottom: 14px;
}

/* hide the right sidebar */
.col-md-3 .bd-toc .show .noprint {
display: none!important;
}

#main-content {
max-width: 80%;
}

.bd-toc {
color: #1abc9c;
}

@media (min-width: 720px){
.col-md-3 {
flex: 0 0 25%;
/* max-width: 25%; */
display: none!important;
}
}


/* HEADER BLOCK 2 */
div.header__block {
color: #222;
}

.announcement div {
background-color: #ccc;
}

.header-item.announcement, .header-item.announcement .noprint {
background-color:#ccc;
}

div .announcement .header-item .noprint, header-item.announcement {
background-color: #ccc!important;
}

/* notes */

div.admonition.note .admonition-title, div.admonition.note .admonition-title::before {
background-color: #C1CFD4;
color: #222;

}

div.admonition.note {
border-color: #C1CFD4;
background-color: #E3F4FA;
}


div.admonition.important .admonition-title, div.admonition.important .admonition-title::before {
background-color: #107762;
color: #ffffff!important;
}

div.admonition.important .admonition-title {
background-color: #107762;
border-color: #1abc9c;
}

div.admonition.important {
border-color: #0e6654;
background-color: #ecfcf9;
}
7 changes: 4 additions & 3 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
# ones.
extensions = [
"myst_nb",
# "myst_parser",
"sphinx_design",
"sphinx_copybutton",
"sphinx.ext.intersphinx"
Expand All @@ -47,9 +46,10 @@
"repository_url": "https://github.com/pyopensci/python-package-guide",
"use_repository_button": True,
"google_analytics_id": "UA-141260825-1",
"show_toc_level": 1,
"toc_title": "On this page",
"external_links": [
{"name": "link-one-name", "url": "https://www.pyopensci.org"},
{"name": "link-two-name", "url": "https://pyopensci.org"}
{"pyOpenSci Website": "link-one-name", "url": "https://www.pyopensci.org"}
],
"announcement": "🚧 UNDER CONSTRUCTION: this guide is under heavy construction right now. 🚧"
}
Expand Down Expand Up @@ -79,6 +79,7 @@
#
html_theme = 'sphinx_book_theme'
html_static_path = ["_static"]
html_css_files = ["pyos.css"]
html_title = "pyOpenSci Package Guide"
html_logo = "images/logo/logo.png"

Expand Down
Binary file added images/logo/favicon.ico
Binary file not shown.
Binary file added images/logo/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.