Skip to content

Build Passed But Documentation Not Showing #5611

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

Closed
bno5761 opened this issue Apr 22, 2019 · 9 comments
Closed

Build Passed But Documentation Not Showing #5611

bno5761 opened this issue Apr 22, 2019 · 9 comments
Labels
Support Support question

Comments

@bno5761
Copy link

bno5761 commented Apr 22, 2019

Details

I’m trying to create documentation for a new project, but the docs are not rendering online. In order to get everything started, I made just a couple of simple .md files (including one named index.md) and set up the .yml file, as well. To further reduce mistakes, I’ve even copied the format of another RtD I oversee; so I know this new one should work. I’ve connected the project GitHub to readthedocs, and the build passes. But, no docs appear at the appropriate URL. This is similar to issue #2356.

Expected Result

Documentation should render correctly.

Actual Result

I receive the dreaded “This page does not exist yet” error.

@dojutsu-user
Copy link
Member

Hi @bno5761
It would be helpful for the team to debug this if you can provide the build URL.

@bno5761
Copy link
Author

bno5761 commented Apr 22, 2019

I apologize for not posting it earlier! I've updated the original post to include it.

@stsewd
Copy link
Member

stsewd commented Apr 22, 2019

Looks like you are missing to change the documentation type to mkdocs (default is sphinx) https://docs.readthedocs.io/en/stable/config-file/v2.html#mkdocs

@stsewd stsewd added the Support Support question label Apr 22, 2019
@bno5761
Copy link
Author

bno5761 commented Apr 22, 2019

I've added a configuration file to the root directory, but the build is now failing to build altogether! This makes me think there's an issue with the configuration file.

@stsewd
Copy link
Member

stsewd commented Apr 22, 2019

I think the other problem was due a regression in our latest release, I just triggered a new build and it was successful https://readthedocs.org/projects/stapletonlab/builds/8949337/

Also, you may want to use the v2 of the config file https://github.com/jdc5884/StapletonLab/blob/master/.readthedocs.yml (v1 doesn't have the mkdocs setting)

@stsewd stsewd added the Needed: more information A reply from issue author is required label Apr 23, 2019
@no-response
Copy link

no-response bot commented May 7, 2019

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further. Thanks!

@no-response no-response bot closed this as completed May 7, 2019
@bno5761
Copy link
Author

bno5761 commented May 14, 2019

I apologize for taking so long to respond. The last couple of weeks involved finishing my classes, and I didn't have much opportunity to work on this.

Thanks for helping get the build to pass again. But, the RtD is not allowing the docs referenced in the index.md file to populate. I have only a couple of simple trial documents under /doc_files, but I would still expect them to appear online.

@no-response no-response bot removed the Needed: more information A reply from issue author is required label May 14, 2019
@no-response no-response bot reopened this May 14, 2019
@davidfischer
Copy link
Contributor

For mkdocs, you need to use v2 of the Read the Docs configuration file. Your project is currently using v1 which only supports sphinx for building documentation.

If you update your config file to look like the sample in our documentation except with you want the lines for mkdocs: uncommented and the lines for sphinx: removed.

@stsewd stsewd added the Needed: more information A reply from issue author is required label May 15, 2019
@bno5761
Copy link
Author

bno5761 commented May 20, 2019

It now works! After changing the version and one of the admin settings in Read the Docs (from Sphinx to Mkdocs), it built without error. Thanks so much!

@bno5761 bno5761 closed this as completed May 20, 2019
@no-response no-response bot removed the Needed: more information A reply from issue author is required label May 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Support Support question
Projects
None yet
Development

No branches or pull requests

4 participants