← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] ~jugmac00/lpcraft:fix-readthedocs into lpcraft:main

 

Jürgen Gmach has proposed merging ~jugmac00/lpcraft:fix-readthedocs into lpcraft:main.

Commit message:
Fix autodoc on readthedocs

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~jugmac00/lpcraft/+git/lpcraft/+merge/413791

The standard installation on readthedocs (`python setup.py install`)
does not work for this project, as we need some dependencies from e.g.
github which are only listed in requirements.txt


This is a best effort - I cannot verify it in advance, as rtd does not pick up my branch so I could render the docs :-/
-- 
Your team Launchpad code reviewers is requested to review the proposed merge of ~jugmac00/lpcraft:fix-readthedocs into lpcraft:main.
diff --git a/.readthedocs.yaml b/.readthedocs.yaml
index 5ea9d0f..8a1d5fd 100644
--- a/.readthedocs.yaml
+++ b/.readthedocs.yaml
@@ -10,3 +10,7 @@ build:
   os: ubuntu-20.04
   tools:
     python: "3.9"
+
+python:
+   install:
+   - requirements: requirements.txt

Follow ups