Skip to content

Split curl statements in Documentation

Dan Davison requested to merge dj-split-curl-statements into master

What does this MR do?

Splits existing curl statements within the documentation to fit on page.

Previously, the individual would be required to scroll through the content to see the entire curl statement. Now the curl statement is divided by arguments and line length in an effort to not exceed 120 characters.

This was achieved by executing a Find/Replace of Regex: (curl.{50,})-- with $1\\\n -- to find curl statements exceeding 50 characters with remaining arguments. Then each file was examined by hand to achieve argument alignment and ensure ordering and accuracy.

Closes #332361 (closed)

Screenshots (strongly suggested)

Before (https://docs.gitlab.com/ee/api/users#add-a-gpg-key) After (http://main-ee-63041.178.62.207.141.nip.io/ee/api/users.html#add-a-gpg-key)
Screen_Shot_2021-06-02_at_9.02.03_AM Screen_Shot_2021-06-02_at_9.25.20_AM

Does this MR meet the acceptance criteria?

Conformity

Edited by Dan Davison

Merge request reports

Loading