Skip to content
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
Binary file added docs/_static/cosmic-bw.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 added docs/_static/cosmic-colour.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions docs/_static/cosmic-docs.css
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,14 @@ html[data-theme="dark"] .sd-card {
transform: scale(0.9);
background-color: var(--color-brand-primary);
}
.toms-nav-container .box.toms-nav-box-blue:hover, .toms-nav-box.toms-nav-box-blue:hover {
transform: scale(0.9);
background-color: #a5c1dc;
}
.toms-nav-container .box.toms-nav-box-pink:hover, .toms-nav-box.toms-nav-box-pink:hover {
transform: scale(0.9);
background-color: #e193ca;
}

#installation h2 {
font-size: 1.2rem;
Expand Down
Binary file added docs/_static/cosmic-favicon.ico
Binary file not shown.
10 changes: 5 additions & 5 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,9 @@ def setup(app):
"color-brand-visited": "#3f95e1",
},
"dark_css_variables": {
"color-brand-primary": "#f08c33",
"color-brand-content": "#f08c33",
"color-brand-visited": "#f08c33"
"color-brand-primary": "#e193ca",
"color-brand-content": "#e193ca",
"color-brand-visited": "#e193ca"
},
"sidebar_hide_name": False,
"footer_icons": [
Expand All @@ -212,12 +212,12 @@ def setup(app):

# The name of an image file (relative to this directory) to place at the top
# of the sidebar.
html_logo = "https://cosmic-popsynth.github.io/images/cosmic-popsynth_1200.png"
html_logo = "_static/cosmic-colour.png"

# The name of an image file (relative to this directory) to use as a favicon of
# the docs. This file should be a Windows icon file (.ico) being 16x16
# or 32x32 pixels large.
# html_favicon = None
html_favicon = "_static/cosmic-favicon.ico"

# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
Expand Down
2 changes: 1 addition & 1 deletion docs/create_whats_new.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def generate_rst(parsed_sections, output_path):
f.write("\n")

if __name__ == "__main__":
changelog_path = Path("../CHANGELOG.md")
changelog_path = Path("../changelog.md")
output_path = Path("_generated/whats_new.rst")

parsed_sections = parse_changelog(changelog_path)
Expand Down
8 changes: 4 additions & 4 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ COSMIC (Compact Object Synthesis and Monte Carlo Investigation Code) is a rapid
.. raw:: html

<div class="toms-nav-container" style="margin-bottom:50px;">
<div class="box" data-href="pages/install.html">Install COSMIC</div>
<div class="box" data-href="pages/reference_material.html">Configurations and outputs</div>
<div class="box" data-href="pages/runpop.html">Sampling populations</div>
<div class="box" data-href="pages/examples.html">Evolving binaries</div>
<div class="box toms-nav-box-blue" data-href="pages/install.html">Install COSMIC</div>
<div class="box toms-nav-box-pink" data-href="pages/reference_material.html">Configurations and outputs</div>
<div class="box toms-nav-box-blue" data-href="pages/runpop.html">Sampling populations</div>
<div class="box toms-nav-box-pink" data-href="pages/examples.html">Evolving binaries</div>
</div>

.. toctree::
Expand Down
Loading