-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Always build docs with latest theme #541
Conversation
I would think that the docs for this theme should be built with the version of theme the docs are for. Let's say we ever have to maintain two concurrent versions (say for Sphinx < 2.0 and Sphinx >= 2.0), we wouldn't want them both to build with the latest master of the theme. Does that make sense? |
So we should release the theme each time sphinx releases a version?
…On Mon, Jan 15, 2018 at 5:21 PM, David Fischer ***@***.***> wrote:
I would think that the docs for this theme should be built with the
version of theme the docs are for. Let's say we ever have to maintain two
concurrent versions (say for Sphinx < 2.0 and Sphinx >= 2.0), we wouldn't
want them both to build with the latest master of the theme. Does that make
sense?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#541 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AOeua2DJ2JDnwDfsFbD29QOASu1lyseSks5tK89ggaJpZM4Rdu_N>
.
--
Aaron Carlisle
Picture taker | Bit cruncher | Pixel pusher | Document writer |
Project administrator for the Blender 3D Documentation Project
|
I don't think I understand what you're suggesting. Doesn't this line already handle what you're proposing with this PR? |
It would be html_theme_path but I think something is overriding it
…On Jan 15, 2018 6:40 PM, "David Fischer" ***@***.***> wrote:
I don't think I understand what you're suggesting.
Doesn't this line
<https://github.com/rtfd/sphinx_rtd_theme/blob/d332646/docs/conf.py#L18>
already handle what you're proposing with this PR?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#541 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AOeua9hwvkIdhQ7ot2YRdHb4k9p5Vk1hks5tK-HxgaJpZM4Rdu_N>
.
|
This already works for me as I would expect on master. The documentation in |
The issue is I don't think it is working on Read The Docs
…On Jan 23, 2018 5:38 AM, "Jesse Tan" ***@***.***> wrote:
This already works for me as I would expect on master. The documentation
in docs uses the theme as built one directory up.
Is this different from what you are expecting to happen @Blendify
<https://github.com/blendify> ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#541 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AOeua1A2RemvhtOihW4JlD6kLENvxTKbks5tNbangaJpZM4Rdu_N>
.
|
I think it doesn't work on RTD because it checks out the source in a folder named for the branch it's building (e.g. Rather than add master, you can add |
Still can't get this to work and its more than just the test. Here is the error:
|
What is your output if you run I get:
|
Yes I get that too.
…On Wed, Feb 14, 2018 at 4:05 AM, Jesse Tan ***@***.***> wrote:
What is your output if you run python setup.py egg_info yourself?
I get:
running egg_info
writing sphinx_rtd_theme.egg-info/PKG-INFO
writing top-level names to sphinx_rtd_theme.egg-info/top_level.txt
writing dependency_links to sphinx_rtd_theme.egg-info/dependency_links.txt
writing entry points to sphinx_rtd_theme.egg-info/entry_points.txt
reading manifest file 'sphinx_rtd_theme.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'sphinx_rtd_theme.egg-info/SOURCES.txt'
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#541 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AOeua4uG-H7Qo86VRM9QoQMnpAWnX1qXks5tUqHJgaJpZM4Rdu_N>
.
--
Aaron Carlisle
Picture taker | Bit cruncher | Pixel pusher | Document writer |
Project administrator for the Blender 3D Documentation Project
|
Have you tried updating pip or setuptools first? Might be a permissions thing otherwise (don't know exactly how that would work on Windows), using a virtualenv should help |
Yeah, I will try that later.
…On Wed, Feb 14, 2018 at 8:52 AM, Jesse Tan ***@***.***> wrote:
Have you tried updating pip or setuptools first? Might be a permissions
thing otherwise (don't know exactly how that would work on Windows), using
a virtualenv should help
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#541 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AOeua9xdY6TiROrpAIe6k2bsvPHPYzsnks5tUuUdgaJpZM4Rdu_N>
.
--
Aaron Carlisle
Picture taker | Bit cruncher | Pixel pusher | Document writer |
Project administrator for the Blender 3D Documentation Project
|
Installing the package during RTD build is the correct method. You can also get rid of the requirements.txt entirely and just install the dependencies through standard setup.py/setup.cfg mechanics. RTD has an option to install the package as a build step. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is closer to the correct approach. I'd also be +1 on removing the need for requirements.txt -- I don't like using this file on packages. Not a strong requirement here from me though.
Is there a way to stop RTD from using an installed version of the theme? |
No description provided.