Skip to content

Commit

Permalink
update sphinx conf for RTD
Browse files Browse the repository at this point in the history
  • Loading branch information
saimn committed Aug 1, 2024
1 parent 095c77f commit ef67a81
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
14 changes: 7 additions & 7 deletions docs/conf.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,7 @@
# import os
# import sys
import os

from sigal import __version__

# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
# sys.path.append(os.path.abspath(".."))

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

# If your documentation needs a minimal Sphinx version, state it here.
Expand Down Expand Up @@ -76,6 +70,12 @@

# -- Options for HTML output --------------------------------------------------

# Define the canonical URL if you are using a custom domain on Read the Docs
html_baseurl = os.environ.get("READTHEDOCS_CANONICAL_URL", "")

# Tell Jinja2 templates the build is running on Read the Docs
html_context = {"READTHEDOCS": os.environ.get("READTHEDOCS", "") == "True"}

html_theme = "furo"

html_theme_options = {
Expand Down
6 changes: 3 additions & 3 deletions tests/sample/sigal.conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,14 @@
watermark_position = (10, 10)
watermark_opacity = 0.3

theme = "colorbox"
theme = "photoswipe"
thumb_size = (200, 150)

rss_feed = {"feed_url": "http://127.0.0.1:8000/feed.rss", "nb_items": 10}
atom_feed = {"feed_url": "http://127.0.0.1:8000/feed.atom", "nb_items": 10}

# theme = 'photoswipe'
# theme = 'colorbox'
# theme = 'galleria'
# thumb_size = (280, 210)
# galleria_theme = 'folio'
show_map = True
# show_map = True

0 comments on commit ef67a81

Please sign in to comment.