mirror of
https://github.com/dh1tw/pyhamtools.git
synced 2026-04-21 06:13:57 +00:00
Compare commits
2 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8c15ab8c2c | ||
|
|
8ef752e3ad |
3 changed files with 8 additions and 2 deletions
|
|
@ -25,6 +25,7 @@ from pyhamtools.version import __version__, __release__
|
|||
extensions = [
|
||||
'sphinx.ext.autodoc',
|
||||
'sphinx.ext.napoleon',
|
||||
'sphinx_rtd_dark_mode',
|
||||
]
|
||||
|
||||
# Add any paths that contain templates here, relative to this directory.
|
||||
|
|
@ -95,7 +96,9 @@ pygments_style = 'sphinx'
|
|||
|
||||
# The theme to use for HTML and HTML Help pages. See the documentation for
|
||||
# a list of builtin themes.
|
||||
html_theme = 'default'
|
||||
# html_theme = 'default'
|
||||
html_theme = 'sphinx_rtd_theme'
|
||||
# html_theme = 'sphinx_material'
|
||||
|
||||
# Theme options are theme-specific and customize the look and feel of a theme
|
||||
# further. For a list of options available for each theme, see the
|
||||
|
|
|
|||
|
|
@ -1,3 +1,5 @@
|
|||
sphinx>=1.8.5
|
||||
sphinxcontrib-napoleon>=0.7
|
||||
beautifulsoup4>=4.7.1
|
||||
beautifulsoup4>=4.7.1
|
||||
sphinx_rtd_theme>=0.5.2
|
||||
sphinx_rtd_dark_mode>=0.1.2
|
||||
|
|
@ -65,6 +65,7 @@ class Test_utils_freq_to_band():
|
|||
assert freq_to_band(1200000) == {"band" : 0.23, "mode":None}
|
||||
|
||||
def test_shf_frequencies(self):
|
||||
assert freq_to_band(2320200) == {"band" : 0.13, "mode":None}
|
||||
assert freq_to_band(2390000) == {"band" : 0.13, "mode":None}
|
||||
|
||||
assert freq_to_band(3300000) == {"band" : 0.09, "mode":None}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue