Skip to content

fix: correct RST docstring formatting in GroupedLayerControl (fixes #2233)#2234

Open
Kakarot35 wants to merge 1 commit into
python-visualization:mainfrom
Kakarot35:fix/groupedlayercontrol-docstring-2233
Open

fix: correct RST docstring formatting in GroupedLayerControl (fixes #2233)#2234
Kakarot35 wants to merge 1 commit into
python-visualization:mainfrom
Kakarot35:fix/groupedlayercontrol-docstring-2233

Conversation

@Kakarot35
Copy link
Copy Markdown
Contributor

Fixes #2233

Problem

The docstring in folium/plugins/groupedlayercontrol.py had improper
RST formatting causing Sphinx to fail during docs build with:

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

Changes

  • Changed E.g. to For example:: to create a proper RST code block
  • Added blank lines before and after the example block
  • Fixed exclusive_groups: to exclusive_groups : (space before colon)

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.

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

1 participant