Skip to content

Commit

Permalink
* Attempting to revert the html_extra_path changes to see if we can g… (
Browse files Browse the repository at this point in the history
#157)

* * Attempting to revert the html_extra_path changes to see if we can get closer to functioning readthedocs

* * Attempting to do postbuild operations where I blow away the results of sphinx
  • Loading branch information
jredmondson committed Dec 23, 2023
1 parent e98fbd4 commit 4503e8f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 23 deletions.
33 changes: 11 additions & 22 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,36 +4,25 @@
# Required
version: 2

# Set the OS, Python version and other tools you might need
build:
os: ubuntu-22.04
apt_packages:
- doxygen
- graphviz
- texlive-font-utils

tools:
python: "3.12"
# You can also specify other tool versions:
# nodejs: "20"
# rust: "1.70"
# golang: "1.20"
# Build documentation in the "docs/" directory with Sphinx
jobs:
pre_install:
- bash ./scripts/pre_install.sh
post_build:
- ls
- ls docs
- ls docs/madara
- ls docs/build
- ls _readthedocs
- cp -rf docs/madara/* _readthedocs/

sphinx:
configuration: docs/conf.py
# You can configure Sphinx to use a different builder, for instance use the dirhtml builder for simpler URLs
# builder: "dirhtml"
# Fail on all warnings to avoid broken references
# fail_on_warning: true

# 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:
# - requirements: docs/requirements.txt
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
# directories to ignore when looking for source files.
# This pattern also affects html_static_path and html_extra_path .
exclude_patterns = [u'_build', 'Thumbs.db', '.DS_Store']
html_extra_path = ['_readthedocs/html']
html_extra_path = ['madara/html']

# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'sphinx'
Expand Down

0 comments on commit 4503e8f

Please sign in to comment.