git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Readthedocs is Broken


Kaxil -

>From what I can tell RTD doesn't support custom env vars from conf.py or
.readthedocs.yml in the build process.

I have a solution here based on another env var that they do set.  It works
on my machine.  Does this work for you?

https://github.com/apache/incubator-airflow/pull/3703

I do not currently have access to apache/incubator-airflow on
readthedocs.org but I would be happy to help test there if it's possible to
grant access.  I'm a docs admin for another Python project and have used it
before.

Best,
Taylor

*Taylor Edmiston*
Blog <https://blog.tedmiston.com/> | CV
<https://stackoverflow.com/cv/taylor> | LinkedIn
<https://www.linkedin.com/in/tedmiston/> | AngelList
<https://angel.co/taylor> | Stack Overflow
<https://stackoverflow.com/users/149428/taylor-edmiston>


On Sun, Aug 5, 2018 at 7:21 PM, Naik Kaxil <k.naik@xxxxxxxxx> wrote:

> Hi Guys,
>
>
>
> The readthedocs builds are failing due to https://github.com/apache/
> incubator-airflow/pull/3660:
>
>
>
> https://readthedocs.org/projects/airflow/builds/7585546/
>
>
>
>
>
> Does someone know how we can pass an environment variable (
> SLUGIFY_USES_TEXT_UNIDECODE=yes) to readthedocs environment? Is it
> possible by adding something to https://github.com/apache/
> incubator-airflow/blob/master/.readthedocs.yml file or any setting that
> needs to be changed?
>
>
>
> I tried adding it to docs/conf.py but it doesn’t work.
>
>
>
> Regards,
>
> Kaxil
>
>
>
>
> Kaxil Naik
>
> Data Reply
> 2nd Floor, Nova South
> 160 Victoria Street, Westminster
> <https://maps.google.com/?q=160+Victoria+Street,+Westminster+%0D%0ALondon+SW1E+5LB+-+UK&entry=gmail&source=g>
> London SW1E 5LB - UK
> phone: +44 (0)20 7730 6000
> k.naik@xxxxxxxxx
> www.reply.com
>
> [image: Data Reply]
>


( ! ) Warning: include(msgfooter.php): failed to open stream: No such file or directory in /var/www/git/apache-airflow-development/msg04134.html on line 143
Call Stack
#TimeMemoryFunctionLocation
10.0016368744{main}( ).../msg04134.html:0

( ! ) Warning: include(): Failed opening 'msgfooter.php' for inclusion (include_path='.:/var/www/git') in /var/www/git/apache-airflow-development/msg04134.html on line 143
Call Stack
#TimeMemoryFunctionLocation
10.0016368744{main}( ).../msg04134.html:0