Skip to content

Commit

Permalink
Merge pull request #11 from punch-mission/add-rtd
Browse files Browse the repository at this point in the history
Create .readthedocs.yaml
  • Loading branch information
jmbhughes authored Nov 1, 2024
2 parents c616523 + 8b25783 commit fc77c4a
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 3 deletions.
33 changes: 33 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# .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"


# 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:
- method: pip
extra_requirements:
- all
- docs
path: .
8 changes: 5 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[build-system]
requires = ["setuptools>=64", "setuptools-scm>=8", "wheel"]
build-backend = "setuptools.build_meta"

requires = ["setuptools",
"wheel"]

[project]
name = "thuban"
version = "0.0.3"
dynamic = ["version"]
dependencies = ["numpy",
"astropy",
"matplotlib",
Expand Down Expand Up @@ -47,6 +47,8 @@ Repository = "https://github.com/punch-mission/thuban.git"
"Bug Tracker" = "https://github.com/punch-mission/thuban/issues"
Changelog = "https://github.com/punch-mission/thuban/blob/main/CHANGELOG.md"

[tool.setuptools_scm]

[tool.setuptools]
packages = ["thuban"]

Expand Down

0 comments on commit fc77c4a

Please sign in to comment.