Skip to content

Commit e20171a

Browse files
authored
Merge pull request #8 from Sobak/fix/readme-code-blocks
Fix indented code blocks in Markdownified README
2 parents b0aefe7 + 8124ef1 commit e20171a

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

README.md

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -37,16 +37,16 @@ However, PhD is a separate project which can be read about here: http://wiki.php
3737
a. Fork the repository of the language you want to contribute to on [GitHub](https://github.com/phpdoctest)
3838
b. Check out the source
3939

40-
```bash
41-
git checkout git://github.com:[your github-username]/[language you want to contribute to].git
42-
git remote add upstream https://github.com/phpdoctest/[language you want to contribute to].git
43-
```
40+
```bash
41+
git checkout git://github.com:[your github-username]/[language you want to contribute to].git
42+
git remote add upstream https://github.com/phpdoctest/[language you want to contribute to].git
43+
```
4444

4545
c. Check out the doc-base repository with the different tools
4646

47-
```bash
48-
git checkout https://github.com/phpdoctest/doc-base.git
49-
```
47+
```bash
48+
git checkout https://github.com/phpdoctest/doc-base.git
49+
```
5050

5151
That will leave you with a folder ```[language you want to contribute to]```
5252
which contains the source-files for the documentation and a folder ```doc-base```
@@ -56,35 +56,35 @@ that contains the different tools and resources used in all languages.
5656

5757
a. Bring everything up to date and create a new branch
5858

59-
```
60-
cd [language you want to contribute to]
61-
git fetch upstream
62-
git checkout -b [branchname] upstream/master
63-
```
59+
```
60+
cd [language you want to contribute to]
61+
git fetch upstream
62+
git checkout -b [branchname] upstream/master
63+
```
6464

6565
b. Make the change. Use spaces not tabs. Be sure to carefully watch your whitespace!
6666
c. Look at your unified diff, make sure it looks right and that whitespace changes aren't mixed in:
6767

68-
```bash
69-
git diff path/to/file.xml
70-
```
68+
```bash
69+
git diff path/to/file.xml
70+
```
7171

7272
d. Make sure no errors are present, so at the command line in your phpdoc source directory run:
7373

74-
```bash
75-
cd ..
76-
php doc-base/configure.php
77-
```
74+
```bash
75+
cd ..
76+
php doc-base/configure.php
77+
```
7878

7979
Always ```php configure.php``` before commit!
8080

8181
e. Commit your changes
8282

83-
```
84-
git add path/to/file.xml
85-
git commit
86-
git push origin branchname
87-
```
83+
```
84+
git add path/to/file.xml
85+
git commit
86+
git push origin branchname
87+
```
8888

8989
f. Open a PullRequest on GitHub for your changes to be merged directly into the main repository.
9090

0 commit comments

Comments
 (0)