Skip to content

fix: GroupedLayerControl docstring has improper RST formatting causing docs build failure #2233

Description

@Kakarot35

Bug description

The docstring in folium/plugins/groupedlayercontrol.py has improper
RST indentation that causes Sphinx to fail during the docs build with:

ERROR: Unexpected indentation at line 6
WARNING: Block quote ends without a blank line; unexpected unindent at line 8

To reproduce

Run sphinx-build on the docs folder and observe the error in
folium.plugins.groupedlayercontrol.GroupedLayerControl

Expected behavior

Docs should build successfully without any RST formatting errors.

Actual behavior

Docs build fails due to improper indentation in the GroupedLayerControl
docstring example block.

Fix

Update the docstring to use proper RST formatting with correct
indentation and :: for the code block example.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions