Skip to content

Commit

Permalink
adjusts in read the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jfilhoGN committed Dec 9, 2024
1 parent c753dee commit 2e636af
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 28 deletions.
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ build:

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

# Optionally, but recommended,
# declare the Python requirements required to build your documentation
Expand Down
17 changes: 0 additions & 17 deletions docs/conf.py

This file was deleted.

23 changes: 13 additions & 10 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
# Configuration file for the Sphinx documentation builder.
import os
import sys
sys.path.insert(0, os.path.abspath('.'))

# -- Project information -----------------------------------------------------
project = 'Stressify.jl'
copyright = '2024, JFilhoGN'
author = '@jfilhogn'
project = 'Stressify'
author = 'jfilhogn'
release = '0.1'

# -- General configuration ---------------------------------------------------
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.viewcode']
extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.viewcode',
'sphinx.ext.napoleon',
'sphinx_rtd_theme',
]

# Paths for templates
templates_path = ['_templates']
#templates_path = ['_templates']
exclude_patterns = []

# -- Options for HTML output -------------------------------------------------
html_theme = 'sphinx_rtd_theme'
html_static_path = ['_static']
2 changes: 2 additions & 0 deletions docs/source/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
sphinx==4.5.0
sphinx-rtd-theme==1.0.0

0 comments on commit 2e636af

Please sign in to comment.