help: Make loose lists tight for help center files.

In our current implementation, loose lists and tight lists look the same
visually. Loose lists are lists with blank lines between list items, and
the contents of a list item should be enclosed in a paragraph tag in
that case. For unordered lists, paragraph tags have a bottom margin in
starlight and thus looses lists look much more spaced out than tight
lists.

That is not the behaviour we had in mind while writing the
documentation, the reason we had all these loose lists is to make the
documentation easy to write and read. So we attempt to remove all the
blank lines and fix the problem at source. Since paragraph tags are used
for other purposes in a list in starlight, it won't be a wise decision
to let the source be as is and just change things in css, other expected
behaviours might break in that case. See this topic for more details:
https://chat.zulip.org/#narrow/channel/19-documentation/topic/new.20help.20center.3A.20regressions/near/2226084

All the changes were made by a one-off script which has not been
commited to the repo. The script wasn't perfect and could not decide
between blank lines that make a list loose vs blank lines necessary for
a sub-list or a code block inside a list item. A manual review of all
the changes was done before making this commit to ensure that no
unintended changes were made to the help center files.
This commit is contained in:
Shubham Padia
2025-07-22 07:47:55 +00:00
committed by Tim Abbott
parent 2f4dd72076
commit 7ce87c66ac
46 changed files with 0 additions and 236 deletions

View File

@@ -16,7 +16,6 @@ available for all Zulip organizations:
channel](/help/channel-permissions#private-channels) messages and [direct
messages](/help/direct-messages). This export includes user settings and
channel subscriptions.
* [**Standard
export**](#export-for-migrating-to-zulip-cloud-or-a-self-hosted-server):
Everything in the export of public data, plus all the [private
@@ -32,7 +31,6 @@ Standard][plans] and [Zulip Cloud Plus][plans] customers:
* [**Full export without member consent**](#full-export-without-member-consent):
All the data in the organization.
* [**Compliance export**](#compliance-export): A targeted, human-readable export
of messages matching some combination of criteria (e.g., sender, recipient,
message keyword, or timestamp).