Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/esa/dSGP3
Browse files Browse the repository at this point in the history
  • Loading branch information
Sceki committed Oct 17, 2023
2 parents d35a632 + 99d6132 commit b5fc834
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 16 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,11 @@ jobs:
python -m pip install --upgrade pip
pip install torch==1.11.0+cpu torchvision==0.12.0+cpu torchaudio==0.11.0+cpu -f https://download.pytorch.org/whl/cpu/torch_stable.html
pip install .[dev]
pip install sphinx
pip install sphinx-book-theme
pip install myst-nb
cd doc
make html linkcheck
- name: Test
run: |
coverage run -m pytest
Expand Down
34 changes: 18 additions & 16 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,29 +17,30 @@

# -- Project information -----------------------------------------------------

project = "dSGP4"
project = "dsgp4"
copyright = "2022, 2023, Giacomo Acciarini and Atılım Güneş Baydin and Dario Izzo"
author = "Giacomo Acciarini, Atılım Güneş Baydin, Dario Izzo"

# The full version, including alpha/beta/rc tags
import dSGP4
import dsgp4

release = dSGP4.__version__
release = dsgp4.__version__


# -- General configuration ---------------------------------------------------

# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = ["myst_nb", "sphinx.ext.intersphinx"]
extensions = ["myst_nb","sphinx.ext.autodoc", "sphinx.ext.doctest"]#, "sphinx.ext.intersphinx"]

intersphinx_mapping = {
"hy": ("https://esa.github.io/dSGP4/", None),
"numpy": ("https://numpy.org/doc/stable/", None),
"python": ("https://docs.python.org/3", None),
"matplotlib": ("https://matplotlib.org/stable/", None),
}
#intersphinx_mapping = {
# "numpy": ("https://numpy.org/doc/stable/", None),
# "python": ("https://docs.python.org/3", None),
# "matplotlib": ("https://matplotlib.org/stable/", None),
# }

autoclass_content = 'both'

# Add any paths that contain templates here, relative to this directory.
templates_path = ["_templates"]
Expand All @@ -65,22 +66,23 @@
#html_logo = "images/white_logo.png"

html_theme_options = {
"repository_url": "https://esa.github.io/dSGP4/",
"repository_branch": "main",
"repository_url": "https://github.com/esa/dSGP4/",
"repository_branch": "master",
"path_to_docs": "doc",
"use_repository_button": True,
"use_issues_button": True,
"launch_buttons": {
"binderhub_url": "https://mybinder.org",
"notebook_interface": "jupyterlab",
},
"home_page_in_toc":True,
}
}

nb_execution_mode = "force"

#nb_execution_excludepatterns = [
# ".ipynb",
#]
nb_execution_excludepatterns = [
".ipynb",
]

latex_engine = "xelatex"

Expand Down

0 comments on commit b5fc834

Please sign in to comment.