Skip to content

Commit 958686c

Browse files
Anton VanhouckeAnton Vanhoucke
authored andcommitted
reversed config.yml commit
1 parent 9bdc66d commit 958686c

2 files changed

Lines changed: 20 additions & 6 deletions

File tree

_config.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,3 @@ defaults:
6666

6767
kramdown:
6868
toc_levels: "2,3"
69-
input: GFM
70-
syntax_highlighter: rouge

docs/tutorials/python-development-environment.md

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,16 +66,26 @@ With passwordless ssh and the same username on the ev3dev machine, you can go `s
6666

6767
Next we need a versioning system. That's a tool for tracking changes you made to your code. Coincidentally the same tool is also very handy for transferring code between computers or sharing it on the web. There are several, but I prefer git. It's not installed by default so you have to do:
6868

69-
sudo apt-get update
70-
sudo apt-get install git
71-
git config --global user.email "you@example.com"
72-
git config --global user.name "Your Name"
69+
``` bash
70+
sudo apt-get update
71+
sudo apt-get install git
72+
git config --global user.email "you@example.com"
73+
git config --global user.name "Your Name"
74+
```
7375

7476
Now let's make a new project using our versioning system. Just type:
77+
<<<<<<< HEAD
7578

7679
mkdir myproject
7780
cd myproject/
7881
git init
82+
=======
83+
``` bash
84+
mkdir myproject
85+
cd myproject/
86+
git init
87+
```
88+
>>>>>>> parent of d05dc7d... Improved code highlighting
7989
8090
Yay! We have a new project. It's empty though. So let's add some code. Start a text editor like this:
8191
`nano run_motor.py`
@@ -103,7 +113,13 @@ What we are going to do now is make a clone of our project on the ev3dev machine
103113
In the Welcome dialog choose: 'Checkout from version control' > 'Git'
104114
Now type the hostname of the ev3dev machine, followed by a semicolon the projectname. In the other fields choose a nice parent and project directory.
105115

116+
<<<<<<< HEAD
106117
Now you can continue where you left of on the ev3dev machine, but with a larger screen, better keyboard and more tools! There is one problem, though: PyCharm puts red curly lines under the ev3dev library.
118+
=======
119+
{% include screenshot.html source="/images/Mac-OS-X/PyCharm/welcome.png" %}
120+
121+
Now you can continue where you left of on the ev3dev machine, but with a larger screen, better keyboard and more tools! There is one problem, though: PyCharm puts red curly lines under the ev3dev library. {% include screenshot.html source="/images/Mac-OS-X/PyCharm/missing-lib.png" %} It doesn't recognise it. And that's logical, because it's missing on the development machine. If we install it we won't be able to run motors, but the documentation and autocomplete will be active. So on your development machine start a terminal and do:
122+
>>>>>>> parent of d05dc7d... Improved code highlighting
107123
108124
![Curly red lines](/images/osx/PyCharm/missing-lib.png)
109125

0 commit comments

Comments
 (0)