-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15 from molssi-seamm/dev
Bug fixes and revamping the documentation
- Loading branch information
Showing
51 changed files
with
3,608 additions
and
228 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
name: "CodeQL" | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
# The branches below must be a subset of the branches above | ||
branches: [ "main" ] | ||
|
||
jobs: | ||
codeql: | ||
name: CodeQL | ||
uses: molssi-seamm/devops/.github/workflows/CodeQL.yaml@main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Static Doc Directory | ||
|
||
Add any paths that contain custom static files (such as style sheets) here, | ||
relative to the `conf.py` file's directory. | ||
They are copied after the builtin static files, | ||
so a file named "default.css" will overwrite the builtin "default.css". | ||
|
||
The path to this folder is set in the Sphinx `conf.py` file in the line: | ||
```python | ||
templates_path = ['_static'] | ||
``` | ||
|
||
## Examples of file to add to this directory | ||
* Custom Cascading Style Sheets | ||
* Custom JavaScript code | ||
* Static logo images |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,73 @@ | ||
/* Make the page wider so e.g. the status table can be seen fully */ | ||
.wy-nav-content { | ||
max-width: 1200px !important; | ||
@import "../basic.css"; | ||
|
||
html[data-theme="light"] { | ||
--pst-color-primary: #ed1c24; | ||
--pst-color-warning: #ed1c24; | ||
--pst-color-primary-highlight: #bc151b; | ||
--pst-color-secondary: #1d35e7; | ||
--pst-color-secondary-highlight: #3e51e3; | ||
|
||
} | ||
|
||
html[data-theme="dark"] { | ||
--pst-color-primary: #ed1c24; | ||
--pst-color-warning: #ed1c24; | ||
--pst-color-primary-highlight: #bc151b; | ||
--pst-color-background: #1A1A1A; | ||
--pst-color-secondary: #1d35e7; | ||
--pst-color-secondary-highlight: #3e51e3; | ||
|
||
|
||
} | ||
|
||
html[data-theme="light"] a:hover { | ||
color: #1A1A1A; | ||
} | ||
|
||
html[data-theme="dark"] h1, html[data-theme="dark"] h2, html[data-theme="dark"] h3, html[data-theme="dark"] h4, html[data-theme="dark"] h5, html[data-theme="dark"] h6 { | ||
color: #ffffff; | ||
} | ||
|
||
|
||
html[data-theme="dark"] a { | ||
color: #ffffff; | ||
} | ||
|
||
html[data-theme="dark"] .reference.external { | ||
text-decoration: underline; | ||
|
||
} | ||
|
||
html[data-theme="dark"] p .reference.internal { | ||
text-decoration: underline; | ||
|
||
} | ||
|
||
html[data-theme="dark"] a:hover { | ||
color: #ed1c24; | ||
} | ||
|
||
html[data-theme="dark"] .prev-next-area a p.prev-next-title { | ||
color: white; | ||
} | ||
.column_left { | ||
display: table-cell; | ||
width: 60px; | ||
vertical-align: middle; | ||
|
||
html[data-theme="dark"] .prev-next-area:hover a:hover p.prev-next-title:hover { | ||
color: #ed1c24; | ||
} | ||
.column { | ||
display: table-cell; | ||
|
||
html[data-theme="dark"] dt:target { | ||
background-color: #000000; | ||
} | ||
.column_right { | ||
display: table-cell; | ||
width: 60px; | ||
vertical-align: middle; | ||
|
||
html .toctree-wrapper li[class^=toctree-l] { | ||
list-style: circle; | ||
} | ||
|
||
/* Clear floats after the columns */ | ||
.row:after { | ||
content: ""; | ||
display: table; | ||
clear: both; | ||
img:not(.logo__image, .footer_logo) { | ||
padding: 20px; | ||
} | ||
|
||
|
||
.footer_logo { | ||
max-height: 60px; | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Templates Doc Directory | ||
|
||
Add any paths that contain templates here, relative to | ||
the `conf.py` file's directory. | ||
They are copied after the builtin template files, | ||
so a file named "page.html" will overwrite the builtin "page.html". | ||
|
||
The path to this folder is set in the Sphinx `conf.py` file in the line: | ||
```python | ||
html_static_path = ['_templates'] | ||
``` | ||
|
||
## Examples of file to add to this directory | ||
* HTML extensions of stock pages like `page.html` or `layout.html` |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
{% if not theme_logo.get("link") %} | ||
{% set href = pathto(root_doc) %} | ||
{% elif hasdoc(theme_logo.get("link")) %} | ||
{% set href = pathto(theme_logo.get("link")) %} {# internal page #} | ||
{% else %} | ||
{% set href = theme_logo.get("link") %} {# external url #} | ||
{% endif %} | ||
|
||
{# get all the brand information from html_theme_option #} | ||
{% set is_logo = logo or theme_logo.get("image_light") or theme_logo.get("image_dark") %} | ||
{% set image_light = theme_logo.get("molssi_light") or logo %} | ||
{% set image_dark = theme_logo.get("molssi_dark") or logo %} | ||
{% set image_light = image_light if image_light.startswith("http") else pathto('_static/' + image_light, 1) %} | ||
{% set image_dark = image_dark if image_dark.startswith("http") else pathto('_static/' + image_dark, 1) %} | ||
{% set alt = theme_logo.get("alt_text", "Logo image") %} | ||
{% set nsf_logo = pathto('_static/' + 'nsf.png', 1) %} | ||
|
||
|
||
<div class="row h-10"> | ||
<div class="col-2"> | ||
<a href="https://molssi.org/" target="_blank" title="Go to MolSSI in a new tab"> | ||
<img src="{{ image_light }}" class="logo__image only-light footer_logo" alt="{{ alt }}"> | ||
<img src="{{ image_dark }}" class="logo__image only-dark footer_logo" alt="{{ alt }}"> | ||
</a> | ||
</div> | ||
<div class="col-8"> | ||
<p> © Copyright 2019-2023 <a href="https://molssi.org/">The Molecular Sciences Software Institute</a></p> | ||
<p>Funded by the National Science Foundation | ||
<a href="https://nsf.gov/awardsearch/showAward?AWD_ID=1547580">OAC-1547580</a> and | ||
<a href="https://www.nsf.gov/awardsearch/showAward?AWD_ID=2136142">CHE-2136142.</a></p> | ||
|
||
{% if show_sphinx %} | ||
<p class="sphinx-version"> | ||
{% trans sphinx_version=sphinx_version|e %}Created using <a href="http://sphinx-doc.org/">Sphinx</a> {{ sphinx_version }}.{% endtrans %}<br> | ||
</p> | ||
{% endif %} | ||
|
||
</div> | ||
<div class="col-2"> | ||
<a href="https://nsf.gov/" target="_blank" title="Go to the NSF in a new tab"> | ||
<img src="{{ nsf_logo }}" class="footer_logo" alt="The NSF"> | ||
</a> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,17 @@ | ||
User Documentation | ||
================== | ||
API Documentation | ||
================= | ||
|
||
Contents: | ||
|
||
.. toctree:: | ||
:maxdepth: 2 | ||
|
||
overview | ||
modules | ||
|
||
|
||
Indices and tables | ||
------------------ | ||
|
||
* :ref:`genindex` | ||
* :ref:`modindex` | ||
* :ref:`search` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
Oops, something went wrong.