Problem/Motivation

The code examples in the README are not marked up as code, so the formatting breaks down:

https://git.drupalcode.org/project/simplei/-/tree/3.0.x

Also, the custom example ($settings['simple_environment_anonymous'] = "body:after { ...) is missing index, so the current example does not work.

We should make the 3.x branch the default on GitLab, 1.x is a very old version: https://git.drupalcode.org/project/simplei/

Steps to reproduce

  1. Visit GitLab and get 1.x version:
    https://git.drupalcode.org/project/simplei/
  2. Visit the README for 3.x and see the lines are jumbled up, and that the custom example at the bottom does not work:
    https://git.drupalcode.org/project/simplei/-/tree/3.0.x

Proposed resolution

Remaining tasks

  1. Format the code as code.
  2. Add index in the example ($settings['simple_environment_anonymous'] = "body:after { ...)
  3. Set the default branch to 3.x (currently the old 1.x)

User interface changes

API changes

Data model changes

Issue fork simplei-3583252

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

ressa created an issue. See original summary.

ressa’s picture

Assigned: ressa » Unassigned
Issue summary: View changes
Status: Active » Needs review
ressa’s picture

Title: Add mark up to code in README » Add mark up to code in README, fix custom example

  • ki committed 5a8b382b on 3.0.x
    Issue #3583252 by ki: Fix README code fence indentation, hex example,...
ki’s picture

Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

ki’s picture

Status: Fixed » Closed (fixed)
ki’s picture

Updated with credits.