Skip to content

Friction and problems in contributing a new docs notebook #1731

Open
@drbenvincent

Description

@drbenvincent

Hi. I'm working on a PR which (amongst other things) will add a new notebook. I'm coming up against friction.

I'm following the instructions in https://github.com/pymc-labs/pymc-marketing/blob/main/docs/source/gallery/README.md

I have added a new entry to gallery.md. I have made a corresponding .png file to use as the thumbnail. But I can't push the gallery thumbnail because it's in the .gitignore:

docs/source/gallery/images/

I can get the docs to build locally just fine. However, it is showing some auto generated thumbnail and seems to be ignoring the one I provide it.

So it's unclear what's going on here. In short:

  • Should the gallery images folder not be git ignored?
  • Custom gallery image files seem not to be used?
  • The instructions are unclear from a contributor perspective

If it's useful, the PR in question is: https://github.com/pymc-labs/pymc-marketing/pull/1673/files

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