Skip to content

Conversation

@datamweb
Copy link
Collaborator

Hello,
PR are created to improve the display of the code block on the site and to facilitate the copying of commands by the user.
see : #508 (comment)
see : https://codeigniterchat.slack.com/archives/C47DHAS7M/p1668107201982039?thread_ts=1668040926.000199&cid=C47DHAS7M

@datamweb datamweb added the documentation Improvements or additions to documentation label Nov 12, 2022
Copy link
Member

@MGatner MGatner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding these! I'm not sure if MkDocs uses the same aliases as GitHub but they differentiate she'll commands from terminal output: https://github.com/github/linguist/blob/master/lib/linguist/languages.yml

Maybe test one or two before going through the trouble of changing them all.


```
> composer require codeigniter4/shield
```console
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shell


2. Or specify an explicit version:

```console
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shell

The above specifies `develop` branch.
See https://getcomposer.org/doc/articles/versions.md#branches

```console
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shell


1. Run the following command. This command handles steps 1-5 of *Manual Setup* and runs the migrations.

```console
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shell


5. **Migration** Run the migrations.

```console
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shell

@kenjis
Copy link
Member

kenjis commented Nov 15, 2022

Before:
Screenshot 2022-11-15 11 42 26

After:
Screenshot 2022-11-15 11 42 31

@kenjis kenjis merged commit 94a277a into codeigniter4:develop Nov 15, 2022
@datamweb datamweb deleted the doc-fix-for-website branch November 15, 2022 12:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants