Skip to content

Commit bcb1f64

Browse files
committed
Merge branch '43-version-1-documentation' of https://github.com/CCPBioSim/CodeEntropy into 43-version-1-documentation
2 parents 95d4c18 + 1a52790 commit bcb1f64

3 files changed

Lines changed: 15 additions & 6 deletions

File tree

docs/conf.py

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
# Incase the project was not installed
1616
import os
1717
import sys
18+
import time
1819

1920
sys.path.insert(0, os.path.abspath(".."))
2021

@@ -23,11 +24,16 @@
2324
# -- Project information -----------------------------------------------------
2425

2526
project = "CodeEntropy"
26-
copyright = (
27-
"2022, DonaldChung-HK. Project structure based on the "
28-
"Computational Molecular Science Python Cookiecutter version 1.6"
27+
copyright_first_year = "2022"
28+
copyright_owners = "CCPBioSim"
29+
author = "CCPBioSim"
30+
current_year = str(time.localtime().tm_year)
31+
copyright_year_string = (
32+
current_year
33+
if current_year == copyright_first_year
34+
else f"{copyright_first_year}-{current_year}"
2935
)
30-
author = "DonaldChung-HK"
36+
copyright = f"{copyright_year_string}, {copyright_owners}. All rights reserved"
3137

3238
# The short X.Y version
3339
version = ""
@@ -53,6 +59,7 @@
5359
"sphinx.ext.intersphinx",
5460
"sphinx.ext.extlinks",
5561
"nbsphinx",
62+
"sphinx_copybutton",
5663
]
5764

5865
autosummary_generate = True
@@ -93,7 +100,8 @@
93100
# The theme to use for HTML and HTML Help pages. See the documentation for
94101
# a list of builtin themes.
95102
#
96-
html_theme = "sphinx_rtd_theme"
103+
html_theme = "furo"
104+
html_logo = "images/biosim-codeentropy_logo_grey.svg"
97105

98106
# Theme options are theme-specific and customize the look and feel of a theme
99107
# further. For a list of options available for each theme, see the

docs/faq.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Frequently asked questions
22
==============================
33

44
Why do I get a ``WARNING`` about invalid eigenvalues?
5-
--------------------------------------------------
5+
-----------------------------------------------------
66

77
Insufficient sampling might introduce noise and cause matrix elements to deviate to values that would not reflect the uncorrelated nature of force-force covariance of distantly positioned residues.Try increasing the sampling time. This is especially true at the residue level.
88

docs/images/biosim-codeentropy_logo_grey.svg

Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)