Skip to content

Commit a3e3fc3

Browse files
committed
update projects tutorial for ./publish.rb
1 parent 5a34212 commit a3e3fc3

File tree

1 file changed

+6
-23
lines changed

1 file changed

+6
-23
lines changed

docs/tutorials/adding-new-project.md

Lines changed: 6 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -39,29 +39,12 @@ looking at your own copy.
3939

4040
##Step 2: Setting Up A Preview (Optional)
4141

42-
If you want to be able to preview your new page before you submit it, and are
43-
willing to add a bit of extra complexity, you have to create a new branch
44-
called `gh-pages`. Adding this branch will let you preview the whole site, so
45-
you can see how your page will look when it is published (which is different
46-
from the markdown preview that you will see on GitHub). To do this, click the
47-
box where it says "branch: master". It should expand to show you a text box.
48-
Type the text `gh-pages` in to the box that appears (make sure that it is
49-
exactly that text; this is important). It should give you the option to create
50-
a new branch; click that button.
51-
52-
{% include screenshot.html source="/images/Website/Branching-on-GitHub.png" scale="50" %}
53-
54-
Now, you should be able to navigate to
55-
`http://<username>.github.io/ev3dev.github.io` in a new tab to see your copy of
56-
the site. After you complete step 3, visit this preview URL again to make sure
57-
that your page looks as it should.
58-
59-
If you complete this step, note that everywhere it says "`master`" in the
60-
screenshots below, it should say "`gh-pages`" instead.
61-
62-
*WARNING*: If you complete this step, GitHub will send you emails warning you
63-
about the CNAME. You can ignore them; but if they get annoying, see [the readme]
64-
on the official site repo for information on circumventing the problem.
42+
If you want to be able to preview your new page before you submit it, and you are
43+
willing to add a bit of extra complexity, you can do so by using the `./publish.rb`
44+
script. This involves cloning the ev3dev.github.io repository on your local
45+
computer and installing ruby. See the ev3dev.github.io [README] for more info.
46+
47+
[README]: https://github.com/ev3dev/ev3dev.github.io#readme
6548

6649
##Step 3: Adding Your Page
6750

0 commit comments

Comments
 (0)