Skip to content

Make building docs on windows slightly easier #978

Closed

Description

@kandersolar

Is your feature request related to a problem? Please describe.
Running make html on a Windows system that doesn't have make installed fails.

Describe the solution you'd like
Would be nice to be able to run make html without having to install make on Windows. Newer versions of sphinx-quickstart create a make.bat file that invokes sphinx-build's make-mode. Here's a copy of it in RdTools: https://github.com/NREL/rdtools/blob/development/docs/sphinx/make.bat. I think just copying that file into docs/sphinx would make it work.

Describe alternatives you've considered
Can also just run sphinx-build -M html source build manually instead of using make.bat as a shortcut, it's a little more typing but not a huge deal.

Side note: is it mentioned anywhere in the docs how to build the docs? I'd expect to see it on the Contributing page, or maybe the Installation page, but I'm not finding it.

Activity

  1. wholmgren commented on Jun 10, 2020

    @wholmgren
    Member

    Sounds good. Pull request welcome.

    I agree that we should document how to build the docs. Maybe here: https://pvlib-python.readthedocs.io/en/stable/contributing.html#documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions