Skip to content

Commit

Permalink
Merge branch 'NCAR:main' into template
Browse files Browse the repository at this point in the history
  • Loading branch information
jukent authored Nov 16, 2023
2 parents a275386 + 66a8c93 commit cfc3426
Show file tree
Hide file tree
Showing 31 changed files with 646 additions and 95 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ concurrency:
group: "pages"
cancel-in-progress: false

jobs:
jobs:
deploy:
environment:
name: github-pages
Expand All @@ -30,12 +30,13 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
- name: install dependencies
- name: Install dependencies
run: |
pip install jupyter-book
- name: jupyter-book build .
python -m pip install --upgrade pip
pip install sphinx-book-theme myst-nb sphinx-design nbsphinx
- name: make html
run: |
jupyter-book build .
make html
- name: Setup Pages
uses: actions/configure-pages@v3
- name: what do we have in here
Expand Down
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -158,4 +158,7 @@ cython_debug/
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
# and can be added to the global gitignore or merged into this file. For a more nuclear
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
#.idea/
.idea/

# Mac
.DS_Store
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@

`conda activate geocat-applications`

`jupyter-book build .`
`make clean html`

`open _build/html/index.html`
20 changes: 20 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Minimal makefile for Sphinx documentation
#

# You can set these variables from the command line, and also
# from the environment for the first two.
SPHINXOPTS ?=
SPHINXBUILD ?= sphinx-build
SOURCEDIR = .
BUILDDIR = _build

# Put it first so that "make" without argument is like "make help".
help:
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)

.PHONY: help Makefile

# Catch-all target: route all unknown targets to Sphinx using the new
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
%: Makefile
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# geocat-applications

This is the source repository for [GeoCAT-applications]().
This is the source repository for GeoCAT-applications.
40 changes: 0 additions & 40 deletions _config.yml

This file was deleted.

1 change: 1 addition & 0 deletions _static/images/logos/GeoCAT_long.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions _static/images/logos/GeoCAT_nsf.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions _static/images/logos/GeoCAT_square.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
Binary file added _static/images/logos/nsf.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed _static/logos/geocat.png
Binary file not shown.
27 changes: 27 additions & 0 deletions _static/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
/* override the default image top css */
.sd-card-img-top {
width: 15% !important;
position: absolute !important;
padding-left: 10px;
min-width: 50px;
top: 50%;
transform: translateY(-50%);

}

/* override the default background image behavior */
.sd-card-img {
height: auto;
}

/* override toc css */
/* controls dropdown icon color */
.bd-toc-item.active {
margin-bottom: 1rem;
color: #012169;
}

/* controls sidebar header color */
.caption-text {
color: #012169;
}
15 changes: 15 additions & 0 deletions _static/theme_overrides.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/* delete margin from side of content */
.wy-nav-content {
max-width: none !important;
}

.custom-title {
font-weight: bold;
color: #012169;
text-align: left;
}

.custom-body {
text-align: left;
margin-left: max(45px, 15%);
}
21 changes: 0 additions & 21 deletions _toc.yml

This file was deleted.

12 changes: 12 additions & 0 deletions applications/data_analysis/data_analysis.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
.. currentmodule:: geocat.applications

.. _applications_data_analysis:

Data Analysis
=============

.. toctree::
:maxdepth: 1
:hidden:

sample.ipynb
File renamed without changes.
12 changes: 12 additions & 0 deletions applications/file_io/file_io.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
.. currentmodule:: geocat.applications

.. _applications_file_io:

File I/O
========

.. toctree::
:maxdepth: 1
:hidden:

sample.ipynb
File renamed without changes.
File renamed without changes.
12 changes: 12 additions & 0 deletions applications/plot_types/plot_types.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
.. currentmodule:: geocat.applications

.. _applications_plot_types:

Plot Types
==========

.. toctree::
:maxdepth: 1
:hidden:

contour.ipynb
Loading

0 comments on commit cfc3426

Please sign in to comment.