Skip to content

Commit

Permalink
Merge pull request #121 from jjjermiah/docs
Browse files Browse the repository at this point in the history
Docs
  • Loading branch information
jjjermiah committed Feb 25, 2024
2 parents f0a7e11 + edaaa11 commit 9b936fd
Show file tree
Hide file tree
Showing 15 changed files with 418 additions and 210 deletions.
93 changes: 0 additions & 93 deletions docs/InitializeClient.rst

This file was deleted.

63 changes: 0 additions & 63 deletions docs/_html_notebooks/test_setup.ipynb

This file was deleted.

20 changes: 20 additions & 0 deletions docs/_static/css/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
.sphinx-tabs-panel {
background: none;
border: none;
color:aliceblue;
}

.sphinx-tabs-tab{
color: #1D5C87;
/* font color */
background: none;

}



.sphinx-tabs-tab[aria-selected="false"]{
color: white;
/* font color */
background: none;
}
18 changes: 18 additions & 0 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
# list see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html

import html
import os
import sys

Expand All @@ -22,9 +23,11 @@
extensions = [
"myst_nb",
"autoapi.extension",
"sphinx.ext.autodoc",
"sphinx.ext.napoleon",
"sphinx.ext.viewcode",
"sphinx_tabs.tabs",
"sphinx_exec_code",
]
autoapi_dirs = ["../src/nbiatoolkit"]

Expand All @@ -33,11 +36,26 @@
# This pattern also affects html_static_path and html_extra_path.
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store", "_html_notebooks"]


exec_code_working_dir = ".."
exec_code_source_folders = ["../src"]


# -- Options for HTML output -------------------------------------------------

# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
#
# html_theme = "piccolo_theme"
html_theme = "sphinx_rtd_theme"

# # user starts in dark mode
# default_dark_mode = True

html_static_path = ["_static"]

# html_css_files = [
# "css/custom.css",
# ]
# def setup(app):
# app.add_css_file("css/custom.css")
6 changes: 4 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,12 @@
markdowns/NBIA.md
markdowns/Installation.md
InitializeClient.rst
Tutorial.ipynb
tutorial_files/1_InitializeClient.rst
tutorial_files/2_ExploreCollections.rst
markdowns/CHANGELOG.md
markdowns/CONTRIBUTING.md
markdowns/CONDUCT.md
autoapi/index
```

<!-- Tutorial.ipynb -->
7 changes: 3 additions & 4 deletions docs/markdowns/Installation.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# Installation

> [!WARNING]
> `nbiatoolkit` is currently under development and is not guaranteed to be stable.
> Please refer to the [1.0.0 Stable Release Milestone](https://github.com/jjjermiah/nbia-toolkit/milestone/1) for the roadmap
> to the first stable release.
`nbiatoolkit` is currently under development and is not guaranteed to be stable.
Please refer to the [1.0.0 Stable Release Milestone](https://github.com/jjjermiah/nbia-toolkit/milestone/1) for the roadmap
to the first stable release.

## PyPi

Expand Down
3 changes: 3 additions & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@ myst-nb
sphinx-autoapi
sphinx-rtd-theme
sphinx-tabs
sphinx_exec_code==0.12
piccolo_theme
sphinx-rtd-dark-mode

0 comments on commit 9b936fd

Please sign in to comment.