Skip to content

Commit

Permalink
RTD config
Browse files Browse the repository at this point in the history
  • Loading branch information
jhunkeler committed Mar 5, 2024
1 parent 9cfb3cc commit 5911c46
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 3 deletions.
11 changes: 10 additions & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
version: 2

build:
os: ubuntu-22.04
tools:
python: mambaforge-4.10

conda:
environment: docs/environment.yml
environment: docs/environment.yaml

sphinx:
configuration: docs/conf.py

8 changes: 6 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,23 +16,27 @@
import os
import shutil
import subprocess
import sys

print("current directory: {}".format(os.path.abspath(os.curdir)), file=sys.stderr)

print("current directory: {}".format(os.path.abspath(os.curdir)))
if os.path.exists("html"):
shutil.rmtree("html")

# Update doxygen config
subprocess.run("doxygen -u", shell=True)
#subprocess.run("doxygen -u", shell=True)

# Run doxygen
subprocess.run("doxygen", shell=True)


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

project = 'Oh My Cal'
copyright = '2023-2024, Space Telescope Science Institute'
author = 'Joseph Hunkeler'

root_doc = "nop"
html_extra_path = ["html"]

# -- General configuration ---------------------------------------------------
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 5911c46

Please sign in to comment.