Skip to content
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

Include readthedocssinglehtml to online builders #58

Merged
merged 1 commit into from
Feb 21, 2019

Conversation

stsewd
Copy link
Member

@stsewd stsewd commented Feb 19, 2019

Currently we are not inserting any of our data (and some data from users, like their analytics code) in projects building with singlehtmlpage.

This also proves that we are not using this line https://github.com/rtfd/readthedocs.org/blob/6d960f14dc2433ae66dff675b4e66f30dbc606b7/readthedocs/restapi/views/footer_views.py#L103-L105

The generated page only contains one big page with the page_slug == index.

@stsewd
Copy link
Member Author

stsewd commented Feb 19, 2019

Tested this locally, it works :)

stsewd added a commit to stsewd/readthedocs.org that referenced this pull request Feb 20, 2019
This doesn't remove documentation_type completely from
the footer, but makes it more clear what we are really using.

We don't use `readthedocssinglehtml` as proven in readthedocs/readthedocs-sphinx-ext#58
We don't set `page` for mkdocs projects: https://github.com/rtfd/readthedocs.org/blob/f1c15d4f22af0ba7ebf762df1d49f7c28e8d01e5/readthedocs/doc_builder/backends/mkdocs.py#L207-L207

Ref readthedocs#4638
@davidfischer davidfischer merged commit 93aa971 into readthedocs:master Feb 21, 2019
@stsewd stsewd deleted the fix-singlehtml-builder branch February 21, 2019 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants