-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Builds suddenly started failing a month ago with Stop Iteration error (Markdown docs) #5474
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
You can update to a new version of mkdocs with a requirements file or downgrading the python version. You can do both things using a configuration file https://docs.readthedocs.io/en/stable/config-file/v2.html Closing as duplicated of #5332 |
I've spent the past hour trying to figure out
I just want things to work like they used to and now I've lost all of my online documentation. Would it be possible to supply me with a file and instructions? I created one based on the examples and put it in my home folder, but I got complaints, so I removed lines that it complained about until it's really in bad shape now. All of my doc files are in a subfolder called docs. Is there a generic file that I can get that will reverse the 3.7 upgrade and whatever else I need to modify to simply get my docs building? Not meaning to be unappreciative, but I'm struggling to learn this config file. I don't want to have to become an expert at readtheedoc config files. If possible, I'm looking for a direct fix to the bug that was introduced when readthedocs went to 3.7. Perhaps something a step further than "you update the version of mkdocs using the requirements file." I'm sorry to be such an moron on how to setup the various settings files. |
This is a compatibility problem with the mkdocs version that is installed by default. You can use a version compatible with python 3.7 https://docs.readthedocs.io/en/stable/guides/specifying-dependencies.html or just downgrade to 3.6 I can't give you a functional example of the config, because I don't know the current settings of your project. But you need something like this version: 2
mkdocs:
configuration: mkdocs.yml
python:
version: 3.6 |
What goes into the mkdocs.yml file? Nevermind... I'm figuring out that part now.... |
Making progress? Oh, by the way, I'm SUPER APPRECIATIVE of your help with this. Thank you for taking the time to write up instructions and to deal with my ineptitude. I added your .yml file and I added a mkdocs one with my docs listed. Now I'm getting this error:
|
So, I saw your builds, your latest successful build was using Sphinx https://readthedocs.org/projects/pysimplegui/builds/8767815/, then it changed to build witch mkdocs. You can read our guides to start with sphinx using markdown https://docs.readthedocs.io/en/stable/intro/getting-started-with-sphinx.html or using markdown out of the box with mkdocs https://docs.readthedocs.io/en/stable/intro/getting-started-with-mkdocs.html Just a few clarifications, when we don't find a conf.py file we generate one for the user (if the project is using sphinx) or we generate a |
This "magic" is removed when using a configuration file, because there was a lot of confusion. The other problem looks like something else, I'll take a look soon |
Yea, that Sphinx test was kinda invalid. 100% of my docs are markdown. But it appears I've missed the links you've provided earlier. I was searching last night for tools to convert mkdown to sphinx but came up empty. I did manage to create a standalone HTML version, but this is not at all what I want because I had to hand build it. Previously I LOVED readthedocs! I mean, it did everything I needed... automagically. Being illiterate in a technology like this is such a humbling position. |
I saw the problem, your But, there is a bug, we are failing with a generic error instead of pointing the user the error. I'm creating a new issue about that.
We still do that, we only need to update the default version of mkdocs that is installed when the users don't have a configuration file #5332 |
Looks like the only required setting for mkdocs is site_name: Youd project name |
I ran the It's working!!!!!THANK YOU SO very much!Man, I cannot thank you enough for your time. I know it's tedious to step a newbie through something like this, but you spent the time with me and sure appears to have FIXED it!! |
Don't worry, it helps us to identify where to put better docs, and also I just discovered a bug in the meantime :) |
Yea, well, I know what it's like to support users through my project and it takes time and patience, both of which you showed lots of. It doesn't go unnoticed by most people has been my experience. If I could 'tip' you I would. Can I tip you? 😏 |
Again you come to my rescue!! OK, one last one? In my readme file, I have links to other documents that are on readthedocs. My Cookbook is an example. My Readme File has this address: But when I access the cookbook from readthedocs using the tab at the top of the page, I get this address Is there a setting that I have missed that allows the first address that I have listed? |
The firs address https://pysimplegui.readthedocs.io/cookbook/ is when you set your project with this option https://docs.readthedocs.io/en/stable/single_version.html It is used when you don't need versioning your docs. |
Dude, you're on FIRE! I found the "single version" setting, checked it, and POOF all of my links start working again. You're my hero! |
@MikeTheWatchGuy Yes! You can become a Gold User at https://readthedocs.org/accounts/gold/subscription/ 😄 |
That's one expensive 'tip', but, what the heck, I signed up. You got me through several days of icky debugging of stuff I didn't/don't understand (ok, maybe a little better now). You guys provide such a crucial service for me. I get comments every week, almost daily, and one of the things that's often brought up are my docs. Users claim they chose PySimpleGUI specifically because of those docs. And without readthedocs they would be "flat", without the Table of Contents on the left side. Great suggestion. I'll pay for as long as I can afford to. Hopefully it'll be for a long time 😃 |
Thanks @MikeTheWatchGuy! My next beer will be in your name 😉 Keep documenting with us ❤️ |
Details
Read the Docs project URL:
I've tried 2 different accounts thinking maybe it got corrupt.
The latest one is here:
https://readthedocs.org/projects/pysimplegui/
Build URL (if applicable):
Read the Docs username (if applicable):
PySimpleGUI and MikeTheWatchGuy
Expected Result
I want the docs to PASS, not fail
Actual Result
I get a failure, even when using older docs. It seems to be happening due to you guys switching to Python 3.7 and that I'm using markdown instead of Sphinx
HELP! I've been struggling for weeks with this. I did see others with this problem and Issues claiming it's fixed, but it's not fixed for me. 😒
REALLY hoping someone can help.
Here's the typical error:
The text was updated successfully, but these errors were encountered: