Skip to content

Commit

Permalink
Connect with readthedocs
Browse files Browse the repository at this point in the history
  • Loading branch information
spencerw committed Dec 14, 2023
1 parent 2174c6f commit 5de9d2d
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 1 deletion.
32 changes: 32 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Set the OS, Python version and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.12"
# You can also specify other tool versions:
# nodejs: "19"
# rust: "1.64"
# golang: "1.19"

# Build documentation in the "docs/" directory with Sphinx
sphinx:
configuration: docs/conf.py

# Optionally build your docs in additional formats such as PDF and ePub
# formats:
# - pdf
# - epub

# Optional but recommended, declare the Python requirements required
# to build your documentation
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
python:
install:
- requirements: docs/requirements.txt
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# KeplerOrbit

Routines for working with near-Keplerian orbits. Convert between cartesian and Keplerian
orbital elements, calculate libration widths, precession rates. Routines are vectorized
so that you can easily work with large numbers of bodies.

[![Build Status](https://github.com/spencerw/keplercalc/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/spencerw/keplercalc/actions)
![Build Status](https://github.com/spencerw/keplercalc/actions/workflows/ci.yml/badge.svg)
[![Documentation Status](https://readthedocs.org/projects/keplerorbit/badge/?version=latest)](https://keplerorbit.readthedocs.io/en/latest/?badge=latest)
[![image](http://img.shields.io/badge/license-MIT-brightgreen.svg)](https://github.com/jobovy/exampy/blob/master/LICENSE)
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@
# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output

html_theme = 'sphinx_rtd_theme'
html_theme = "sphinx_rtd_theme"
html_static_path = ['_static']

0 comments on commit 5de9d2d

Please sign in to comment.