I'm trying to put the documentation of a code i've done on readthedocs but all the pages just becomes blank. I've tried it all day i've watched/readed dozens of tutorials but nothing seens to work. It builds normally when I do it locally.
The directories are organized like this:
/root: /docs, module1.py, module2.py, module3.py, .readthedocs.yml
root/docs: /_build, /_static, /_templates, conf.py, index.rst, make.bat, Makefile, requirements.txt, module1.rst, module2.rst, module3.rst
I will leave here below the codes of .readthedocs.yml, conf.py and requirements.txt for you to see if I've done some shit. I'm getting sick of so much trying make this thing work please help me
#readthedocs.yml
version: 2
sphinx:
configuration: docs/conf.py
formats: all
python:
version: 3.8
install:
- requirements: docs/requirements.txt
#conf.py
import sphinx_rtd_theme
import os
import sys
sys.path.insert(0, os.path.abspath('..'))
project = 'MolOpt'
copyright = '2021, estevaopbs'
author = 'estevaopbs'
extensions = [
'sphinx.ext.autodoc'
]
templates_path = ['_templates']
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
html_theme = 'sphinx_rtd_theme'
html_static_path = ['_static']
#requirements.txt
sphinx_rtd_theme==1.0.0