Skip to content

Commit

Permalink
setting up new documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
K20shores committed Aug 12, 2024
1 parent 70d3c0c commit d418d76
Show file tree
Hide file tree
Showing 14 changed files with 387 additions and 14 deletions.
Binary file removed doc/source/_static/MusicBox.png
Binary file not shown.
1 change: 1 addition & 0 deletions doc/source/_static/MusicBox.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions doc/source/_static/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.sd-card-img-top {
width: 33% !important;
display: block;
margin-left: auto;
margin-right: auto;
margin-top: 10px;
}
97 changes: 97 additions & 0 deletions doc/source/_static/index_api.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
76 changes: 76 additions & 0 deletions doc/source/_static/index_contribute.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
66 changes: 66 additions & 0 deletions doc/source/_static/index_getting_started.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
67 changes: 67 additions & 0 deletions doc/source/_static/index_user_guide.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
acom\_music\_box package
========================
MusicBox
========

Submodules
----------
Expand Down
5 changes: 3 additions & 2 deletions doc/source/modules.rst → doc/source/api/index.rst
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
acom_music_box
==============
###
API
###

.. toctree::
:maxdepth: 4
Expand Down
16 changes: 11 additions & 5 deletions doc/source/conf.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import sys
import os
import datetime
import acom_music_box
sys.path.insert(0, os.path.abspath('..'))

# Configuration file for the Sphinx documentation builder.
Expand All @@ -11,7 +12,8 @@
# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information

project = 'Music Box'
release = acom_music_box.__version__
project = f'Music Box ({release})'
copyright = f'2024-{datetime.datetime.now().year}, NCAR/UCAR'
author = 'NCAR/UCAR'

Expand All @@ -27,20 +29,24 @@
templates_path = ['_templates']
exclude_patterns = []



# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output

html_static_path = ['_static']
html_theme = 'pydata_sphinx_theme'

html_theme_options = {
"navbar_start": ["navbar-logo", "version-switcher"],
"external_links": [],
"github_url": "https://github.com/NCAR/music-box",
"navbar_end": ["version-switcher", "navbar-icon-links"],
"navbar_end": ["theme-switcher", "navbar-icon-links"],
"pygment_light_style": "tango",
"pygment_dark_style": "monokai"
}

html_favicon = '_static/favicon.png'
html_css_files = [
'custom.css'
]

html_favicon = '_static/favicon.png'
html_logo = "_static/MusicBox.svg"
3 changes: 3 additions & 0 deletions doc/source/contributing/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
############
Contributing
############
3 changes: 3 additions & 0 deletions doc/source/getting_started.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
###############
Getting Started
###############
Loading

0 comments on commit d418d76

Please sign in to comment.