Skip to content

docs: fix misaligned column padding in configuration settings table#1440

Open
oniku-mogumogu wants to merge 1 commit into
jazzband:masterfrom
oniku-mogumogu:fix-document-configuring-project-settings
Open

docs: fix misaligned column padding in configuration settings table#1440
oniku-mogumogu wants to merge 1 commit into
jazzband:masterfrom
oniku-mogumogu:fix-document-configuring-project-settings

Conversation

@oniku-mogumogu

Copy link
Copy Markdown

Fixes a rendering failure in the configuration settings table in docs/4_configuration.rst.

Due to misaligned column boundaries in the RST grid table, Docutils/Sphinx was failing to parse the table during the HTML build. As a result, the entire table was not rendered at all in the browser, leaving the configuration reference missing from the page.

The root cause was four data rows where the trailing pipe character (|) was not positioned at the column boundary defined by the separator rows (+---+). Docutils requires exact alignment between | in data rows and + in separator rows; any deviation causes the entire table block to be rejected by the parser.

Affected rows and adjustments:

  • AXES_FAILURE_LIMIT (line 22): added 2 spaces before closing |
  • AXES_COOLOFF_TIME (line 26): removed 2 spaces before closing |
  • AXES_USE_ATTEMPT_EXPIRATION (line 28): added 54 spaces before closing |
  • AXES_LOCKOUT_CALLABLE (line 58): removed 1 space before closing |

No content changes were made — only whitespace padding was adjusted to restore correct table parsing and proper HTML rendering.

Before submitting

  • This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
  • Did you make sure to update the documentation with your changes?
  • Did you write any new necessary tests?

The RST grid table in docs/4_configuration.rst had four data rows

where the trailing pipe character (`|`) was not aligned with the

column boundary defined in the separator rows (`+---+`).

  Affected rows and adjustments:

  - AXES_FAILURE_LIMIT (line 22): added 2 spaces before closing `|`

  - AXES_COOLOFF_TIME (line 26): removed 2 spaces before closing `|`

  - AXES_USE_ATTEMPT_EXPIRATION (line 28): added 54 spaces before closing `|`

  - AXES_LOCKOUT_CALLABLE (line 58): removed 1 space before closing `|`

Docutils/Sphinx requires that `|` positions in data rows exactly

match the `+` positions in separator rows; any mismatch causes the

entire table to fail parsing and renders as raw text in the browser.

No content changes were made — only whitespace padding was adjusted.
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.

1 participant